]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4484. [bug] Failure to find readline when requested should be
authorMark Andrews <marka@isc.org>
Tue, 11 Oct 2016 04:15:56 +0000 (15:15 +1100)
committerMark Andrews <marka@isc.org>
Tue, 11 Oct 2016 04:15:56 +0000 (15:15 +1100)
                        fatal to configure. [RT #43328]

CHANGES
configure
configure.in

diff --git a/CHANGES b/CHANGES
index b8ddcbf7d5ba30a2640a1f8ec0c7b62f029df567..2bfd99e320ec76d47cd626805fa8532d1f88f14b 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+4484.  [bug]           Failure to find readline when requested should be
+                       fatal to configure. [RT #43328]
+
 4483.  [func]          Check prefixes in acls to make sure the address and
                        prefix lengths are consistent.  Warn only in
                        BIND 9.11 and earlier. [RT #43367]
index 6b11710cde6a1b489025519fbc09c9734b175a61..d6d496cd712f64e7d35f252f21681d3a30e80dac 100755 (executable)
--- a/configure
+++ b/configure
@@ -19131,6 +19131,10 @@ done
                        break
                fi
        done
+       if test "X$readline" = Xyes -a "$ac_cv_func_readline" != yes
+       then
+               as_fn_error $? "The readline library was not found." "$LINENO" 5
+       fi
        LIBS="$saved_LIBS"
        ;;
 *)
@@ -19177,6 +19181,10 @@ done
                        fi
                done
        fi
+       if test "$ac_cv_func_readline" != yes
+       then
+               as_fn_error $? "The readline library was not found." "$LINENO" 5
+       fi
        LIBS="$saved_LIBS"
        ;;
 esac
index 66596d08eff347e60b6d851eeda1fe5a06101cd6..699fc6f7e2eb3490219c178d571284f43544177a 100644 (file)
@@ -3468,6 +3468,10 @@ yes|auto)
                        break
                fi
        done
+       if test "X$readline" = Xyes -a "$ac_cv_func_readline" != yes
+       then
+               AC_MSG_ERROR([The readline library was not found.])
+       fi
        LIBS="$saved_LIBS"
        ;;
 *)
@@ -3492,6 +3496,10 @@ yes|auto)
                        fi
                done
        fi
+       if test "$ac_cv_func_readline" != yes
+       then
+               AC_MSG_ERROR([The readline library was not found.])
+       fi
        LIBS="$saved_LIBS"
        ;;
 esac