summaryrefslogtreecommitdiff
path: root/m4/warn-on-use.m4
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-03-18 20:34:01 +0100
committerLudovic Courtès <ludo@gnu.org>2010-03-18 20:41:01 +0100
commitf4c79b3c08b4b16f504a049b2ef14a238e94508f (patch)
tree54f859757b8693eb80ebfa23d444d9525053dd51 /m4/warn-on-use.m4
parent54eb59cf4948482461e41f73c0a5b1f9c7081326 (diff)
downloadguile-f4c79b3c08b4b16f504a049b2ef14a238e94508f.tar.gz
Update Gnulib; use the `func' module.
Update Gnulib to v0.0-3575-g128e4b8. * m4/gnulib-cache.m4: Add `func'.
Diffstat (limited to 'm4/warn-on-use.m4')
-rw-r--r--m4/warn-on-use.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/warn-on-use.m4 b/m4/warn-on-use.m4
index ab46422ba..42daae87b 100644
--- a/m4/warn-on-use.m4
+++ b/m4/warn-on-use.m4
@@ -1,4 +1,4 @@
-# warn-on-use.m4 serial 1
+# warn-on-use.m4 serial 2
dnl Copyright (C) 2010 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,12 +30,12 @@ AC_DEFUN([gl_WARN_ON_USE_PREPARE],
for gl_func in m4_flatten([$2]); do
AS_VAR_PUSHDEF([gl_Symbol], [gl_cv_have_raw_decl_$gl_func])dnl
AC_CACHE_CHECK([whether $gl_func is declared without a macro],
- [gl_Symbol],
+ gl_Symbol,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$1],
[@%:@undef $gl_func
(void) $gl_func;])],
- [AS_VAR_SET([gl_Symbol], [yes])], [AS_VAR_SET([gl_Symbol], [no])])])
- AS_VAR_IF([gl_Symbol], [yes],
+ [AS_VAR_SET(gl_Symbol, [yes])], [AS_VAR_SET(gl_Symbol, [no])])])
+ AS_VAR_IF(gl_Symbol, [yes],
[AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_RAW_DECL_$gl_func]), [1])
dnl shortcut - if the raw declaration exists, then set a cache
dnl variable to allow skipping any later AC_CHECK_DECL efforts