diff options
author | Ludovic Courtès <ludo@gnu.org> | 2010-09-04 15:16:35 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2010-09-04 15:16:35 +0200 |
commit | 9157d901024558ca2cb2a59d21f26b7f897714cd (patch) | |
tree | f6174b78e2213e49df81a47417f83ca6c1c8807b /m4/environ.m4 | |
parent | fb0b64c12a40529a03c22481570a11457076b7f9 (diff) | |
download | guile-9157d901024558ca2cb2a59d21f26b7f897714cd.tar.gz |
Use Gnulib's `stat-time' module; update Gnulib.
This updates Gnulib files to v0.0-4207-gc82b481.
* m4/gnulib-cache.m4: Add `stat-time'.
Diffstat (limited to 'm4/environ.m4')
-rw-r--r-- | m4/environ.m4 | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/m4/environ.m4 b/m4/environ.m4 index 5f50d6e3b..b9dc2ef27 100644 --- a/m4/environ.m4 +++ b/m4/environ.m4 @@ -1,4 +1,4 @@ -# environ.m4 serial 3 +# environ.m4 serial 5 dnl Copyright (C) 2001-2004, 2006-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, @@ -22,14 +22,16 @@ AC_DEFUN([gt_CHECK_VAR_DECL], define([gt_cv_var], [gt_cv_var_]$2[_declaration]) AC_MSG_CHECKING([if $2 is properly declared]) AC_CACHE_VAL([gt_cv_var], [ - AC_TRY_COMPILE([$1 - extern struct { int foo; } $2;], - [$2.foo = 1;], - gt_cv_var=no, - gt_cv_var=yes)]) + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[$1 + extern struct { int foo; } $2;]], + [[$2.foo = 1;]])], + [gt_cv_var=no], + [gt_cv_var=yes])]) AC_MSG_RESULT([$gt_cv_var]) if test $gt_cv_var = yes; then - AC_DEFINE([HAVE_]translit($2, [a-z], [A-Z])[_DECL], 1, + AC_DEFINE([HAVE_]m4_translit($2, [a-z], [A-Z])[_DECL], 1, [Define if you have the declaration of $2.]) fi undefine([gt_cv_var]) |