File tree 2 files changed +15
-1
lines changed
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -14509,6 +14509,11 @@ done
14509
14509
14510
14510
fi
14511
14511
14512
+ # Some versions of libedit contain strlcpy(); so disregard that library while
14513
+ # checking for these standard libc functions.
14514
+ pgac_save_LIBS="$LIBS"
14515
+ LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'`
14516
+
14512
14517
14513
14518
14514
14519
@@ -14635,6 +14640,8 @@ done
14635
14640
14636
14641
14637
14642
14643
+ LIBS="$pgac_save_LIBS"
14644
+
14638
14645
# System's version of getaddrinfo(), if any, may be used only if we found
14639
14646
# a definition for struct addrinfo; see notes in src/include/getaddrinfo.h.
14640
14647
# (Note: the AC_REPLACE_FUNCS probe fails on Windows, where the available
Original file line number Diff line number Diff line change 1
1
dnl Process this file with autoconf to produce a configure script.
2
- dnl $PostgreSQL: pgsql/configure.in,v 1.488 2006/11/25 03:34:10 pgsql Exp $
2
+ dnl $PostgreSQL: pgsql/configure.in,v 1.489 2006/11/29 20:12:31 tgl Exp $
3
3
dnl
4
4
dnl Developers, please strive to achieve this order:
5
5
dnl
@@ -966,8 +966,15 @@ else
966
966
AC_CHECK_FUNCS([fpclass fp_class fp_class_d class], [break])
967
967
fi
968
968
969
+ # Some versions of libedit contain strlcpy(); so disregard that library while
970
+ # checking for these standard libc functions.
971
+ pgac_save_LIBS="$LIBS"
972
+ LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'`
973
+
969
974
AC_REPLACE_FUNCS([crypt fseeko getopt getrusage inet_aton random rint srandom strdup strerror strlcpy strtol strtoul unsetenv])
970
975
976
+ LIBS="$pgac_save_LIBS"
977
+
971
978
# System's version of getaddrinfo(), if any, may be used only if we found
972
979
# a definition for struct addrinfo; see notes in src/include/getaddrinfo.h.
973
980
# (Note: the AC_REPLACE_FUNCS probe fails on Windows, where the available
You can’t perform that action at this time.
0 commit comments