+if test "$USE_LINUX" = 1; then
+ echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
+echo "configure:1326: checking for glibc 2.1 or later" >&5
+if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 1331 "configure"
+#include "confdefs.h"
+#include <features.h>
+int main() {
+
+ #if !__GLIBC_PREREQ(2, 1)
+ #error not glibc2.1
+ #endif
+
+; return 0; }
+EOF
+if { (eval echo configure:1342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+
+ wx_lib_glibc21=yes
+
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+
+ wx_lib_glibc21=no
+
+
+fi
+rm -f conftest*
+
+fi
+
+echo "$ac_t""$wx_lib_glibc21" 1>&6
+
+ if test "$wx_lib_glibc21" = "yes"; then
+ cat >> confdefs.h <<\EOF
+#define wxHAVE_GLIBC2 1
+EOF
+
+ fi
+fi