]> granicus.if.org Git - sudo/commitdiff
move --enable/--disable to be after --with
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 12 Sep 1998 00:30:44 +0000 (00:30 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 12 Sep 1998 00:30:44 +0000 (00:30 +0000)
configure.in

index 4172d5f1f62c45b9f009802452950312978422ee..d5326c6483bfc15ebc4272c49b31e670cab1e9f9 100644 (file)
@@ -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