mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-11 19:04:13 +08:00
indent
This commit is contained in:
parent
3f17755a74
commit
fbe115a9e4
42
m4/glibc.m4
42
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 <features.h>
|
||||
[
|
||||
AC_CACHE_CHECK(whether we are using the GNU C Library,
|
||||
ac_cv_gnu_library,
|
||||
[AC_EGREP_CPP([Thanks for using GNU],
|
||||
[
|
||||
#include <features.h>
|
||||
#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 <features.h>
|
||||
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 <features.h>
|
||||
#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)
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user