;;
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."
;;
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