From: Sang Seok Lim Date: Tue, 30 Nov 2004 23:25:26 +0000 (+0000) Subject: to check if dynamic module support is on X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~165 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=32f4b9765784b88f4b035c0a4081f104679a13c7;p=openldap to check if dynamic module support is on --- diff --git a/configure.in b/configure.in index cdaf1f3ca1..6f0f2a689c 100644 --- a/configure.in +++ b/configure.in @@ -712,6 +712,7 @@ esac dnl ---------------------------------------------------------------- dnl Check for module support ol_link_modules=no +WITH_MODULES_ENABLED=no if test $ol_enable_modules != no ; then AC_CHECK_HEADERS(ltdl.h) @@ -728,6 +729,7 @@ if test $ol_enable_modules != no ; then AC_MSG_ERROR([could not locate libtool -lltdl]) fi ol_link_modules=yes + WITH_MODULES_ENABLED=yes else for i in $Backends; do @@ -2588,7 +2590,6 @@ if test "$ol_link_modules" != no ; then AC_DEFINE(SLAPD_MODULES,1,[define to support modules]) BUILD_SLAPD=yes SLAPD_MODULES_LDFLAGS="-dlopen self" - WITH_MODULES_ENABLED=yes fi AC_DEFINE(SLAPD_MOD_STATIC,1,[statically linked module])