[master] fix build error due to incorrect readline probing

This commit is contained in:
Evan Hunt 2016-04-14 13:46:15 -07:00
parent 6ad05c5f46
commit fb7e1d0e71
2 changed files with 8 additions and 8 deletions

8
configure vendored
View file

@ -18704,10 +18704,6 @@ done
READLINE_LIB="$readline"
break
fi
if test "X$readline" = "X"
then
continue
fi
for lib in -lterminfo -ltermcap -lncurses -lcurses
do
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline with $readline $lib" >&5
@ -18731,6 +18727,10 @@ done
break
fi
done
if test "$ac_cv_func_readline" = "yes"
then
break
fi
done
LIBS="$saved_LIBS"
;;

View file

@ -3261,10 +3261,6 @@ yes|auto)
READLINE_LIB="$readline"
break
fi
if test "X$readline" = "X"
then
continue
fi
for lib in -lterminfo -ltermcap -lncurses -lcurses
do
AC_MSG_NOTICE(checking for readline with $readline $lib)
@ -3277,6 +3273,10 @@ yes|auto)
break
fi
done
if test "$ac_cv_func_readline" = "yes"
then
break
fi
done
LIBS="$saved_LIBS"
;;