From 495dc9248858a1e859cdf66198ec38a2d90290eb Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 15 Jan 2002 20:48:34 +0000 Subject: [PATCH] add --with-efence option --- configure.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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' -- 2.40.0