aboutsummaryrefslogtreecommitdiffstats
path: root/m4/glibc21.m4
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-04-27 10:10:07 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-04-27 10:10:07 +0300
commitfa620d22a63f26f8098d7b4c4b835ad27c1b13a7 (patch)
tree75dc9ee66c3cac1c6a7796d404aee0f0836a106f /m4/glibc21.m4
parented69ad69e9e4603fef71510cfef13d2a8b153ae0 (diff)
parent2ee1a96b398f3bd183a84509464770153a8890d4 (diff)
downloadegawk-fa620d22a63f26f8098d7b4c4b835ad27c1b13a7.tar.gz
egawk-fa620d22a63f26f8098d7b4c4b835ad27c1b13a7.tar.bz2
egawk-fa620d22a63f26f8098d7b4c4b835ad27c1b13a7.zip
Merge branch 'gawk-4.0-stable' (latest infrastructure).
Diffstat (limited to 'm4/glibc21.m4')
-rw-r--r--m4/glibc21.m418
1 files changed, 9 insertions, 9 deletions
diff --git a/m4/glibc21.m4 b/m4/glibc21.m4
index d95fd986..68ada9d4 100644
--- a/m4/glibc21.m4
+++ b/m4/glibc21.m4
@@ -1,5 +1,5 @@
-# glibc21.m4 serial 3
-dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc.
+# glibc21.m4 serial 4
+dnl Copyright (C) 2000-2002, 2004, 2008-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,
dnl with or without modifications, as long as this notice is preserved.
@@ -9,22 +9,22 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_GLIBC21],
[
- AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
- ac_cv_gnu_library_2_1,
+ AC_CACHE_CHECK([whether we are using the GNU C Library 2.1 or newer],
+ [ac_cv_gnu_library_2_1],
[AC_EGREP_CPP([Lucky GNU user],
- [
+ [
#include <features.h>
#ifdef __GNU_LIBRARY__
#if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
Lucky GNU user
#endif
#endif
- ],
- ac_cv_gnu_library_2_1=yes,
- ac_cv_gnu_library_2_1=no)
+ ],
+ [ac_cv_gnu_library_2_1=yes],
+ [ac_cv_gnu_library_2_1=no])
]
)
- AC_SUBST(GLIBC21)
+ AC_SUBST([GLIBC21])
GLIBC21="$ac_cv_gnu_library_2_1"
]
)