summaryrefslogtreecommitdiffstats
path: root/gl/m4/glibc2.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/glibc2.m4')
-rw-r--r--gl/m4/glibc2.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/gl/m4/glibc2.m4 b/gl/m4/glibc2.m4
index fe58a0f..f148c12 100644
--- a/gl/m4/glibc2.m4
+++ b/gl/m4/glibc2.m4
@@ -1,5 +1,5 @@
1# glibc2.m4 serial 2 1# glibc2.m4 serial 2
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([gt_GLIBC2],
12 AC_CACHE_CHECK([whether we are using the GNU C Library 2 or newer], 12 AC_CACHE_CHECK([whether we are using the GNU C Library 2 or newer],
13 [ac_cv_gnu_library_2], 13 [ac_cv_gnu_library_2],
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) 18 #if (__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=yes], 23 [ac_cv_gnu_library_2=yes],
24 [ac_cv_gnu_library_2=no]) 24 [ac_cv_gnu_library_2=no])
25 ] 25 ]
26 ) 26 )
27 AC_SUBST([GLIBC2]) 27 AC_SUBST([GLIBC2])