From: Todd C. Miller Date: Fri, 4 Feb 2011 19:44:47 +0000 (-0500) Subject: fix --with-iologdir=no X-Git-Tag: SUDO_1_8_0~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd6abe1d3f8ca504e829077b50112b487533902b;p=sudo fix --with-iologdir=no --- diff --git a/aclocal.m4 b/aclocal.m4 index 5cbce66e7..7124e86f5 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -132,7 +132,9 @@ AC_DEFUN(SUDO_IO_LOGDIR, [ else iolog_dir="/usr/adm/sudo-io" fi - SUDO_DEFINE_UNQUOTED(_PATH_SUDO_IO_LOGDIR, "$iolog_dir") + if test "${with_iologdir}" != "no"; then + SUDO_DEFINE_UNQUOTED(_PATH_SUDO_IO_LOGDIR, "$iolog_dir") + fi AC_MSG_RESULT($iolog_dir) ])dnl diff --git a/configure b/configure index 084711591..cf946b0cf 100755 --- a/configure +++ b/configure @@ -18570,10 +18570,12 @@ $as_echo_n "checking for I/O log dir location... " >&6; } else iolog_dir="/usr/adm/sudo-io" fi - cat >>confdefs.h <>confdefs.h <&5 $as_echo "$iolog_dir" >&6; }