transcript option is now --with not --enable

This commit is contained in:
Todd C. Miller
2010-03-06 16:31:10 -05:00
parent b814a0d74f
commit 8ca261fc7b

24
aclocal.m4 vendored
View File

@@ -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