]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] fix build error due to incorrect readline probing
authorEvan Hunt <each@isc.org>
Thu, 14 Apr 2016 20:46:15 +0000 (13:46 -0700)
committerEvan Hunt <each@isc.org>
Thu, 14 Apr 2016 20:46:15 +0000 (13:46 -0700)
configure
configure.in

index 81cf3c64fbef83d0370c827b0ac7ac56b61a8642..02fc7a36faf9991137eb60e79fbc0894728bb0f6 100755 (executable)
--- a/configure
+++ b/configure
@@ -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"
        ;;
index b9362928fe2c853eb0a35550dfc8df461f993a16..4cfce95a0e1443854a5a10bf195781108309f2e6 100644 (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"
        ;;