diff --git a/configure.in b/configure.in index 9dcab0a7c3d4..35536119022f 100644 --- a/configure.in +++ b/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 - #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*) diff --git a/js/src/configure.in b/js/src/configure.in index 5da4641985e7..2157cfdbd06c 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -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 - #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 **********************