From 0541eecf32807e632edfd92a617e0d973a8d0194 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 6 Sep 2002 03:45:50 +0000 Subject: [PATCH] module build fixes --- configure | 10 +++++++++- configure.in | 7 +++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/configure b/configure index fb058a9637..c86a98f90d 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # $OpenLDAP$ -# from OpenLDAP: pkg/ldap/configure.in,v 1.408.2.10 2002/08/22 00:38:21 kurt Exp +# from OpenLDAP: pkg/ldap/configure.in,v 1.408.2.11 2002/08/29 02:10:40 kurt Exp # Copyright 1998-2002 The OpenLDAP Foundation. All Rights Reserved. # @@ -22949,6 +22949,12 @@ else PLAT=UNIX fi +if test -z "$SLAPD_STATIC_BACKENDS"; then + SLAPD_NO_STATIC='#' +else + SLAPD_NO_STATIC= +fi + @@ -23010,6 +23016,7 @@ fi + # Check whether --with-xxinstall or --without-xxinstall was given. @@ -23237,6 +23244,7 @@ s%@LUTIL_LIBS@%$LUTIL_LIBS%g s%@WRAP_LIBS@%$WRAP_LIBS%g s%@SLAPD_MODULES_CPPFLAGS@%$SLAPD_MODULES_CPPFLAGS%g s%@SLAPD_MODULES_LDFLAGS@%$SLAPD_MODULES_LDFLAGS%g +s%@SLAPD_NO_STATIC@%$SLAPD_NO_STATIC%g s%@SLAPD_STATIC_BACKENDS@%$SLAPD_STATIC_BACKENDS%g s%@SLAPD_DYNAMIC_BACKENDS@%$SLAPD_DYNAMIC_BACKENDS%g s%@PERL_CPPFLAGS@%$PERL_CPPFLAGS%g diff --git a/configure.in b/configure.in index e58d85c3d3..8865e363a1 100644 --- a/configure.in +++ b/configure.in @@ -2703,6 +2703,12 @@ else PLAT=UNIX fi +if test -z "$SLAPD_STATIC_BACKENDS"; then + SLAPD_NO_STATIC='#' +else + SLAPD_NO_STATIC= +fi + AC_SUBST(LIBSRCS) AC_SUBST(PLAT) AC_SUBST(BUILD_LIBS_DYNAMIC) @@ -2744,6 +2750,7 @@ AC_SUBST(WRAP_LIBS) AC_SUBST(SLAPD_MODULES_CPPFLAGS) AC_SUBST(SLAPD_MODULES_LDFLAGS) +AC_SUBST(SLAPD_NO_STATIC) AC_SUBST(SLAPD_STATIC_BACKENDS) AC_SUBST(SLAPD_DYNAMIC_BACKENDS) -- 2.39.5