X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fglibc.m4;h=a5314c1820c15c5fbc465377fcbd6787e66252a0;hb=9444b2cc75449834d4b397fe9ce99afaf7c16da8;hp=22336e2f03588dde757eb2fb5db4b0d8c7b6cdd4;hpb=d509a5b083580bf16071b60935c384d52264bc45;p=gnulib.git diff --git a/m4/glibc.m4 b/m4/glibc.m4 index 22336e2f0..a5314c182 100644 --- a/m4/glibc.m4 +++ b/m4/glibc.m4 @@ -1,23 +1,35 @@ -#serial 1 +#serial 2 dnl From Gordon Matzigkeit. dnl Test for the GNU C Library. dnl FIXME: this should migrate into libit. AC_DEFUN(AM_GLIBC, -[AC_CACHE_CHECK(whether we are using the GNU C Library, - ac_cv_gnu_library, -[AC_EGREP_CPP([Thanks for using GNU], -[#include + [ + AC_CACHE_CHECK(whether we are using the GNU C Library, + ac_cv_gnu_library, + [AC_EGREP_CPP([Thanks for using GNU], + [ +#include #ifdef __GNU_LIBRARY__ -Thanks for using GNU -#endif], - ac_cv_gnu_library=yes, ac_cv_gnu_library=no)]) -AC_CACHE_CHECK(for version 2 of the GNU C Library, - ac_cv_glibc, -[AC_EGREP_CPP([Thanks for using GNU too], -[#include + Thanks for using GNU +#endif + ], + ac_cv_gnu_library=yes, + ac_cv_gnu_library=no) + ] + ) + AC_CACHE_CHECK(for version 2 of the GNU C Library, + ac_cv_glibc, + [AC_EGREP_CPP([Thanks for using GNU too], + [ +#include #ifdef __GLIBC__ -Thanks for using GNU too -#endif], - ac_cv_glibc=yes, ac_cv_glibc=no)])])dnl + Thanks for using GNU too +#endif + ], + ac_cv_glibc=yes, ac_cv_glibc=no) + ] + ) + ] +)