From: Bart S Date: Sat, 1 May 2021 15:23:25 +0000 (+0200) Subject: Updated GLIBC check in configure.ac (#175) X-Git-Tag: v3.2.4pre1~85 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=915685e01b7c065a56a09cbba9516d3c96f0d744;p=thirdparty%2Frsync.git Updated GLIBC check in configure.ac (#175) The current GLIBC check does not consider we may see glibc 3.0 in the future. --- 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 -#if defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 +#if defined(__GLIBC__) && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1)) yes #endif], [ipv6type=$i;