3 dnl From Gordon Matzigkeit.
4 dnl Test for the GNU C Library.
5 dnl FIXME: this should migrate into libit.
8 [AC_CACHE_CHECK(whether we are using the GNU C Library,
10 [AC_EGREP_CPP([Thanks for using GNU],
11 [#include <features.h>
12 #ifdef __GNU_LIBRARY__
15 ac_cv_gnu_library=yes, ac_cv_gnu_library=no)])
16 AC_CACHE_CHECK(for version 2 of the GNU C Library,
18 [AC_EGREP_CPP([Thanks for using GNU too],
19 [#include <features.h>
21 Thanks for using GNU too
23 ac_cv_glibc=yes, ac_cv_glibc=no)])])dnl