From f38163772cb8ca25c440393132e8678e65437320 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 16 Sep 2018 21:52:46 +0200 Subject: Add simple cron implementation Signed-off-by: David Oberhollenzer --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure.ac') 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]) -- cgit v1.2.3