summaryrefslogtreecommitdiff
path: root/m4/getloadavg.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-09-14 23:41:59 +0200
committerBruno Haible <bruno@clisp.org>2011-09-14 23:41:59 +0200
commitd959bf1ca51cddcd5810a1be44e3391c8965dd59 (patch)
treefa991f841c740b28ccc5d51d45c7a78bfdebb1c1 /m4/getloadavg.m4
parent6c9a77897ffc9323910cfdb25bf32dae44adbb53 (diff)
downloadgnulib-d959bf1ca51cddcd5810a1be44e3391c8965dd59.tar.gz
Properly quote AC_CHECK_DECL's 4th argument.
* m4/acosl.m4 (gl_FUNC_ACOSL): Double-quote AC_CHECK_DECL's 4th argument. * m4/argp.m4 (gl_ARGP): Likewise. * m4/asinl.m4 (gl_FUNC_ASINL): Likewise. * m4/atanl.m4 (gl_FUNC_ATANL): Likewise. * m4/cosl.m4 (gl_FUNC_COSL): Likewise. * m4/expl.m4 (gl_FUNC_EXPL): Likewise. * m4/frexpl.m4 (gl_FUNC_FREXPL, gl_FUNC_FREXPL_NO_LIBM): Likewise. * m4/getloadavg.m4 (gl_GETLOADAVG): Likewise. * m4/ldexpl.m4 (gl_FUNC_LDEXPL): Likewise. * m4/logl.m4 (gl_FUNC_LOGL): Likewise. * m4/printf-frexpl.m4 (gl_FUNC_PRINTF_FREXPL): Likewise. * m4/sinl.m4 (gl_FUNC_SINL): Likewise. * m4/sqrtl.m4 (gl_FUNC_SQRTL): Likewise. * m4/tanl.m4 (gl_FUNC_TANL): Likewise. Reported by Eric Blake.
Diffstat (limited to 'm4/getloadavg.m4')
-rw-r--r--m4/getloadavg.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/m4/getloadavg.m4 b/m4/getloadavg.m4
index b75e05fa05..b16f40de0a 100644
--- a/m4/getloadavg.m4
+++ b/m4/getloadavg.m4
@@ -7,7 +7,7 @@
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-#serial 4
+#serial 5
# Autoconf defines AC_FUNC_GETLOADAVG, but that is obsolescent.
# New applications should use gl_GETLOADAVG instead.
@@ -91,10 +91,10 @@ else
HAVE_SYS_LOADAVG_H=0
fi
AC_CHECK_DECL([getloadavg], [], [HAVE_DECL_GETLOADAVG=0],
- [#if HAVE_SYS_LOADAVG_H
- # include <sys/loadavg.h>
- #endif
- #include <stdlib.h>])
+ [[#if HAVE_SYS_LOADAVG_H
+ # include <sys/loadavg.h>
+ #endif
+ #include <stdlib.h>]])
])# gl_GETLOADAVG