From 22ba12d1aa0f6380146f6e66382dbc1058c30625 Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Mon, 19 Mar 2018 23:01:09 +0100 Subject: 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. --- NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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. -- cgit v1.2.3