-echo ""
-echo "Now you have to choose a suitable directory for variable files."
-echo "Normally, this directory would be something like /var/local/helm, you"
-echo "have to be sure that the directory (and the subdirectories in it)"
-echo "is world-writable."
-echo ""
-AC_CACHE_CHECK(
- "for the variable dir [[[/var/local/helm]]]",
- helm_cv_HELM_VAR_DIR,
- read helm_cv_HELM_VAR_DIR
- if test x$helm_cv_HELM_VAR_DIR = x; then
- helm_cv_HELM_VAR_DIR="/var/local/helm"
- fi
-)
-HELM_VAR_DIR=$helm_cv_HELM_VAR_DIR
+if test $USE_DEFAULTS != yes; then
+ echo
+ echo "Now you have to choose a suitable directory for variable files."
+ echo "Normally, this directory would be something like /var/local/helm, you"
+ echo "have to be sure that the directory (and the subdirectories in it)"
+ echo "is world-writable."
+ echo
+ echo -n "[[$DEFAULT_HELM_VAR_DIR]] ? "
+ read HELM_VAR_DIR
+ echo
+ if test x$HELM_VAR_DIR = x; then
+ HELM_VAR_DIR="/var/local/helm"
+ fi
+else
+ HELM_VAR_DIR=$DEFAULT_HELM_VAR_DIR
+fi
+
+AC_MSG_CHECKING(for HELM variable dir)
+AC_MSG_RESULT($HELM_VAR_DIR)