+if test "$ol_enable_null" != no ; then
+ AC_DEFINE(SLAPD_NULL,1,[define to support NULL backend])
+ BUILD_SLAPD=yes
+ BUILD_NULL=yes
+ if test "$ol_with_null_module" != static ; then
+ AC_DEFINE(SLAPD_NULL_DYNAMIC,1,
+ [define to support dynamic NULL backend])
+ BUILD_NULL=mod
+ BUILD_NULL_DYNAMIC=shared
+ SLAPD_DYNAMIC_BACKENDS="$SLAPD_DYNAMIC_BACKENDS back-null"
+ else
+ SLAPD_STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS back-null"
+ fi
+fi
+