if test -z "$BACKEND" ; then
for b in mdb ; do
- if eval "test \"\$AC_$b\" != no" ; then
+ if eval "test \"\$AC_$b\" != ${b}no" ; then
BACKEND=$b
break
fi
if test "x$BACKENDTYPE" = "x" ; then
BACKENDTYPE="unknown"
fi
+if test "$BACKENDTYPE" != "yes" -a "$BACKENDTYPE" != "mod" ; then
+ echo "Backend $BACKEND disabled or unknown (type is \"$BACKENDTYPE\")"
+ exit 1
+fi
# Backend features. indexdb: indexing and unchecked limit.
# maindb: main storage backend. Currently index,limits,mode,paged results.