Commit fb7e1d0e authored by Evan Hunt's avatar Evan Hunt
Browse files

[master] fix build error due to incorrect readline probing

parent 6ad05c5f
......@@ -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"
;;
......
......@@ -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"
;;
......
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