3 # Test for the GNU C Library, version 2.1 or newer.
6 AC_DEFUN([MUTT_jm_GLIBC21],
8 AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
10 [AC_EGREP_CPP([Lucky GNU user],
13 #ifdef __GNU_LIBRARY__
14 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
19 ac_cv_gnu_library_2_1=yes,
20 ac_cv_gnu_library_2_1=no)
24 GLIBC21="$ac_cv_gnu_library_2_1"