mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 925334 - delete check for HAVE_GNU_GET_LIBC_VERSION; r=glandium
This commit is contained in:
parent
036526a684
commit
ae7e07a8a9
17
configure.in
17
configure.in
@ -3071,23 +3071,6 @@ dnl AC_CHECK_LIB(resolv, res_ninit, AC_DEFINE(HAVE_RES_NINIT)))
|
||||
fi
|
||||
|
||||
AC_LANG_CPLUSPLUS
|
||||
AC_CACHE_CHECK(
|
||||
[for gnu_get_libc_version()],
|
||||
ac_cv_func_gnu_get_libc_version,
|
||||
[AC_TRY_LINK([
|
||||
#ifdef HAVE_GNU_LIBC_VERSION_H
|
||||
#include <gnu/libc-version.h>
|
||||
#endif
|
||||
],
|
||||
[const char *glibc_version = gnu_get_libc_version();],
|
||||
[ac_cv_func_gnu_get_libc_version=yes],
|
||||
[ac_cv_func_gnu_get_libc_version=no]
|
||||
)]
|
||||
)
|
||||
|
||||
if test "$ac_cv_func_gnu_get_libc_version" = "yes"; then
|
||||
AC_DEFINE(HAVE_GNU_GET_LIBC_VERSION)
|
||||
fi
|
||||
|
||||
case $target_os in
|
||||
darwin*|mingw*|os2*)
|
||||
|
@ -2566,24 +2566,6 @@ dnl AC_CHECK_LIB(bind, res_ninit, AC_DEFINE(HAVE_RES_NINIT),
|
||||
dnl AC_CHECK_LIB(resolv, res_ninit, AC_DEFINE(HAVE_RES_NINIT)))
|
||||
fi
|
||||
|
||||
AC_LANG_CPLUSPLUS
|
||||
AC_CACHE_CHECK(
|
||||
[for gnu_get_libc_version()],
|
||||
ac_cv_func_gnu_get_libc_version,
|
||||
[AC_TRY_LINK([
|
||||
#ifdef HAVE_GNU_LIBC_VERSION_H
|
||||
#include <gnu/libc-version.h>
|
||||
#endif
|
||||
],
|
||||
[const char *glibc_version = gnu_get_libc_version();],
|
||||
[ac_cv_func_gnu_get_libc_version=yes],
|
||||
[ac_cv_func_gnu_get_libc_version=no]
|
||||
)]
|
||||
)
|
||||
|
||||
if test "$ac_cv_func_gnu_get_libc_version" = "yes"; then
|
||||
AC_DEFINE(HAVE_GNU_GET_LIBC_VERSION)
|
||||
fi
|
||||
AC_LANG_C
|
||||
|
||||
dnl **********************
|
||||
|
Loading…
Reference in New Issue
Block a user