]> git.sur5r.net Git - openldap/commitdiff
stuff for slapo-allop configuration
authorPierangelo Masarati <ando@openldap.org>
Sat, 20 Aug 2005 11:57:01 +0000 (11:57 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 20 Aug 2005 11:57:01 +0000 (11:57 +0000)
configure.in

index 2764f9de4ebbfdd1839136621995d7a55c4054a0..0386502f7e0ca180b18422908ddbf1b46846a46e 100644 (file)
@@ -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