summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-01-09 15:40:18 +0100
committerBruno Haible <bruno@clisp.org>2022-01-09 15:40:18 +0100
commitff028b4093b396029978a39d30137ab5ac91926f (patch)
tree917f8541b609ebcef788ced98aab41baefc31370 /modules
parentaf976e7799ddeabba5e2ec18dcb2339c8b11f5a7 (diff)
downloadgnulib-ff028b4093b396029978a39d30137ab5ac91926f.tar.gz
stdio: Move AC_LIBOBJ invocations to the module description.
* m4/stdio_h.m4 (gl_STDIO_H): Don't invoke AC_LIBOBJ. * modules/stdio (configure.ac): Invoke AC_LIBOBJ here.
Diffstat (limited to 'modules')
-rw-r--r--modules/stdio6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/stdio b/modules/stdio
index 0f250558dc..61b89e0c86 100644
--- a/modules/stdio
+++ b/modules/stdio
@@ -20,6 +20,12 @@ configure.ac:
gl_STDIO_H
gl_STDIO_H_REQUIRE_DEFAULTS
AC_PROG_MKDIR_P
+if test $REPLACE_STDIO_READ_FUNCS = 1; then
+ AC_LIBOBJ([stdio-read])
+fi
+if test $REPLACE_STDIO_WRITE_FUNCS = 1; then
+ AC_LIBOBJ([stdio-write])
+fi
dnl No need to create extra modules for these functions. Everyone who uses
dnl <stdio.h> likely needs them.