diff --git a/configure.ac b/configure.ac index afdf8259..f8d0af00 100644 --- a/configure.ac +++ b/configure.ac @@ -59,8 +59,8 @@ AC_ARG_ENABLE(watchdog, enable_watchdog=no]) AC_ARG_ENABLE(redirect-output, - AS_HELP_STRING([--disable-redirect-output], [Disable redirection of service output to /dev/null]),,[ - enable_redirect_output=yes]) + AS_HELP_STRING([--enable-redirect], [Redirect service output to /dev/null, default: no]),,[ + enable_redirect_output=no]) AC_ARG_ENABLE(inetd, AS_HELP_STRING([--disable-inetd], [Disable built-in inetd super server, default enabled]),,[ @@ -142,14 +142,14 @@ AS_IF([test "x$enable_progress" = "xyes"], [ AS_IF([test "x$enable_watchdog" = "xyes"], [ AC_DEFINE(BUILTIN_WATCHDOG, 1, [Enable built-in watchdog, kicks on /dev/watchdog])]) +AS_IF([test "x$enable_redirect_output" = "xyes"], [ + AC_DEFINE(REDIRECT_OUTPUT, 1, [Enable redirection of service output to /dev/null])]) + ### Disable features ########################################################################### AS_IF([test "x$enable_inetd" != "xno"], [ enable_inetd="yes" AC_DEFINE(INETD_ENABLED, 1, [Enable built-in inetd])]) -AS_IF([test "x$enable_redirect_output" != "xno"], [ - AC_DEFINE(REDIRECT_OUTPUT, 1, [Enable redirection of service output to /dev/null])]) - AS_IF([test "x$enable_logrotate" != "xno"], [ AC_DEFINE(LOGROTATE_ENABLED, 1, [Enable built-in rotation of /var/log/wtmp et al.])])