shortcut to configure all overlays

This commit is contained in:
Pierangelo Masarati 2004-04-17 10:41:42 +00:00
parent c9423499a6
commit 582adc6c69

View File

@ -242,11 +242,16 @@ OL_ARG_ENABLE(lastmod,[ --enable-lastmod Last Modification overlay no|yes|m
OL_ARG_ENABLE(ppolicy,[ --enable-ppolicy Password Policy overlay no|yes|mod], no, OL_ARG_ENABLE(ppolicy,[ --enable-ppolicy Password Policy overlay no|yes|mod], no,
[no yes mod]) [no yes mod])
OL_ARG_ENABLE(proxycache,[ --enable-proxycache Proxy Cache overlay no|yes|mod], no, OL_ARG_ENABLE(proxycache,[ --enable-proxycache Proxy Cache overlay no|yes|mod], no,
[no yes mod])
OL_ARG_ENABLE(refint,[ --enable-refint Referential Integrity overlay no|yes|mod], no, OL_ARG_ENABLE(refint,[ --enable-refint Referential Integrity overlay no|yes|mod], no,
[no yes mod]) [no yes mod])
OL_ARG_ENABLE(rwm,[ --enable-rwm Rewrite/Remap overlay no|yes|mod], no, OL_ARG_ENABLE(rwm,[ --enable-rwm Rewrite/Remap overlay no|yes|mod], no,
OL_ARG_ENABLE(unique,[ --enable-unique Attribute Uniqueness overlay no|yes|mod], no,
[no yes mod]) [no yes mod])
OL_ARG_ENABLE(unique,[ --enable-unique Attribute Uniqueness overlay no|yes|mod], no,
[no yes mod])
OL_ARG_ENABLE(overlays,[ --enable-overlays Enable all overlays no|yes|mod (overrides above)], "",
["" no yes mod])
dnl ---------------------------------------------------------------- dnl ----------------------------------------------------------------
dnl SLURPD OPTIONS dnl SLURPD OPTIONS
@ -2630,6 +2635,13 @@ if test "$ol_link_sql" != no ; then
AC_DEFINE_UNQUOTED(SLAPD_SQL,$MFLAG,[define to support SQL backend]) AC_DEFINE_UNQUOTED(SLAPD_SQL,$MFLAG,[define to support SQL backend])
fi fi
dnl enable all overlays
if test "x$ol_enable_overlays" != "x" ; then
for i in $Overlays; do
eval "ol_enable_$i=$ol_enable_overlays"
done
fi
if test "$ol_enable_chain" != no ; then if test "$ol_enable_chain" != no ; then
BUILD_CHAIN=$ol_enable_chain BUILD_CHAIN=$ol_enable_chain
if test "$ol_enable_chain" = mod ; then if test "$ol_enable_chain" = mod ; then