fixed errors in glibc test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
44
configure.in
44
configure.in
@@ -588,29 +588,27 @@ if test "$USE_BEOS" = 1; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
dnl check for glibc version
|
dnl check for glibc version
|
||||||
dnl if test "$USE_LINUX" = 1; then
|
if test "$USE_LINUX" = 1; then
|
||||||
dnl AC_CACHE_CHECK([for glibc version], wx_lib_glibc21,
|
AC_CACHE_CHECK([for glibc 2.1 or later], wx_lib_glibc21,
|
||||||
dnl AC_TRY_COMPILE([#include <features.h>],
|
AC_TRY_COMPILE([#include <features.h>],
|
||||||
dnl [
|
[
|
||||||
dnl #if !__GLIBC_PREREQ(2, 1)
|
#if !__GLIBC_PREREQ(2, 1)
|
||||||
dnl #error not glibc2.1
|
#error not glibc2.1
|
||||||
dnl #endif
|
#endif
|
||||||
dnl ],
|
],
|
||||||
dnl [
|
[
|
||||||
dnl AC_MSG_RESULT(2.1 or later),
|
wx_lib_glibc21=yes
|
||||||
dnl wx_lib_glibc21=yes
|
],
|
||||||
dnl ],
|
[
|
||||||
dnl [
|
wx_lib_glibc21=no
|
||||||
dnl AC_MSG_RESULT(less than 2.1),
|
]
|
||||||
dnl wx_lib_glibc21=no
|
)
|
||||||
dnl ]
|
)
|
||||||
dnl )
|
|
||||||
dnl )
|
if test "$wx_lib_glibc21" = "yes"; then
|
||||||
dnl
|
AC_DEFINE(wxHAVE_GLIBC2)
|
||||||
dnl if test "$wx_lib_glibc21" = "yes"; then
|
fi
|
||||||
dnl AC_DEFINE(wxHAVE_GLIBC2)
|
fi
|
||||||
dnl fi
|
|
||||||
dnl fi
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
dnl command line options for configure
|
dnl command line options for configure
|
||||||
|
Reference in New Issue
Block a user