From: Pierangelo Masarati Date: Sat, 20 Aug 2005 11:57:01 +0000 (+0000) Subject: stuff for slapo-allop configuration X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~645 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4a3b04966c227db1a19de0c0a32d792ab6351542;p=openldap stuff for slapo-allop configuration --- 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