X-Git-Url: http://git.ipfire.org/?p=ddns.git;a=blobdiff_plain;f=configure.ac;h=c036a075aaa7c58eb5cee546e9792f10e306a9fe;hp=ae217ac1c987683d1a532e46b69dc85b896cc965;hb=c510004df54473dfd43e4c6c7b9025b16a26794a;hpb=035f1ee37d239091175090a454a19b5cdb904621 diff --git a/configure.ac b/configure.ac index ae217ac..c036a07 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ AC_PREREQ([2.64]) AC_INIT([ddns], - [001], + [006], [info@ipfire.org], [ddns], [http://git.ipfire.org/?p=oddments/ddns.git;a=summary]) @@ -51,17 +51,22 @@ AC_PROG_LN_S AC_PROG_MKDIR_P AC_PROG_SED +AC_PATH_PROG([XSLTPROC], [xsltproc]) + # 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" +# ------------------------------------------------------------------------------ +have_manpages=no +AC_ARG_ENABLE(manpages, AS_HELP_STRING([--disable-man-pages], + [do not install man pages])) +AS_IF([test "x$enable_manpages" != xno], [have_manpages=yes]) +AM_CONDITIONAL(ENABLE_MANPAGES, [test "x$have_manpages" = "xyes"]) + +# ------------------------------------------------------------------------------ + AC_CONFIG_FILES([ Makefile po/Makefile.in @@ -70,7 +75,10 @@ AC_CONFIG_FILES([ AC_OUTPUT AC_MSG_RESULT([ - $PACKAGE_NAME $VERSION + ${PACKAGE_NAME} ${VERSION} + + prefix : ${prefix} + sysconfdir : ${sysconfdir} - nsupdate: ${NSUPDATE} + Generate man-pages : ${have_manpages} ])