From: Evan Hunt Date: Thu, 14 Apr 2016 20:46:40 +0000 (-0700) Subject: [v9_10] fix build error due to incorrect readline probing X-Git-Tag: v9.10.4rc1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ef05e6beba4ffbfa15cdb5aa463e11586c9351b;p=thirdparty%2Fbind9.git [v9_10] fix build error due to incorrect readline probing --- diff --git a/configure b/configure index c8466ffd825..6779cc31a09 100755 --- a/configure +++ b/configure @@ -18617,10 +18617,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 @@ -18644,6 +18640,10 @@ done break fi done + if test "$ac_cv_func_readline" = "yes" + then + break + fi done LIBS="$saved_LIBS" ;; diff --git a/configure.in b/configure.in index f457f797388..b79aab0a2a8 100644 --- a/configure.in +++ b/configure.in @@ -3244,10 +3244,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) @@ -3260,6 +3256,10 @@ yes|auto) break fi done + if test "$ac_cv_func_readline" = "yes" + then + break + fi done LIBS="$saved_LIBS" ;;