diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e0374c5..84ab673 100644 --- a/configure.ac +++ b/configure.ac @@ -55,9 +55,19 @@ AC_ARG_WITH([klogd], esac], [AM_CONDITIONAL([KLOGD], [true])]) +AC_ARG_WITH([gcrond], + [AS_HELP_STRING([--without-gcrond], [Build without gcron daemon])], + [case "${withval}" in + yes) AM_CONDITIONAL([GCROND], [true]) ;; + no) AM_CONDITIONAL([GCROND], [false]) ;; + *) AC_MSG_ERROR([bad value ${withval} for --without-gcron]) ;; + esac], + [AM_CONDITIONAL([GCROND], [true])]) + AC_CONFIG_HEADERS([lib/include/config.h]) AC_DEFINE_DIR(SVCDIR, sysconfdir/init.d, [Startup service directory]) +AC_DEFINE_DIR(GCRONDIR, sysconfdir/gcron.d, [Cron service directory]) AC_DEFINE_DIR(TEMPLATEDIR, datadir/init, [Service template directory]) AC_DEFINE_DIR(SCRIPTDIR, libexecdir/init, [Helper script directory]) AC_DEFINE_DIR(SOCKDIR, localstatedir/run, [Directory for initd socket]) |