summaryrefslogtreecommitdiff
path: root/m4/printf-posix-rpl.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-02-28 15:11:11 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-02-28 15:11:11 -0800
commitef05ce61b0e5354256e0096c7dc022bf09bbf1d3 (patch)
tree22626963ee3e88fd34ada8d00c019f21fef9290f /m4/printf-posix-rpl.m4
parent7a228db08cee2ccdde6bb6a9b0059a903677672e (diff)
downloadgnulib-ef05ce61b0e5354256e0096c7dc022bf09bbf1d3.tar.gz
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'.
Diffstat (limited to 'm4/printf-posix-rpl.m4')
-rw-r--r--m4/printf-posix-rpl.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/printf-posix-rpl.m4 b/m4/printf-posix-rpl.m4
index c57f92d1e1..b9f606d7b1 100644
--- a/m4/printf-posix-rpl.m4
+++ b/m4/printf-posix-rpl.m4
@@ -1,4 +1,4 @@
-# printf-posix-rpl.m4 serial 3
+# printf-posix-rpl.m4 serial 4
dnl Copyright (C) 2007-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -15,6 +15,7 @@ AC_DEFUN([gl_FUNC_PRINTF_POSIX],
AC_DEFUN([gl_REPLACE_PRINTF],
[
AC_REQUIRE([gl_STDIO_H_DEFAULTS])
+ AC_REQUIRE([gl_ASM_SYMBOL_PREFIX])
AC_LIBOBJ([printf])
REPLACE_PRINTF=1
AC_DEFINE([REPLACE_PRINTF_POSIX], [1],