be consistent with in how readline is condigured

This commit is contained in:
Mark Andrews 2013-01-10 17:46:14 +11:00
parent dab4aac006
commit 95625ae147
2 changed files with 8 additions and 2 deletions

5
configure vendored
View file

@ -17501,8 +17501,11 @@ _ACEOF
fi
done
if test "$ac_cv_func_readline" = "yes"
then
READLINE_LIB="$readline"
fi
LIBS="$saved_LIBS"
READLINE_LIB="$readline"
;;
esac

View file

@ -2369,8 +2369,11 @@ no) ;;
saved_LIBS="$LIBS"
LIBS="$readline"
AC_CHECK_FUNCS(readline)
if test "$ac_cv_func_readline" = "yes"
then
READLINE_LIB="$readline"
fi
LIBS="$saved_LIBS"
READLINE_LIB="$readline"
;;
esac