From 4a3b04966c227db1a19de0c0a32d792ab6351542 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 20 Aug 2005 11:57:01 +0000 Subject: [PATCH] stuff for slapo-allop configuration --- configure.in | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 2764f9de4e..0386502f7e 100644 --- a/configure.in +++ b/configure.in @@ -243,8 +243,21 @@ OL_ARG_ENABLE(sql,[ --enable-sql enable sql backend no|yes|mod], dnl ---------------------------------------------------------------- dnl SLAPD Overlay Options -Overlays="accesslog denyop dyngroup dynlist glue lastmod ppolicy proxycache \ - refint retcode rwm syncprov translucent unique" +Overlays="accesslog \ + allop \ + denyop \ + dyngroup \ + dynlist \ + glue \ + lastmod \ + ppolicy \ + proxycache \ + refint \ + retcode \ + rwm \ + syncprov \ + translucent \ + unique" AC_ARG_WITH(xxslapoverlays,[ SLAPD Overlay Options:]) @@ -254,6 +267,8 @@ OL_ARG_ENABLE(overlays,[ --enable-overlays enable all available overlays no test -n "$ol_enable_overlays" && ol_dflt_overlays="$ol_enable_overlays" OL_ARG_ENABLE(accesslog,[ --enable-accesslog In-Directory Access Logging overlay no|yes|mod], ${ol_dflt_overlays-no}, [no yes mod]) +OL_ARG_ENABLE(allop,[ --enable-allop All Operational attributes overlay no|yes|mod], + ${ol_dflt_overlays-no}, [no yes mod]) OL_ARG_ENABLE(denyop,[ --enable-denyop Deny Operation overlay no|yes|mod], ${ol_dflt_overlays-no}, [no yes mod]) OL_ARG_ENABLE(dyngroup,[ --enable-dyngroup Dynamic Group overlay no|yes|mod], @@ -2766,6 +2781,18 @@ if test "$ol_enable_accesslog" != no ; then AC_DEFINE_UNQUOTED(SLAPD_OVER_ACCESSLOG,$MFLAG,[define for In-Directory Access Logging overlay]) fi +if test "$ol_enable_allop" != no ; then + BUILD_ALLOP=$ol_enable_allop + if test "$ol_enable_aallop" = mod ; then + MFLAG=SLAPD_MOD_DYNAMIC + SLAPD_DYNAMIC_OVERLAYS="$SLAPD_DYNAMIC_OVERLAYS allop.la" + else + MFLAG=SLAPD_MOD_STATIC + SLAPD_STATIC_OVERLAYS="$SLAPD_STATIC_OVERLAYS allop.o" + fi + AC_DEFINE_UNQUOTED(SLAPD_OVER_ALLOP,$MFLAG,[define for All Operational Attributes overlay]) +fi + if test "$ol_enable_denyop" != no ; then BUILD_DENYOP=$ol_enable_denyop if test "$ol_enable_denyop" = mod ; then -- 2.39.5