summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f216c218..fb0f4c0b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -411,7 +411,7 @@ yes
# http://www.v6.linux.or.jp/
AC_EGREP_CPP(yes, [
#include <features.h>
-#if defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
+#if defined(__GLIBC__) && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1))
yes
#endif],
[ipv6type=$i;