]> granicus.if.org Git - cronie/commitdiff
build-sys: enable anacron by default
authorSami Kerola <kerolasa@iki.fi>
Sun, 31 Mar 2019 11:53:51 +0000 (12:53 +0100)
committerTomáš Mráz <t8m@users.noreply.github.com>
Mon, 8 Apr 2019 13:59:21 +0000 (15:59 +0200)
It is reasonable to think most users want to build anacron.  Notice that
this change will not effect any to packaging people who might have
--enable-anacron in their build setup.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
configure.ac

index 763b5d535e41100a3ac5367f66a1f82a3a3c8202..4d337a6ad7bb8d7ff861abca57b4a1dcead41fb0 100644 (file)
@@ -253,7 +253,7 @@ CRONIE_CONF_VAR([SYSCRONTAB], [the current working directory of the running daem
 CRONIE_CONF_VAR([SYS_CROND_DIR], [the current working directory of the running daemon], [${sysconfdir}/cron.d])
 CRONIE_CONF_VAR([SPOOL_DIR], [the directory where all the user cron tabs reside], [${localstatedir}/spool/cron])
 
-AC_ARG_ENABLE([anacron], [AS_HELP_STRING([--enable-anacron], [Build also anacron.])])
+AC_ARG_ENABLE([anacron], [AS_HELP_STRING([--disable-anacron], [Do not build anacron.])], [], [enable_anacron=yes])
 AM_CONDITIONAL([ANACRON], [test "$enable_anacron" = yes])
 if test "$enable_anacron" != no; then
        ANACRON_CONF_VAR([ANACRON_SPOOL_DIR],[The path for anacron locks.],[${localstatedir}/spool/anacron])