[v9_9] fix build error due to incorrect readline probing

This commit is contained in:
Evan Hunt
2016-04-14 13:46:53 -07:00
parent cf05c7e3be
commit 669969d715
2 changed files with 8 additions and 8 deletions

8
configure vendored
View File

@@ -17527,10 +17527,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
@@ -17554,6 +17550,10 @@ done
break
fi
done
if test "$ac_cv_func_readline" = "yes"
then
break
fi
done
LIBS="$saved_LIBS"
;;

View File

@@ -2625,10 +2625,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)
@@ -2641,6 +2637,10 @@ yes|auto)
break
fi
done
if test "$ac_cv_func_readline" = "yes"
then
break
fi
done
LIBS="$saved_LIBS"
;;