From: Harlan Stenn Date: Sat, 29 Aug 2009 09:08:56 +0000 (-0400) Subject: [Bug 1293] add support for --disable-saveconfig to configure.ac X-Git-Tag: NTP_4_2_5P208~1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c4c6b93ea6dff9c3ee49e968f35554b12f3f281;p=thirdparty%2Fntp.git [Bug 1293] add support for --disable-saveconfig to configure.ac bk: 4a98f028pKB3AQDndlBkZD5zVOmM0g --- diff --git a/configure.ac b/configure.ac index a201292f5..c169f94e2 100644 --- a/configure.ac +++ b/configure.ac @@ -4713,6 +4713,16 @@ case "$ac_cv_iflist_sysctl" in AC_DEFINE(HAVE_IFLIST_SYSCTL,1,[have iflist_sysctl?]) esac +### + +AC_MSG_CHECKING([if we want the saveconfig mechanism]) +AC_ARG_ENABLE(saveconfig, + AC_HELP_STRING([--enable-saveconfig], [+ saveconfig mechanism]), + [ntp_ok=$enableval], [ntp_ok=yes]) +if test "$ntp_ok" = "yes"; then + AC_DEFINE(SAVECONFIG, 1, [saveconfig mechanism]) +fi +AC_MSG_RESULT($ntp_ok) ###