diff options
| author | Tom Lane | 2006-11-29 20:12:31 +0000 |
|---|---|---|
| committer | Tom Lane | 2006-11-29 20:12:31 +0000 |
| commit | 59cf88da91bc88978b05275ebd94ac2d980c4047 (patch) | |
| tree | f54c3f5ab134d7d2b8fe66bf7c44834cce844965 /configure | |
| parent | ae8c1bea02382ff5d57806e8f40c9e58ebf7f3d3 (diff) | |
Ignore libedit/libreadline while probing for strlcpy and some other
standard functions. Per report from Stefan Kaltenbrunner.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure index 194698cf8af..1d6e46fd656 100755 --- a/configure +++ b/configure @@ -14509,6 +14509,11 @@ done fi +# Some versions of libedit contain strlcpy(); so disregard that library while +# checking for these standard libc functions. +pgac_save_LIBS="$LIBS" +LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'` + @@ -14635,6 +14640,8 @@ done +LIBS="$pgac_save_LIBS" + # System's version of getaddrinfo(), if any, may be used only if we found # a definition for struct addrinfo; see notes in src/include/getaddrinfo.h. # (Note: the AC_REPLACE_FUNCS probe fails on Windows, where the available |
