mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Ignore libedit/libreadline while probing for strlcpy and some other
standard functions. Per report from Stefan Kaltenbrunner.
This commit is contained in:
7
configure
vendored
7
configure
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user