+# -------------------------------------------
+# director (default on)
+# -------------------------------------------
+# Check whether --enable-build-dird or --disable-build-dird was given.
+if test "${enable_build_dird+set}" = set; then
+ enableval="$enable_build_dird"
+ if test x$enableval = xno; then
+ build_dird=no
+ fi
+fi;
+if test x$build_dird = xyes; then
+ DIRD_DIR="src/dird"
+ DIR_TOOLS="DIRTOOLS"
+else
+ DIRD_DIR=""
+ DIR_TOOLS="NODIRTOOLS"
+fi
+
+
+
+# -------------------------------------------
+# stored (default on)
+# -------------------------------------------
+# Check whether --enable-build-stored or --disable-build-stored was given.
+if test "${enable_build_stored+set}" = set; then
+ enableval="$enable_build_stored"
+ if test x$enableval = xno; then
+ build_stored=no
+ fi
+fi;
+if test x$build_stored = xyes; then
+ STORED_DIR="src/stored"
+else
+ STORED_DIR=""
+fi
+
+