Allow -lib-dir to find libreadline.a

This commit is contained in:
Bruce Momjian 1998-04-09 04:24:52 +00:00
parent b91d94ec68
commit fa785bac3b
2 changed files with 249 additions and 239 deletions

483
src/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -424,9 +424,14 @@ fi
AC_CHECK_LIB(curses, main)
AC_CHECK_LIB(termcap, main)
ice_save_LIBS="$LIBS"
LIBS="$LIBS $PGSQL_LDFLAGS"
AC_CHECK_LIB(history, main)
AC_CHECK_LIB(readline, main)
AC_CHECK_LIB(readline, write_history, AC_DEFINE(HAVE_HISTORY))
LIBS="$ice_save_LIBS"
if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha"
then
AC_CHECK_LIB(bsd, main)