summaryrefslogtreecommitdiffstats
path: root/gl/m4/glibc21.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/glibc21.m4')
-rw-r--r--gl/m4/glibc21.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/gl/m4/glibc21.m4 b/gl/m4/glibc21.m4
index 93fbf47..68ada9d 100644
--- a/gl/m4/glibc21.m4
+++ b/gl/m4/glibc21.m4
@@ -1,5 +1,5 @@
1# glibc21.m4 serial 4 1# glibc21.m4 serial 4
2dnl Copyright (C) 2000-2002, 2004, 2008 Free Software Foundation, Inc. 2dnl Copyright (C) 2000-2002, 2004, 2008-2010 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
@@ -12,16 +12,16 @@ AC_DEFUN([gl_GLIBC21],
12 AC_CACHE_CHECK([whether we are using the GNU C Library 2.1 or newer], 12 AC_CACHE_CHECK([whether we are using the GNU C Library 2.1 or newer],
13 [ac_cv_gnu_library_2_1], 13 [ac_cv_gnu_library_2_1],
14 [AC_EGREP_CPP([Lucky GNU user], 14 [AC_EGREP_CPP([Lucky GNU user],
15 [ 15 [
16#include <features.h> 16#include <features.h>
17#ifdef __GNU_LIBRARY__ 17#ifdef __GNU_LIBRARY__
18 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) 18 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
19 Lucky GNU user 19 Lucky GNU user
20 #endif 20 #endif
21#endif 21#endif
22 ], 22 ],
23 [ac_cv_gnu_library_2_1=yes], 23 [ac_cv_gnu_library_2_1=yes],
24 [ac_cv_gnu_library_2_1=no]) 24 [ac_cv_gnu_library_2_1=no])
25 ] 25 ]
26 ) 26 )
27 AC_SUBST([GLIBC21]) 27 AC_SUBST([GLIBC21])