summaryrefslogtreecommitdiff
path: root/m4/unlocked-io.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-04-20 22:28:33 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-04-20 22:28:33 +0000
commit997f5bfa12cec90a7dab44a46eb5278a2ef519ed (patch)
tree27e7730ec64ae6e871b8d9145f831c4e5b17aa22 /m4/unlocked-io.m4
parent8e3c97a52a631cf515718e8e50394afded5c94dd (diff)
downloadgnulib-997f5bfa12cec90a7dab44a46eb5278a2ef519ed.tar.gz
* argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
one argument, so that the code will be portable to Autoconf 2.60. * getlogin_r.m4 (gl_PREREQ_GETLOGIN_R): Likewise. * getpass.m4 (gl_PREREQ_GETPASS): Likewise. * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
Diffstat (limited to 'm4/unlocked-io.m4')
-rw-r--r--m4/unlocked-io.m424
1 files changed, 16 insertions, 8 deletions
diff --git a/m4/unlocked-io.m4 b/m4/unlocked-io.m4
index 6cbacb0039..f58e960156 100644
--- a/m4/unlocked-io.m4
+++ b/m4/unlocked-io.m4
@@ -1,7 +1,7 @@
-# unlocked-io.m4 serial 12
+# unlocked-io.m4 serial 13
-# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software
-# Foundation, Inc.
+# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -28,9 +28,17 @@ AC_DEFUN([gl_FUNC_GLIBC_UNLOCKED_IO],
dnl fgets_unlocked(), fputs_unlocked() etc.
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
- AC_CHECK_DECLS_ONCE(
- [clearerr_unlocked feof_unlocked ferror_unlocked
- fflush_unlocked fgets_unlocked fputc_unlocked fputs_unlocked
- fread_unlocked fwrite_unlocked getc_unlocked
- getchar_unlocked putc_unlocked putchar_unlocked])
+ AC_CHECK_DECLS_ONCE([clearerr_unlocked])
+ AC_CHECK_DECLS_ONCE([feof_unlocked])
+ AC_CHECK_DECLS_ONCE([ferror_unlocked])
+ AC_CHECK_DECLS_ONCE([fflush_unlocked])
+ AC_CHECK_DECLS_ONCE([fgets_unlocked])
+ AC_CHECK_DECLS_ONCE([fputc_unlocked])
+ AC_CHECK_DECLS_ONCE([fputs_unlocked])
+ AC_CHECK_DECLS_ONCE([fread_unlocked])
+ AC_CHECK_DECLS_ONCE([fwrite_unlocked])
+ AC_CHECK_DECLS_ONCE([getc_unlocked])
+ AC_CHECK_DECLS_ONCE([getchar_unlocked])
+ AC_CHECK_DECLS_ONCE([putc_unlocked])
+ AC_CHECK_DECLS_ONCE([putchar_unlocked])
])