-if test $RES = "no"; then
- RES=""
- AC_CACHE_VAL(mmlinterface_cv_LABLGTKMATHVIEW_LIB_DIR,
- echo "In which directory can I find the lablgtkmathview library? (I haven't found it in the usual location $OCAML_ROOT/lablgtkmathview)"
- read mmlinterface_cv_LABLGTKMATHVIEW_LIB_DIR
- RES="Asked"
- )
- LABLGTKMATHVIEW_LIB_DIR=$mmlinterface_cv_LABLGTKMATHVIEW_LIB_DIR
- if test "$RES" != "Asked"; then
- LABLGTKMATHVIEW_LIB_DIR=`eval "echo $LABLGTKMATHVIEW_LIB_DIR"`
- fi
- AC_CACHE_SAVE
-fi
-
-AC_MSG_CHECKING("for the bin dir")
-HELM_BIN_DIR=$RESOLVED_EXEC_PREFIX/bin
-AC_MSG_RESULT($HELM_BIN_DIR)
-
-AC_MSG_CHECKING("for the helm configuration dir")
-RES=""
-AC_CACHE_VAL(helm_cv_HELM_DEFAULT_CONFIGURATION_DIR,
- echo "In which directory can I find configuration.xml (part of the helm_configuration package)?"
- read helm_cv_HELM_DEFAULT_CONFIGURATION_DIR
- RES="Asked"
-)
-HELM_DEFAULT_CONFIGURATION_DIR=$helm_cv_HELM_DEFAULT_CONFIGURATION_DIR
-if test "$RES" != "Asked" ; then
- HELM_DEFAULT_CONFIGURATION_DIR=`eval "echo $HELM_DEFAULT_CONFIGURATION_DIR"`
- AC_MSG_RESULT($HELM_DEFAULT_CONFIGURATION_DIR)
+if test $DEFAULTS = no; then
+ echo
+ echo "Where can I find the lablgtkmathview library?"
+ echo
+ echo -n "[[$DEFAULT_LABLGTKMATHVIEW_LIB_DIR]] ? "
+ read LABLGTKMATHVIEW_LIB_DIR
+ echo
+ if test "x$LABLGTKMATHVIEW_LIB_DIR" = x; then
+ LABLGTKMATHVIEW_LIB_DIR=$DEFAULT_LABLGTKMATHVIEW_LIB_DIR
+ fi
+elif test $DEFAULTS = yes; then
+ LABLGTKMATHVIEW_LIB_DIR=$DEFAULT_LABLGTKMATHVIEW_LIB_DIR