]> granicus.if.org Git - sudo/commitdiff
Add --with-logfile and --with-timedir
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 28 Mar 1998 00:46:12 +0000 (00:46 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 28 Mar 1998 00:46:12 +0000 (00:46 +0000)
configure.in

index b48201f0ce5bc78138d196419ca809f6d51a0ff1..ba5856675c374aa84519d0b3313322fd2145c450 100644 (file)
@@ -165,6 +165,30 @@ AC_ARG_WITH(DCE, [  --with-DCE              enable DCE support],
                ;;
 esac])
 
+AC_ARG_WITH(logfile, [  --with-logfile          path to the sudo log file],
+[case $with_logfile in  
+    yes)       echo "Must give --with-logfile an argument."
+               exit 1
+               ;;
+    no)                echo "Sorry, --without-logfile not supported."
+               exit 1
+               ;;
+    *)         echo "Using ${with_logfile} as the path to sudo's log file."
+               ;;
+esac])
+
+AC_ARG_WITH(timedir, [  --with-timedir          path to the sudo timestamp dir],
+[case $with_timedir in  
+    yes)       echo "Must give --with-timedir an argument."
+               exit 1
+               ;;
+    no)                echo "Sorry, --without-timedir not supported."
+               exit 1
+               ;;
+    *)         echo "Using ${with_timedir} as the path to sudo's log file."
+               ;;
+esac])
+
 AC_ARG_WITH(incpath, [  --with-incpath          additional places to look for include files],
 [case $with_incpath in  
     yes)       echo "Must give --with-incpath an argument."