From: Todd C. Miller Date: Sat, 12 Sep 1998 00:30:44 +0000 (+0000) Subject: move --enable/--disable to be after --with X-Git-Tag: SUDO_1_5_6~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eacb84a5f8c3b7e98fd5d0ec3e54b21968252447;p=sudo move --enable/--disable to be after --with --- diff --git a/configure.in b/configure.in index 4172d5f1f..d5326c648 100644 --- a/configure.in +++ b/configure.in @@ -185,37 +185,6 @@ AC_ARG_WITH(logfile, [ --with-logfile path to the sudo log file], ;; esac]) -AC_MSG_CHECKING(whether to log the hostname in the log file) -AC_ARG_ENABLE(log-host, -[ --enable-log-host Log the hostname in the log file - --disable-log-host Do not log hostname in the log file (default)], -[ case "$enableval" in - yes) - AC_MSG_RESULT(yes) - AC_DEFINE(HOST_IN_LOG) - ;; - *) AC_MSG_RESULT(no) - ;; - esac ], - AC_MSG_RESULT(no) -) - -AC_MSG_CHECKING(whether to wrap long lines in the log file) -AC_ARG_ENABLE(log-wrap, -[ --enable-log-wrap Wrap long lines in the log file (default) - --disable-log-wrap Do not wrap long lines in the log file], -[ case "$enableval" in - no) - AC_MSG_RESULT(no) - ;; - *) AC_MSG_RESULT(yes) - AC_DEFINE(WRAP_LOG) - ;; - esac ], - AC_MSG_RESULT(yes) - AC_DEFINE(WRAP_LOG) -) - AC_ARG_WITH(timedir, [ --with-timedir path to the sudo timestamp dir], [case $with_timedir in yes) echo "Must give --with-timedir an argument." @@ -292,6 +261,37 @@ AC_ARG_WITH(csops, [ --with-csops add CSOps standard options], ;; esac]) +AC_MSG_CHECKING(whether to log the hostname in the log file) +AC_ARG_ENABLE(log-host, +[ --enable-log-host Log the hostname in the log file + --disable-log-host Do not log hostname in the log file (default)], +[ case "$enableval" in + yes) + AC_MSG_RESULT(yes) + AC_DEFINE(HOST_IN_LOG) + ;; + *) AC_MSG_RESULT(no) + ;; + esac ], + AC_MSG_RESULT(no) +) + +AC_MSG_CHECKING(whether to wrap long lines in the log file) +AC_ARG_ENABLE(log-wrap, +[ --enable-log-wrap Wrap long lines in the log file (default) + --disable-log-wrap Do not wrap long lines in the log file], +[ case "$enableval" in + no) + AC_MSG_RESULT(no) + ;; + *) AC_MSG_RESULT(yes) + AC_DEFINE(WRAP_LOG) + ;; + esac ], + AC_MSG_RESULT(yes) + AC_DEFINE(WRAP_LOG) +) + dnl dnl If we don't have egrep we can't do anything... dnl