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