git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0554022
)
Updated GLIBC check in configure.ac (#175)
author
Bart S
<smiba@users.noreply.github.com>
Sat, 1 May 2021 15:23:25 +0000
(17:23 +0200)
committer
GitHub
<noreply@github.com>
Sat, 1 May 2021 15:23:25 +0000
(08:23 -0700)
The current GLIBC check does not consider we may see glibc 3.0 in the future.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index f216c2183fd43b4c4f1daec3417d6b24f3949d39..fb0f4c0b7a20f87c789c81a5e3f2440b187b38a8 100644
(file)
--- 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;