From: Todd C. Miller <Todd.Miller@courtesan.com>
Date: Sat, 6 Mar 2010 21:31:10 +0000 (-0500)
Subject: transcript option is now --with not --enable
X-Git-Tag: SUDO_1_8_0~837
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ca261fc7bdcefcb5ae94761c9ad04e89b574655;p=sudo

transcript option is now --with not --enable
---

diff --git a/aclocal.m4 b/aclocal.m4
index 106ff73bf..63aa2e124 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -162,20 +162,18 @@ dnl Where the transcript files go, use /var/log/sudo-transcript if
 dnl /var/log exists, else /{var,usr}/adm/sudo-transcript
 dnl
 AC_DEFUN(SUDO_TRANSCRIPT, [
-    if test "${enable_transcript-yes}" != "no"; then
-	AC_MSG_CHECKING(for transcript dir location)
-	if test "${enable_transcript-yes}" != "yes"; then
-	    :
-	elif test -d "/var/log"; then
-	    enable_transcript="/var/log/sudo-transcript"
-	elif test -d "/var/adm"; then
-	    enable_transcript="/var/adm/sudo-transcript"
-	else
-	    enable_transcript="/usr/adm/sudo-transcript"
-	fi
-	SUDO_DEFINE_UNQUOTED(_PATH_SUDO_TRANSCRIPT, "$enable_transcript")
-	AC_MSG_RESULT($enable_transcript)
+    AC_MSG_CHECKING(for transcript dir location)
+    if test "${with_transcript-yes}" != "yes"; then
+	:
+    elif test -d "/var/log"; then
+	with_transcript="/var/log/sudo-transcript"
+    elif test -d "/var/adm"; then
+	with_transcript="/var/adm/sudo-transcript"
+    else
+	with_transcript="/usr/adm/sudo-transcript"
     fi
+    SUDO_DEFINE_UNQUOTED(_PATH_SUDO_TRANSCRIPT, "$with_transcript")
+    AC_MSG_RESULT($with_transcript)
 ])dnl
 
 dnl