summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBart S <smiba@users.noreply.github.com>2021-05-01 17:23:25 +0200
committerGitHub <noreply@github.com>2021-05-01 08:23:25 -0700
commit915685e01b7c065a56a09cbba9516d3c96f0d744 (patch)
treea78e58f142c4bb5cd4f857f9f26e163dc01da242 /configure.ac
parent05540220a92dd06b62f240f6178921dde5697dd3 (diff)
downloadrsync-915685e01b7c065a56a09cbba9516d3c96f0d744.tar.gz
Updated GLIBC check in configure.ac (#175)
The current GLIBC check does not consider we may see glibc 3.0 in the future.
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;