]> git.ipfire.org Git - oddments/ddns.git/blobdiff - configure.ac
configure: Check for existance of nsupdate
[oddments/ddns.git] / 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}
 ])