From: Todd C. Miller Date: Fri, 9 Jan 2004 07:00:01 +0000 (+0000) Subject: Call AC_ENABLE_SHARED and check the status of enable_shared to know when X-Git-Tag: SUDO_1_6_8~261 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6495633353ff6a8d204a940440f513fe1905401;p=sudo Call AC_ENABLE_SHARED and check the status of enable_shared to know when shared libs are available. --- diff --git a/configure.in b/configure.in index 637989b9b..7035c98cf 100644 --- a/configure.in +++ b/configure.in @@ -1137,17 +1137,18 @@ cross_compiling="no" AC_PROG_CPP dnl -dnl Libtool magic; disable static lib since we require LD_PRELOAD to work +dnl Libtool magic; enable shared libs and disable static libs dnl AC_CANONICAL_HOST AC_CANONICAL_SYSTEM +AC_ENABLE_SHARED AC_DISABLE_STATIC -AM_PROG_LIBTOOL +AC_PROG_LIBTOOL dnl dnl Defer with_noexec until after libtool magic runs dnl -test "$can_build_shared" = "no" && with_noexec=no +test "$enable_shared" = "no" && with_noexec=no AC_MSG_CHECKING(path to sudo_noexec.so) AC_ARG_WITH(noexec, [ --with-noexec fully qualified pathname of sudo_noexec.so], [case $with_noexec in