]> git.ipfire.org Git - people/ms/ddns.git/commitdiff
configure: Check for existance of nsupdate
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Jul 2014 18:04:02 +0000 (18:04 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Jul 2014 18:04:02 +0000 (18:04 +0000)
configure.ac

index d537597584c66aa2878b8c0bf9e457a6ce3e512b..ae217ac1c987683d1a532e46b69dc85b896cc965 100644 (file)
@@ -54,6 +54,12 @@ AC_PROG_SED
 # Python
 AM_PATH_PYTHON([2.7])
 
+# BIND nsupdate
+AC_CHECK_TOOL([NSUPDATE], [nsupdate])
+if test -z "${NSUPDATE}"; then
+       AC_MSG_ERROR([*** nsupdate not found])
+fi
+
 save_LIBS="$LIBS"
 
 AC_CONFIG_FILES([
@@ -66,4 +72,5 @@ AC_OUTPUT
 AC_MSG_RESULT([
        $PACKAGE_NAME $VERSION
 
+       nsupdate: ${NSUPDATE}
 ])