From cd6abe1d3f8ca504e829077b50112b487533902b Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 4 Feb 2011 14:44:47 -0500 Subject: [PATCH] fix --with-iologdir=no --- aclocal.m4 | 4 +++- configure | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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; } -- 2.40.0