]> Savannah Git Hosting - gnulib.git/commitdiff
stdio: Fix "missing file" errors (regression from today).
authorBruno Haible <bruno@clisp.org>
Sun, 9 Jan 2022 23:12:38 +0000 (00:12 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 9 Jan 2022 23:12:38 +0000 (00:12 +0100)
* modules/stdio (Files): Add stdio-read.c, stdio-write.c.
* m4/stdio_h.m4 (gl_STDIO_H): Update comments.

ChangeLog
m4/stdio_h.m4
modules/stdio

index 49e529506698b037979098e37bbc4715b59b3582..514a4697c02d283792731243d1e0ae4199ef0ed0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-01-09  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        Use the GL_CFLAG_GNULIB_WARNINGS for most AC_LIBOBJ compilation units.
index 09f56be544429f5c0b5a80814058f7fba9a36a98..42e96071f8b361047286152bc18808ac7195e869 100644 (file)
@@ -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
index 105bc3506be5a7a3864342d760fb6cc62c0df6be..ff3a8d55af7556b516ef5bc44f2db4b508d5cdc7 100644 (file)
@@ -3,6 +3,8 @@ A GNU-like <stdio.h>.
 
 Files:
 lib/stdio.in.h
+lib/stdio-read.c
+lib/stdio-write.c
 m4/stdio_h.m4
 
 Depends-on: