+# Test for valid database names
+if test "$DB_TYPE" == "mysql" ; then
+ echo "$as_me:$LINENO: checking if database name is valid" >&5
+echo $ECHO_N "checking if database name is valid... $ECHO_C" >&6
+ if echo $DB_DATABASE | $AWK '/-/ { exit 1 }' ; then
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+else
+ { { echo "$as_me:$LINENO: error: no. database name ($DB_DATABASE) contains '-' which is not valid for mysql" >&5
+echo "$as_me: error: no. database name ($DB_DATABASE) contains '-' which is not valid for mysql" >&2;}
+ { (exit 1); exit 1; }; }
+
+fi
+
+
+
+fi
+
+
+
+
+# Check whether --with-apachectl or --without-apachectl was given.
+if test "${with_apachectl+set}" = set; then
+ withval="$with_apachectl"
+ APACHECTL=$withval
+else
+ APACHECTL=`which apachectl`
+fi;
+
+
+
+# Check whether --with-devel-mode or --without-devel-mode was given.
+if test "${with_devel_mode+set}" = set; then
+ withval="$with_devel_mode"
+ RT_STANDALONE="1"
+else
+ RT_STANDALONE="0"
+fi;
+
+
+
+# Check whether --with-devel-mode or --without-devel-mode was given.
+if test "${with_devel_mode+set}" = set; then
+ withval="$with_devel_mode"
+ RT_DEVEL_MODE="1"
+else
+ RT_DEVEL_MODE="0"
+fi;
+