From ef05ce61b0e5354256e0096c7dc022bf09bbf1d3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 28 Feb 2011 15:11:11 -0800 Subject: stdio: simplify by moving files to printf-posix, sigpipe * m4/stdio_h.m4 (gl_STDIO_H): Do not require gl_ASM_SYMBOL_PREFIX, since this symbol is needed only if printf is replaced. * m4/printf-posix-rpl.m4 (gl_REPLACE_PRINTF): Require gl_ASM_SYMBOL_PREFIX. * modules/printf-posix (Files): Add m4/asm-underscore.m4. * modules/sigpipe (Files): Likewise. Also, add m4/stdio-write.c. (Depends-on): Add 'raise'. (configure.ac): Require gl_ASM_SYMBOL_PREFIX. * modules/stdio (Files): Remove lib/stdio-write.c, m4/asm-underscore.m4. (Depends-on): Remove 'raise'. --- modules/sigpipe | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/sigpipe') diff --git a/modules/sigpipe b/modules/sigpipe index 99e3e9e165..4f03c9e14a 100644 --- a/modules/sigpipe +++ b/modules/sigpipe @@ -8,8 +8,11 @@ have side effects on the compilation of the main modules in lib/. Files: m4/sigpipe.m4 +lib/stdio-write.c +m4/asm-underscore.m4 Depends-on: +raise signal sigprocmask stdio @@ -24,6 +27,7 @@ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) GNULIB_SIGNAL_H_SIGPIPE=1 dnl Define the substituted variable GNULIB_STDIO_H_SIGPIPE to 1. AC_REQUIRE([gl_STDIO_H_DEFAULTS]) +AC_REQUIRE([gl_ASM_SYMBOL_PREFIX]) GNULIB_STDIO_H_SIGPIPE=1 dnl Define the substituted variable GNULIB_UNISTD_H_SIGPIPE to 1. AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) -- cgit v1.2.1