glibc2.m4 revision 2
0N/A# glibc2.m4 serial 2
553N/Adnl Copyright (C) 2000-2002, 2004, 2008-2010 Free Software Foundation, Inc.
0N/Adnl This file is free software; the Free Software Foundation
0N/Adnl gives unlimited permission to copy and/or distribute it,
0N/Adnl with or without modifications, as long as this notice is preserved.
0N/A
0N/A# Test for the GNU C Library, version 2.0 or newer.
0N/A# From Bruno Haible.
0N/A
0N/AAC_DEFUN([gt_GLIBC2],
0N/A [
0N/A AC_CACHE_CHECK([whether we are using the GNU C Library 2 or newer],
0N/A [ac_cv_gnu_library_2],
0N/A [AC_EGREP_CPP([Lucky GNU user],
0N/A [
0N/A#include <features.h>
0N/A#ifdef __GNU_LIBRARY__
0N/A #if (__GLIBC__ >= 2)
553N/A Lucky GNU user
553N/A #endif
553N/A#endif
0N/A ],
0N/A [ac_cv_gnu_library_2=yes],
0N/A [ac_cv_gnu_library_2=no])
0N/A ]
0N/A )
0N/A AC_SUBST([GLIBC2])
0N/A GLIBC2="$ac_cv_gnu_library_2"
0N/A ]
0N/A)
0N/A