Commit fa785bac authored by Bruce Momjian's avatar Bruce Momjian

Allow -lib-dir to find libreadline.a

parent b91d94ec
This diff is collapsed.
...@@ -424,9 +424,14 @@ fi ...@@ -424,9 +424,14 @@ fi
AC_CHECK_LIB(curses, main) AC_CHECK_LIB(curses, main)
AC_CHECK_LIB(termcap, main) AC_CHECK_LIB(termcap, main)
ice_save_LIBS="$LIBS"
LIBS="$LIBS $PGSQL_LDFLAGS"
AC_CHECK_LIB(history, main) AC_CHECK_LIB(history, main)
AC_CHECK_LIB(readline, main) AC_CHECK_LIB(readline, main)
AC_CHECK_LIB(readline, write_history, AC_DEFINE(HAVE_HISTORY)) AC_CHECK_LIB(readline, write_history, AC_DEFINE(HAVE_HISTORY))
LIBS="$ice_save_LIBS"
if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha" if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha"
then then
AC_CHECK_LIB(bsd, main) AC_CHECK_LIB(bsd, main)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment