]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
be consistent with in how readline is condigured
authorMark Andrews <marka@isc.org>
Thu, 10 Jan 2013 06:46:14 +0000 (17:46 +1100)
committerMark Andrews <marka@isc.org>
Thu, 10 Jan 2013 06:46:14 +0000 (17:46 +1100)
configure
configure.in

index c70d09606772641d43ac67a014d5853797b2d36c..fb85f2efed9e2c833ea269fb77632bd5bf899823 100755 (executable)
--- a/configure
+++ b/configure
@@ -17501,8 +17501,11 @@ _ACEOF
 fi
 done
 
+       if test "$ac_cv_func_readline" = "yes"
+       then
+               READLINE_LIB="$readline"
+       fi
        LIBS="$saved_LIBS"
-       READLINE_LIB="$readline"
         ;;
 esac
 
index 04a4f159ee4b865daca144786af11b0ec1690206..61748d298ad4710f66417b658cb47defe99a882b 100644 (file)
@@ -2369,8 +2369,11 @@ no)      ;;
        saved_LIBS="$LIBS"
        LIBS="$readline"
        AC_CHECK_FUNCS(readline)
+       if test "$ac_cv_func_readline" = "yes"
+       then
+               READLINE_LIB="$readline"
+       fi
        LIBS="$saved_LIBS"
-       READLINE_LIB="$readline"
         ;;
 esac