From: Todd C. Miller Date: Tue, 15 Jan 2002 20:48:34 +0000 (+0000) Subject: add --with-efence option X-Git-Tag: SUDO_1_6_5~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=495dc9248858a1e859cdf66198ec38a2d90290eb;p=sudo add --with-efence option --- diff --git a/configure.in b/configure.in index 00ec1e59f..cfe3b9e03 100644 --- a/configure.in +++ b/configure.in @@ -203,6 +203,19 @@ AC_ARG_WITH(devel, [ --with-devel add developement options], ;; esac]) +AC_ARG_WITH(efence, [ --with-efence link with -lefence for malloc() debugging], +[case $with_efence in + yes) echo 'Sudo will link with -lefence (Electric Fence)' + LIBS="${LIBS} -lefence" + if test -f /usr/local/lib/libefence.a; then + LDFLAGS="${LDFLAGS} -L/usr/local/lib" + fi + ;; + no) ;; + *) echo "Ignoring unknown argument to --with-efence: $with_efence" + ;; +esac]) + AC_ARG_WITH(csops, [ --with-csops add CSOps standard options], [case $with_csops in yes) echo 'Adding CSOps standard options'