]> Savannah Git Hosting - gnulib.git/commitdiff
Properly quote AC_CHECK_DECLS' 4th argument.
authorBruno Haible <bruno@clisp.org>
Wed, 14 Sep 2011 22:23:57 +0000 (00:23 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 14 Sep 2011 22:23:57 +0000 (00:23 +0200)
* m4/c-stack.m4 (gl_PREREQ_C_STACK): Double-quote AC_CHECK_DECLS' 4th
argument.
* m4/ceilf.m4 (gl_FUNC_CEILF): Likewise.
* m4/ceill.m4 (gl_FUNC_CEILL): Likewise.
* m4/dirfd.m4 (gl_FUNC_DIRFD): Likewise.
* m4/floorf.m4 (gl_FUNC_FLOORF): Likewise.
* m4/floorl.m4 (gl_FUNC_FLOORL): Likewise.
* m4/fnmatch.m4 (gl_PREREQ_FNMATCH): Likewise.
* m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Likewise.
* m4/getdomainname.m4 (gl_FUNC_GETDOMAINNAME): Likewise.
* m4/gethrxtime.m4 (gl_GETHRXTIME): Likewise.
* m4/getpass.m4 (gl_PREREQ_GETPASS): Likewise.
* m4/inet_ntop.m4 (gl_FUNC_INET_NTOP): Likewise.
* m4/inet_pton.m4 (gl_FUNC_INET_PTON): Likewise.
* m4/isfinite.m4 (gl_ISFINITE): Likewise.
* m4/isinf.m4 (gl_ISINF): Likewise.
* m4/logb.m4 (gl_FUNC_LOGB): Likewise.
* m4/readutmp.m4 (gl_READUTMP): Likewise.
* m4/regex.m4 (gl_PREREQ_REGEX): Likewise.
* m4/round.m4 (gl_FUNC_ROUND): Likewise.
* m4/roundf.m4 (gl_FUNC_ROUNDF): Likewise.
* m4/roundl.m4 (gl_FUNC_ROUNDL): Likewise.
* m4/signbit.m4 (gl_SIGNBIT): Likewise.
* m4/sleep.m4 (gl_FUNC_SLEEP): Likewise.
* m4/strsignal.m4 (gl_PREREQ_STRSIGNAL): Likewise.
* m4/trunc.m4 (gl_FUNC_TRUNC): Likewise.
* m4/truncf.m4 (gl_FUNC_TRUNCF): Likewise.
* m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise.
* m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Likewise.
* m4/wctob.m4 (gl_FUNC_WCTOB): Likewise.
* m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise.
Reported by Eric Blake.

31 files changed:
ChangeLog
m4/c-stack.m4
m4/ceilf.m4
m4/ceill.m4
m4/dirfd.m4
m4/floorf.m4
m4/floorl.m4
m4/fnmatch.m4
m4/getaddrinfo.m4
m4/getdomainname.m4
m4/gethrxtime.m4
m4/getpass.m4
m4/inet_ntop.m4
m4/inet_pton.m4
m4/isfinite.m4
m4/isinf.m4
m4/logb.m4
m4/readutmp.m4
m4/regex.m4
m4/round.m4
m4/roundf.m4
m4/roundl.m4
m4/signbit.m4
m4/sleep.m4
m4/strsignal.m4
m4/trunc.m4
m4/truncf.m4
m4/truncl.m4
m4/vasnprintf.m4
m4/wctob.m4
m4/wcwidth.m4

index db6e5593e143b67d033686559a919b223d815c62..7ea82f9768b3fef67bb69ad7779c9efc2d72d50b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,39 @@
 2011-09-14  Bruno Haible  <bruno@clisp.org>
 
+       Properly quote AC_CHECK_DECLS' 4th argument.
+       * m4/c-stack.m4 (gl_PREREQ_C_STACK): Double-quote AC_CHECK_DECLS' 4th
+       argument.
+       * m4/ceilf.m4 (gl_FUNC_CEILF): Likewise.
+       * m4/ceill.m4 (gl_FUNC_CEILL): Likewise.
+       * m4/dirfd.m4 (gl_FUNC_DIRFD): Likewise.
+       * m4/floorf.m4 (gl_FUNC_FLOORF): Likewise.
+       * m4/floorl.m4 (gl_FUNC_FLOORL): Likewise.
+       * m4/fnmatch.m4 (gl_PREREQ_FNMATCH): Likewise.
+       * m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Likewise.
+       * m4/getdomainname.m4 (gl_FUNC_GETDOMAINNAME): Likewise.
+       * m4/gethrxtime.m4 (gl_GETHRXTIME): Likewise.
+       * m4/getpass.m4 (gl_PREREQ_GETPASS): Likewise.
+       * m4/inet_ntop.m4 (gl_FUNC_INET_NTOP): Likewise.
+       * m4/inet_pton.m4 (gl_FUNC_INET_PTON): Likewise.
+       * m4/isfinite.m4 (gl_ISFINITE): Likewise.
+       * m4/isinf.m4 (gl_ISINF): Likewise.
+       * m4/logb.m4 (gl_FUNC_LOGB): Likewise.
+       * m4/readutmp.m4 (gl_READUTMP): Likewise.
+       * m4/regex.m4 (gl_PREREQ_REGEX): Likewise.
+       * m4/round.m4 (gl_FUNC_ROUND): Likewise.
+       * m4/roundf.m4 (gl_FUNC_ROUNDF): Likewise.
+       * m4/roundl.m4 (gl_FUNC_ROUNDL): Likewise.
+       * m4/signbit.m4 (gl_SIGNBIT): Likewise.
+       * m4/sleep.m4 (gl_FUNC_SLEEP): Likewise.
+       * m4/strsignal.m4 (gl_PREREQ_STRSIGNAL): Likewise.
+       * m4/trunc.m4 (gl_FUNC_TRUNC): Likewise.
+       * m4/truncf.m4 (gl_FUNC_TRUNCF): Likewise.
+       * m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise.
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Likewise.
+       * m4/wctob.m4 (gl_FUNC_WCTOB): Likewise.
+       * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise.
+       Reported by Eric Blake.
+
        Properly quote AC_CHECK_DECL's 4th argument.
        * m4/acosl.m4 (gl_FUNC_ACOSL): Double-quote AC_CHECK_DECL's 4th
        argument.
index 8d34048e4e56754b7089a09daecd4cb2bebcc165..e8917e6ad6872001b9581e4d35a18a614ea9763d 100644 (file)
@@ -7,7 +7,7 @@
 
 # Written by Paul Eggert.
 
-# serial 13
+# serial 14
 
 AC_DEFUN([AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC],
   [
@@ -338,7 +338,7 @@ AC_DEFUN([gl_PREREQ_C_STACK],
    AC_REQUIRE([AC_FUNC_ALLOCA])
 
    AC_CHECK_FUNCS_ONCE([sigaltstack])
-   AC_CHECK_DECLS([sigaltstack], , , [#include <signal.h>])
+   AC_CHECK_DECLS([sigaltstack], , , [[#include <signal.h>]])
 
    AC_CHECK_HEADERS_ONCE([unistd.h ucontext.h])
 
index 8b74a6d24e0d39577c0a9b9ff721f8bb8fe38dfa..59f52f5b074d6b94ecc44165144ccf296afbd41e 100644 (file)
@@ -1,4 +1,4 @@
-# ceilf.m4 serial 11
+# ceilf.m4 serial 12
 dnl Copyright (C) 2007, 2009-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,
@@ -11,7 +11,7 @@ AC_DEFUN([gl_FUNC_CEILF],
   dnl Persuade glibc <math.h> to declare ceilf().
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
   dnl Test whether ceilf() is declared.
-  AC_CHECK_DECLS([ceilf], , , [#include <math.h>])
+  AC_CHECK_DECLS([ceilf], , , [[#include <math.h>]])
   if test "$ac_cv_have_decl_ceilf" = yes; then
     dnl Test whether ceilf() can be used without libm.
     gl_FUNC_CEILF_LIBS
index 6b56820926e3a4366c7c485c05bff2d2a8e2751b..40adaf12f183859ed5f5deba467572103a4821ee 100644 (file)
@@ -1,4 +1,4 @@
-# ceill.m4 serial 10
+# ceill.m4 serial 11
 dnl Copyright (C) 2007, 2009-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,
@@ -11,7 +11,7 @@ AC_DEFUN([gl_FUNC_CEILL],
   dnl Persuade glibc <math.h> to declare ceill().
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
   dnl Test whether ceill() is declared.
-  AC_CHECK_DECLS([ceill], , , [#include <math.h>])
+  AC_CHECK_DECLS([ceill], , , [[#include <math.h>]])
   if test "$ac_cv_have_decl_ceill" = yes; then
     dnl Test whether ceill() can be used without libm.
     gl_FUNC_CEILL_LIBS
index 62dcd8830af0aef5cc7c2e49f5c6edc91b241270..ea75e4e7abade22def23473a83cc505ca32e35d4 100644 (file)
@@ -1,4 +1,4 @@
-# serial 21   -*- Autoconf -*-
+# serial 22   -*- Autoconf -*-
 
 dnl Find out how to get the file descriptor associated with an open DIR*.
 
@@ -18,8 +18,8 @@ AC_DEFUN([gl_FUNC_DIRFD],
 
   AC_CHECK_FUNCS([dirfd])
   AC_CHECK_DECLS([dirfd], , ,
-    [#include <sys/types.h>
-     #include <dirent.h>])
+    [[#include <sys/types.h>
+      #include <dirent.h>]])
   if test $ac_cv_have_decl_dirfd = no; then
     HAVE_DECL_DIRFD=0
   fi
index aa76f8cae20e323285e2e8862e41834db5f7678e..83bfc78bc59c5ed9f57fa3e09da0d729ebae9706 100644 (file)
@@ -1,4 +1,4 @@
-# floorf.m4 serial 10
+# floorf.m4 serial 11
 dnl Copyright (C) 2007, 2009-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,
@@ -11,7 +11,7 @@ AC_DEFUN([gl_FUNC_FLOORF],
   dnl Persuade glibc <math.h> to declare floorf().
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
   dnl Test whether floorf() is declared.
-  AC_CHECK_DECLS([floorf], , , [#include <math.h>])
+  AC_CHECK_DECLS([floorf], , , [[#include <math.h>]])
   if test "$ac_cv_have_decl_floorf" = yes; then
     dnl Test whether floorf() can be used without libm.
     gl_FUNC_FLOORF_LIBS
index f21285d24ee3ed9ef5ebbd71339f69b4c3985616..5a20b8b8cbd92d1c131426d51143eeb4f8daeae1 100644 (file)
@@ -1,4 +1,4 @@
-# floorl.m4 serial 8
+# floorl.m4 serial 9
 dnl Copyright (C) 2007, 2009-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,
@@ -10,7 +10,7 @@ AC_DEFUN([gl_FUNC_FLOORL],
   dnl Persuade glibc <math.h> to declare floorl().
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
   dnl Test whether floorl() is declared.
-  AC_CHECK_DECLS([floorl], , , [#include <math.h>])
+  AC_CHECK_DECLS([floorl], , , [[#include <math.h>]])
   if test "$ac_cv_have_decl_floorl" = yes; then
     dnl Test whether floorl() can be used without libm.
     gl_FUNC_FLOORL_LIBS
index 22ba35cf1598a36fe566e43beb4d0b4b071f2512..150fefe6b896d06f4df8eb8f3ad297cdc58f07f1 100644 (file)
@@ -1,4 +1,4 @@
-# Check for fnmatch - serial 7.
+# Check for fnmatch - serial 8.
 
 # Copyright (C) 2000-2007, 2009-2011 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
@@ -150,7 +150,7 @@ AC_DEFUN([gl_PREREQ_FNMATCH],
     [Define to a replacement function name for fnmatch().])
   dnl Prerequisites of lib/fnmatch.c.
   AC_REQUIRE([AC_TYPE_MBSTATE_T])
-  AC_CHECK_DECLS([isblank], [], [], [#include <ctype.h>])
+  AC_CHECK_DECLS([isblank], [], [], [[#include <ctype.h>]])
   AC_CHECK_FUNCS_ONCE([btowc isblank iswctype mbsrtowcs mempcpy wmemchr wmemcpy wmempcpy])
   AC_CHECK_HEADERS_ONCE([wctype.h])
 ])
index fe8d14f1ef92946a155a2770cf48e901d0802094..962e6e8e33564adc1dafe45c1878fee29e510a73 100644 (file)
@@ -1,4 +1,4 @@
-# getaddrinfo.m4 serial 28
+# getaddrinfo.m4 serial 29
 dnl Copyright (C) 2004-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,
@@ -146,7 +146,7 @@ AC_DEFUN([gl_PREREQ_GETADDRINFO], [
 
   AC_CHECK_HEADERS_ONCE([netinet/in.h])
 
-  AC_CHECK_DECLS([getaddrinfo, freeaddrinfo, getnameinfo],,,[
+  AC_CHECK_DECLS([getaddrinfo, freeaddrinfo, getnameinfo],,,[[
   /* sys/types.h is not needed according to POSIX, but the
      sys/socket.h in i386-unknown-freebsd4.10 and
      powerpc-apple-darwin5.5 required it. */
@@ -160,7 +160,7 @@ AC_DEFUN([gl_PREREQ_GETADDRINFO], [
 #ifdef HAVE_WS2TCPIP_H
 #include <ws2tcpip.h>
 #endif
-])
+]])
   if test $ac_cv_have_decl_getaddrinfo = no; then
     HAVE_DECL_GETADDRINFO=0
   fi
index 542e4cead44e65459883b06e886a37d884c30dcc..07b60a6805afa6ac32099e6b1098bea537ff86aa 100644 (file)
@@ -1,4 +1,4 @@
-# getdomainname.m4 serial 8
+# getdomainname.m4 serial 9
 dnl Copyright (C) 2002-2003, 2008-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,
@@ -45,15 +45,15 @@ AC_DEFUN([gl_FUNC_GETDOMAINNAME],
   dnl - It's  int getdomainname(char *, int)  on MacOS X, FreeBSD, AIX, IRIX,
   dnl   OSF/1.
   AC_CHECK_DECLS([getdomainname], , ,
-    [#include <sys/types.h>
-     #ifdef HAVE_SYS_SOCKET_H
-     #include <sys/socket.h>
-     #endif
-     #ifdef HAVE_NETDB_H
-     #include <netdb.h>
-     #endif
-     #include <unistd.h>
-    ])
+    [[#include <sys/types.h>
+      #ifdef HAVE_SYS_SOCKET_H
+      #include <sys/socket.h>
+      #endif
+      #ifdef HAVE_NETDB_H
+      #include <netdb.h>
+      #endif
+      #include <unistd.h>
+    ]])
   AC_CACHE_CHECK([for getdomainname's second argument type],
     [gl_cv_decl_getdomainname_argtype2],
     [if test $ac_cv_have_decl_getdomainname; then
index 76979c1c339e4711235f26e54930541bd86fd0ba..4d1530aa976630ac233fb28d8539b15be954eae8 100644 (file)
@@ -1,4 +1,4 @@
-# gethrxtime.m4 serial 10
+# gethrxtime.m4 serial 11
 dnl Copyright (C) 2005-2006, 2008-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,
@@ -11,7 +11,7 @@ AC_DEFUN([gl_GETHRXTIME],
   AC_REQUIRE([gl_ARITHMETIC_HRTIME_T])
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
   AC_REQUIRE([gl_XTIME])
-  AC_CHECK_DECLS([gethrtime], [], [], [#include <time.h>])
+  AC_CHECK_DECLS([gethrtime], [], [], [[#include <time.h>]])
   LIB_GETHRXTIME=
   if test $ac_cv_have_decl_gethrtime = no \
      || test $gl_cv_arithmetic_hrtime_t = no; then
index 64cee1ea87462ffbc71e0f440040c68c206d80d4..13e55f6832fcbe5ac9e5fbbb7f2809d3d41c44a6 100644 (file)
@@ -1,4 +1,4 @@
-# getpass.m4 serial 13
+# getpass.m4 serial 14
 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
@@ -45,10 +45,10 @@ AC_DEFUN([gl_PREREQ_GETPASS], [
   AC_CHECK_HEADERS_ONCE([stdio_ext.h termios.h])
   AC_CHECK_FUNCS_ONCE([__fsetlocking tcgetattr tcsetattr])
   AC_CHECK_DECLS([__fsetlocking],,,
-    [#include <stdio.h>
-     #if HAVE_STDIO_EXT_H
-      #include <stdio_ext.h>
-     #endif])
+    [[#include <stdio.h>
+      #if HAVE_STDIO_EXT_H
+       #include <stdio_ext.h>
+      #endif]])
   AC_CHECK_DECLS_ONCE([fflush_unlocked])
   AC_CHECK_DECLS_ONCE([flockfile])
   AC_CHECK_DECLS_ONCE([fputs_unlocked])
index 45be497be23343a05862f4cc6e3175f184aacd92..a9a901e9c4c6ff499e23d8b5fef3c1e11c2907b4 100644 (file)
@@ -1,4 +1,4 @@
-# inet_ntop.m4 serial 15
+# inet_ntop.m4 serial 16
 dnl Copyright (C) 2005-2006, 2008-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,
@@ -30,11 +30,11 @@ AC_DEFUN([gl_FUNC_INET_NTOP],
 
   AC_CHECK_HEADERS_ONCE([netdb.h])
   AC_CHECK_DECLS([inet_ntop],,,
-    [#include <arpa/inet.h>
-     #if HAVE_NETDB_H
-     # include <netdb.h>
-     #endif
-    ])
+    [[#include <arpa/inet.h>
+      #if HAVE_NETDB_H
+      # include <netdb.h>
+      #endif
+    ]])
   if test $ac_cv_have_decl_inet_ntop = no; then
     HAVE_DECL_INET_NTOP=0
     AC_REQUIRE([AC_C_RESTRICT])
index 9fc64df4e9bb947ca1d524bd7953d922977289bb..309f0d3d58b2cb41cc68a9f7394cdaf9e74d4e5d 100644 (file)
@@ -1,4 +1,4 @@
-# inet_pton.m4 serial 13
+# inet_pton.m4 serial 14
 dnl Copyright (C) 2006, 2008-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,
@@ -30,11 +30,11 @@ AC_DEFUN([gl_FUNC_INET_PTON],
 
   AC_CHECK_HEADERS_ONCE([netdb.h])
   AC_CHECK_DECLS([inet_pton],,,
-    [#include <arpa/inet.h>
-     #if HAVE_NETDB_H
-     # include <netdb.h>
-     #endif
-    ])
+    [[#include <arpa/inet.h>
+      #if HAVE_NETDB_H
+      # include <netdb.h>
+      #endif
+    ]])
   if test $ac_cv_have_decl_inet_pton = no; then
     HAVE_DECL_INET_PTON=0
     AC_REQUIRE([AC_C_RESTRICT])
index 72dbcc64595809222a9da32aa6177586f1dc7bfb..44cfcd44c589cc3b8f4879a96f74771f7c0e8100 100644 (file)
@@ -1,4 +1,4 @@
-# isfinite.m4 serial 10
+# isfinite.m4 serial 11
 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,
@@ -9,7 +9,7 @@ AC_DEFUN([gl_ISFINITE],
   AC_REQUIRE([gl_MATH_H_DEFAULTS])
   dnl Persuade glibc <math.h> to declare isfinite.
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
-  AC_CHECK_DECLS([isfinite], , , [#include <math.h>])
+  AC_CHECK_DECLS([isfinite], , , [[#include <math.h>]])
   if test "$ac_cv_have_decl_isfinite" = yes; then
     gl_CHECK_MATH_LIB([ISFINITE_LIBM],
      [x = isfinite (x) + isfinite ((float) x);])
index 145e37e669b39a8f23a5b1b62cb2b81c69ce7f43..d18f367da9b3d205a15def683f3441348379bf94 100644 (file)
@@ -1,4 +1,4 @@
-# isinf.m4 serial 5
+# isinf.m4 serial 6
 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,
@@ -9,7 +9,7 @@ AC_DEFUN([gl_ISINF],
   AC_REQUIRE([gl_MATH_H_DEFAULTS])
   dnl Persuade glibc <math.h> to declare isinf.
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
-  AC_CHECK_DECLS([isinf], , , [#include <math.h>])
+  AC_CHECK_DECLS([isinf], , , [[#include <math.h>]])
   if test "$ac_cv_have_decl_isinf" = yes; then
     gl_CHECK_MATH_LIB([ISINF_LIBM], [x = isinf (x) + isinf ((float) x);])
     if test "$ISINF_LIBM" != missing; then
index 972d38f7cef03ad61bf3c26dd08e905f831b255f..7d57baf6a42a9a85f87aef4fd73ad25b936eb94c 100644 (file)
@@ -1,4 +1,4 @@
-# logb.m4 serial 3
+# logb.m4 serial 4
 dnl Copyright (C) 2010-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,
@@ -8,7 +8,7 @@ AC_DEFUN([gl_FUNC_LOGB],
 [
   AC_REQUIRE([gl_MATH_H_DEFAULTS])
   dnl Test whether logb() is declared.
-  AC_CHECK_DECLS([logb], , , [#include <math.h>])
+  AC_CHECK_DECLS([logb], , , [[#include <math.h>]])
   if test "$ac_cv_have_decl_logb" != yes; then
     HAVE_DECL_LOGB=0
   fi
index 81b22ed277e62c224fd4cf84c078990a215193f8..8774b202586d6f65304cf7b85278a2d300196c91 100644 (file)
@@ -1,4 +1,4 @@
-# readutmp.m4 serial 18
+# readutmp.m4 serial 19
 dnl Copyright (C) 2002-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,
@@ -14,13 +14,13 @@ AC_DEFUN([gl_READUTMP],
     dnl Prerequisites of lib/readutmp.h and lib/readutmp.c.
     AC_REQUIRE([AC_C_INLINE])
     AC_CHECK_FUNCS_ONCE([utmpname utmpxname])
-    AC_CHECK_DECLS([getutent],,,[
+    AC_CHECK_DECLS([getutent],,,[[
 /* <sys/types.h> is a prerequisite of <utmp.h> on FreeBSD 8.0, OpenBSD 4.6.  */
 #include <sys/types.h>
 #ifdef HAVE_UTMP_H
 # include <utmp.h>
 #endif
-])
+]])
     utmp_includes="\
 AC_INCLUDES_DEFAULT
 #ifdef HAVE_UTMPX_H
index e48fab0e5438ae3760debb67be26d5701f27ff80..fa46253b4d88752fcb5ca217a94186cf8fe8f5b1 100644 (file)
@@ -1,4 +1,4 @@
-# serial 59
+# serial 60
 
 # Copyright (C) 1996-2001, 2003-2011 Free Software Foundation, Inc.
 #
@@ -219,5 +219,5 @@ AC_DEFUN([gl_PREREQ_REGEX],
   AC_REQUIRE([AC_TYPE_MBSTATE_T])
   AC_CHECK_HEADERS([libintl.h])
   AC_CHECK_FUNCS_ONCE([isblank iswctype wcscoll])
-  AC_CHECK_DECLS([isblank], [], [], [#include <ctype.h>])
+  AC_CHECK_DECLS([isblank], [], [], [[#include <ctype.h>]])
 ])
index 9f6691f41afc7e0d20da13c9da1eabe6fc7500ef..e64208ed9e41e53c4c4b42068189c4dd19b99bb5 100644 (file)
@@ -1,4 +1,4 @@
-# round.m4 serial 12
+# round.m4 serial 13
 dnl Copyright (C) 2007, 2009-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,
@@ -10,7 +10,7 @@ AC_DEFUN([gl_FUNC_ROUND],
   AC_REQUIRE([gl_MATH_H_DEFAULTS])
   dnl Persuade glibc <math.h> to declare round().
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
-  AC_CHECK_DECLS([round], , , [#include <math.h>])
+  AC_CHECK_DECLS([round], , , [[#include <math.h>]])
   if test "$ac_cv_have_decl_round" = yes; then
     gl_CHECK_MATH_LIB([ROUND_LIBM], [x = round (x);])
     if test "$ROUND_LIBM" != missing; then
index 9c21340cacc983cee1db398aca89aa69c1483cf6..f8e7f3e214014c71a4e960db2475ed1ca8414f4d 100644 (file)
@@ -1,4 +1,4 @@
-# roundf.m4 serial 13
+# roundf.m4 serial 14
 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,
@@ -10,7 +10,7 @@ AC_DEFUN([gl_FUNC_ROUNDF],
   AC_REQUIRE([gl_MATH_H_DEFAULTS])
   dnl Persuade glibc <math.h> to declare roundf().
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
-  AC_CHECK_DECLS([roundf], , , [#include <math.h>])
+  AC_CHECK_DECLS([roundf], , , [[#include <math.h>]])
   if test "$ac_cv_have_decl_roundf" = yes; then
     gl_CHECK_MATH_LIB([ROUNDF_LIBM], [x = roundf (x);])
     if test "$ROUNDF_LIBM" != missing; then
@@ -96,7 +96,7 @@ int main (int argc, char *argv[])
   fi
   if test $HAVE_DECL_ROUNDF = 0 || test $REPLACE_ROUNDF = 1; then
     dnl Find libraries needed to link lib/roundf.c.
-    AC_CHECK_DECLS([ceilf, floorf], , , [#include <math.h>])
+    AC_CHECK_DECLS([ceilf, floorf], , , [[#include <math.h>]])
     if test "$ac_cv_have_decl_floorf" = yes \
        && test "$ac_cv_have_decl_ceilf" = yes; then
       gl_FUNC_FLOORF_LIBS
index 9d0d381c72116bfb952f8d88edfd0b504b7ed485..eece9d7cb302ae4cdbfb4a602fedb80e3858f9b5 100644 (file)
@@ -1,4 +1,4 @@
-# roundl.m4 serial 11
+# roundl.m4 serial 12
 dnl Copyright (C) 2007, 2009-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,
@@ -10,7 +10,7 @@ AC_DEFUN([gl_FUNC_ROUNDL],
   AC_REQUIRE([gl_MATH_H_DEFAULTS])
   dnl Persuade glibc <math.h> to declare roundl().
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
-  AC_CHECK_DECLS([roundl], , , [#include <math.h>])
+  AC_CHECK_DECLS([roundl], , , [[#include <math.h>]])
   if test "$ac_cv_have_decl_roundl" = yes; then
     gl_CHECK_MATH_LIB([ROUNDL_LIBM], [x = roundl (x);])
     if test "$ROUNDL_LIBM" = missing; then
@@ -61,7 +61,7 @@ int main (int argc, char *argv[])
   fi
   if test $HAVE_DECL_ROUNDL = 0 || test $REPLACE_ROUNDL = 1; then
     dnl Find libraries needed to link lib/roundl.c.
-    AC_CHECK_DECLS([ceill, floorl], , , [#include <math.h>])
+    AC_CHECK_DECLS([ceill, floorl], , , [[#include <math.h>]])
     if test "$ac_cv_have_decl_floorl" = yes \
        && test "$ac_cv_have_decl_ceill" = yes; then
       gl_FUNC_FLOORL_LIBS
index 696a9b6e1dee05b43df6eecc43ff52ac181f3c8e..bbeb1f48c0b12f23820dd4368a48c0bdbd39c4be 100644 (file)
@@ -1,4 +1,4 @@
-# signbit.m4 serial 10
+# signbit.m4 serial 11
 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,
@@ -65,7 +65,7 @@ AC_DEFUN([gl_SIGNBIT],
       gl_LONG_DOUBLE_SIGN_LOCATION
       if test "$gl_cv_cc_float_signbit" = unknown; then
         dnl Test whether copysignf() is declared.
-        AC_CHECK_DECLS([copysignf], , , [#include <math.h>])
+        AC_CHECK_DECLS([copysignf], , , [[#include <math.h>]])
         if test "$ac_cv_have_decl_copysignf" = yes; then
           dnl Test whether copysignf() can be used without libm.
           AC_CACHE_CHECK([whether copysignf can be used without linking with libm],
@@ -87,7 +87,7 @@ AC_DEFUN([gl_SIGNBIT],
       fi
       if test "$gl_cv_cc_double_signbit" = unknown; then
         dnl Test whether copysign() is declared.
-        AC_CHECK_DECLS([copysign], , , [#include <math.h>])
+        AC_CHECK_DECLS([copysign], , , [[#include <math.h>]])
         if test "$ac_cv_have_decl_copysign" = yes; then
           dnl Test whether copysign() can be used without libm.
           AC_CACHE_CHECK([whether copysign can be used without linking with libm],
@@ -109,7 +109,7 @@ AC_DEFUN([gl_SIGNBIT],
       fi
       if test "$gl_cv_cc_long_double_signbit" = unknown; then
         dnl Test whether copysignl() is declared.
-        AC_CHECK_DECLS([copysignl], , , [#include <math.h>])
+        AC_CHECK_DECLS([copysignl], , , [[#include <math.h>]])
         if test "$ac_cv_have_decl_copysignl" = yes; then
           dnl Test whether copysignl() can be used without libm.
           AC_CACHE_CHECK([whether copysignl can be used without linking with libm],
index 37f19a9e4f26718b1dee56448dd234429dbfd6e3..74362e49b53be84b908aea16c0e178238810d5fe 100644 (file)
@@ -1,4 +1,4 @@
-# sleep.m4 serial 5
+# sleep.m4 serial 6
 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,
@@ -12,7 +12,7 @@ AC_DEFUN([gl_FUNC_SLEEP],
   dnl _sleep() in MSVCRT. It has a different signature than POSIX sleep():
   dnl it takes the number of milliseconds as argument and returns void.
   dnl mingw does not declare this function.
-  AC_CHECK_DECLS([sleep], , , [#include <unistd.h>])
+  AC_CHECK_DECLS([sleep], , , [[#include <unistd.h>]])
   AC_CHECK_FUNCS_ONCE([sleep])
   if test $ac_cv_have_decl_sleep != yes; then
     HAVE_SLEEP=0
index f5c70ef1c9e2440f94a3d59181de68931edcc32e..9c9c4110baff7254d0a50d6c4248e3837cf7256b 100644 (file)
@@ -1,4 +1,4 @@
-# strsignal.m4 serial 6
+# strsignal.m4 serial 7
 dnl Copyright (C) 2008-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,
@@ -54,5 +54,5 @@ AC_DEFUN([gl_FUNC_STRSIGNAL],
 # Prerequisites of lib/strsignal.c.
 AC_DEFUN([gl_PREREQ_STRSIGNAL], [
   AC_REQUIRE([AC_DECL_SYS_SIGLIST])
-  AC_CHECK_DECLS([_sys_siglist], [], [], [#include <signal.h>])
+  AC_CHECK_DECLS([_sys_siglist], [], [], [[#include <signal.h>]])
 ])
index 62311015b75136d401386c80c39d26e8f07cb581..e7a1af1eb176bdd387b669082f769a3184f2e825 100644 (file)
@@ -1,4 +1,4 @@
-# trunc.m4 serial 7
+# trunc.m4 serial 8
 dnl Copyright (C) 2007, 2010-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,
@@ -11,7 +11,7 @@ AC_DEFUN([gl_FUNC_TRUNC],
   dnl Persuade glibc <math.h> to declare trunc().
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
   dnl Test whether trunc() is declared.
-  AC_CHECK_DECLS([trunc], , , [#include <math.h>])
+  AC_CHECK_DECLS([trunc], , , [[#include <math.h>]])
   if test "$ac_cv_have_decl_trunc" = yes; then
     dnl Test whether trunc() can be used without libm.
     TRUNC_LIBM=?
index 67f8bb6b05341890a052846e6e4a32f14774c677..346f0c8bb19d4c7388955bcbdb1a73c6b0a5bfb2 100644 (file)
@@ -1,4 +1,4 @@
-# truncf.m4 serial 6
+# truncf.m4 serial 8
 dnl Copyright (C) 2007, 2010-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,
@@ -11,7 +11,7 @@ AC_DEFUN([gl_FUNC_TRUNCF],
   dnl Persuade glibc <math.h> to declare truncf().
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
   dnl Test whether truncf() is declared.
-  AC_CHECK_DECLS([truncf], , , [#include <math.h>])
+  AC_CHECK_DECLS([truncf], , , [[#include <math.h>]])
   if test "$ac_cv_have_decl_truncf" = yes; then
     dnl Test whether truncf() can be used without libm.
     TRUNCF_LIBM=?
index c594236afbd504a6810723c7cf336bcd22bcc590..e6110c33f69527de65d2829cc2b8f3c0aec85a43 100644 (file)
@@ -1,4 +1,4 @@
-# truncl.m4 serial 8
+# truncl.m4 serial 9
 dnl Copyright (C) 2007-2008, 2010-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,
@@ -12,7 +12,7 @@ AC_DEFUN([gl_FUNC_TRUNCL],
   dnl Persuade glibc <math.h> to declare truncl().
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
   dnl Test whether truncl() is declared.
-  AC_CHECK_DECLS([truncl], , , [#include <math.h>])
+  AC_CHECK_DECLS([truncl], , , [[#include <math.h>]])
   if test "$ac_cv_have_decl_truncl" = yes; then
     dnl Test whether truncl() can be used without libm.
     TRUNCL_LIBM=?
index 32ea985b3f44a8dc429bddb431fc0c067b4c56f7..749d708d9e91c40c0bd38905f45269d164f81810 100644 (file)
@@ -1,4 +1,4 @@
-# vasnprintf.m4 serial 32
+# vasnprintf.m4 serial 33
 dnl Copyright (C) 2002-2004, 2006-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,
@@ -63,7 +63,7 @@ AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF],
   AC_CHECK_FUNCS([snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb])
   dnl Use the _snprintf function only if it is declared (because on NetBSD it
   dnl is defined as a weak alias of snprintf; we prefer to use the latter).
-  AC_CHECK_DECLS([_snprintf], , , [#include <stdio.h>])
+  AC_CHECK_DECLS([_snprintf], , , [[#include <stdio.h>]])
   dnl We can avoid a lot of code by assuming that snprintf's return value
   dnl conforms to ISO C99. So check that.
   AC_REQUIRE([gl_SNPRINTF_RETVAL_C99])
index 8175d00e3357e12403b203d584cf3cc7cb71d693..85cc6201b75d26110089719d48c2380f6d67c06b 100644 (file)
@@ -1,4 +1,4 @@
-# wctob.m4 serial 9
+# wctob.m4 serial 10
 dnl Copyright (C) 2008-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,
@@ -104,7 +104,7 @@ int main ()
     if test $REPLACE_WCTOB = 0; then
 
       dnl IRIX 6.5 has the wctob() function but does not declare it.
-      AC_CHECK_DECLS([wctob], [], [], [
+      AC_CHECK_DECLS([wctob], [], [], [[
 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
    <wchar.h>.
    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
@@ -113,7 +113,7 @@ int main ()
 #include <stdio.h>
 #include <time.h>
 #include <wchar.h>
-])
+]])
       if test $ac_cv_have_decl_wctob != yes; then
         HAVE_DECL_WCTOB=0
       fi
index 8a97e3891679ae4e247a0c0cc7303edf1202f490..5d4081397b5d904323248cd33b612dd1b87a5c63 100644 (file)
@@ -1,4 +1,4 @@
-# wcwidth.m4 serial 20
+# wcwidth.m4 serial 21
 dnl Copyright (C) 2006-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,
@@ -18,7 +18,7 @@ AC_DEFUN([gl_FUNC_WCWIDTH],
   AC_CHECK_HEADERS_ONCE([wchar.h])
   AC_CHECK_FUNCS_ONCE([wcwidth])
 
-  AC_CHECK_DECLS([wcwidth], [], [], [
+  AC_CHECK_DECLS([wcwidth], [], [], [[
 /* AIX 3.2.5 declares wcwidth in <string.h>. */
 #include <string.h>
 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
@@ -29,7 +29,7 @@ AC_DEFUN([gl_FUNC_WCWIDTH],
 #include <stdio.h>
 #include <time.h>
 #include <wchar.h>
-])
+]])
   if test $ac_cv_have_decl_wcwidth != yes; then
     HAVE_DECL_WCWIDTH=0
   fi