From: Bruno Haible Date: Sun, 9 Jan 2022 23:12:38 +0000 (+0100) Subject: stdio: Fix "missing file" errors (regression from today). X-Git-Tag: v1.0~2405 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=123b54fb9b11d21df47324b762160bc0ed8e02d5;p=gnulib.git stdio: Fix "missing file" errors (regression from today). * modules/stdio (Files): Add stdio-read.c, stdio-write.c. * m4/stdio_h.m4 (gl_STDIO_H): Update comments. --- diff --git a/ChangeLog b/ChangeLog index 49e5295066..514a4697c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2022-01-09 Bruno Haible + + stdio: Fix "missing file" errors (regression from today). + * modules/stdio (Files): Add stdio-read.c, stdio-write.c. + * m4/stdio_h.m4 (gl_STDIO_H): Update comments. + 2022-01-09 Bruno Haible Use the GL_CFLAG_GNULIB_WARNINGS for most AC_LIBOBJ compilation units. diff --git a/m4/stdio_h.m4 b/m4/stdio_h.m4 index 09f56be544..42e96071f8 100644 --- a/m4/stdio_h.m4 +++ b/m4/stdio_h.m4 @@ -1,4 +1,4 @@ -# stdio_h.m4 serial 58 +# stdio_h.m4 serial 59 dnl Copyright (C) 2007-2022 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -40,11 +40,9 @@ AC_DEFUN_ONCE([gl_STDIO_H], attribute "__gnu_printf__" instead of "__printf__"]) fi - dnl This ifdef is necessary to avoid an error "missing file lib/stdio-read.c" - dnl "expected source file, required through AC_LIBSOURCES, not found". It is - dnl also an optimization, to avoid performing a configure check whose result - dnl is not used. But it does not make the test of GNULIB_STDIO_H_NONBLOCKING - dnl or GNULIB_NONBLOCKING redundant. + dnl This ifdef is an optimization, to avoid performing a configure check whose + dnl result is not used. But it does not make the test of + dnl GNULIB_STDIO_H_NONBLOCKING or GNULIB_NONBLOCKING redundant. m4_ifdef([gl_NONBLOCKING_IO], [ gl_NONBLOCKING_IO if test $gl_cv_have_nonblocking != yes; then @@ -52,22 +50,18 @@ AC_DEFUN_ONCE([gl_STDIO_H], fi ]) - dnl This ifdef is necessary to avoid an error "missing file lib/stdio-write.c" - dnl "expected source file, required through AC_LIBSOURCES, not found". It is - dnl also an optimization, to avoid performing a configure check whose result - dnl is not used. But it does not make the test of GNULIB_STDIO_H_SIGPIPE or - dnl GNULIB_SIGPIPE redundant. + dnl This ifdef is an optimization, to avoid performing a configure check whose + dnl result is not used. But it does not make the test of + dnl GNULIB_STDIO_H_SIGPIPE or GNULIB_SIGPIPE redundant. m4_ifdef([gl_SIGNAL_SIGPIPE], [ gl_SIGNAL_SIGPIPE if test $gl_cv_header_signal_h_SIGPIPE != yes; then REPLACE_STDIO_WRITE_FUNCS=1 fi ]) - dnl This ifdef is necessary to avoid an error "missing file lib/stdio-write.c" - dnl "expected source file, required through AC_LIBSOURCES, not found". It is - dnl also an optimization, to avoid performing a configure check whose result - dnl is not used. But it does not make the test of GNULIB_STDIO_H_NONBLOCKING - dnl or GNULIB_NONBLOCKING redundant. + dnl This ifdef is an optimization, to avoid performing a configure check whose + dnl result is not used. But it does not make the test of + dnl GNULIB_STDIO_H_NONBLOCKING or GNULIB_NONBLOCKING redundant. m4_ifdef([gl_NONBLOCKING_IO], [ gl_NONBLOCKING_IO if test $gl_cv_have_nonblocking != yes; then diff --git a/modules/stdio b/modules/stdio index 105bc3506b..ff3a8d55af 100644 --- a/modules/stdio +++ b/modules/stdio @@ -3,6 +3,8 @@ A GNU-like . Files: lib/stdio.in.h +lib/stdio-read.c +lib/stdio-write.c m4/stdio_h.m4 Depends-on: