AboutSummaryRefsLogTreeCommitDiffStats
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2018-03-19 23:01:09 +0100
committerMathieu Lirzin <mthl@gnu.org>2018-03-19 23:08:46 +0100
commit22ba12d1aa0f6380146f6e66382dbc1058c30625 (patch)
tree1ffb5130ad8de40957b214b1832e4c1d9cd47699
parent98eaa3fb9c5b57d37c08725e306118e58036374f (diff)
downloadmcron-22ba12d1aa0f6380146f6e66382dbc1058c30625.tar.gz
mcron-22ba12d1aa0f6380146f6e66382dbc1058c30625.tar.bz2
mcron-22ba12d1aa0f6380146f6e66382dbc1058c30625.zip
build: Reverse '--disable-multi-user' effect
This fixes a bug where the '--disable-multi-user' was actually having the reverse effect of installing 'cron' and 'crontab'. * configure.ac: Reverse equality test when setting 'MULTI_USER' Automake conditional.
-rw-r--r--NEWS4
-rw-r--r--configure.ac2
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 524008c..7cbf969 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ GNU Mcron NEWS -*- outline -*-
* Noteworthy changes in release ?.? (????-??-??) [?]
+** Bug fixes
+
+ The "--disable-multi-user" configure variable is not reversed anymore.
+ 'cron' and 'crontab' are now installed unless this option is used.
* Noteworthy changes in release 1.1 (2018-03-19) [stable]
diff --git a/configure.ac b/configure.ac
index f741d1a..0a61bb4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,7 +75,7 @@ AC_ARG_ENABLE([multi-user],
[Don't Install legacy cron and crontab programs])],
[enable_multi_user="$enableval"],
[enable_multi_user="yes"])
-AM_CONDITIONAL([MULTI_USER], [test "x$enable_multi_user" != xyes])
+AM_CONDITIONAL([MULTI_USER], [test "x$enable_multi_user" = xyes])
# Configure the various files that mcron uses at runtime.