AC_MSG_WARN(Could not find dictionary.xml. Where is it?)
read helm_cv_GTKMATHVIEW_DICTIONARY_PATH
RES="Asked"
- else
- AC_MSG_RESULT("yes")
fi
)
GTKMATHVIEW_DICTIONARY_PATH=$helm_cv_GTKMATHVIEW_DICTIONARY_PATH
AC_CACHE_SAVE
AC_MSG_CHECKING("for font-configuration.xml")
+RES=""
AC_CACHE_VAL(helm_cv_GTKMATHVIEW_FONT_CONFIGURATION_PATH,
helm_cv_GTKMATHVIEW_FONT_CONFIGURATION_PATH=$GTKMATHVIEW_PREFIX/share/gtkmathview/font-configuration.xml
if test ! -f $helm_cv_GTKMATHVIEW_FONT_CONFIGURATION_PATH ; then
echo ""
AC_MSG_WARN(Could not find font-configuration.xml. Where is it?)
read helm_cv_GTKMATHVIEW_FONT_CONFIGURATION_PATH
- else
- AC_MSG_RESULT("yes")
+ RES="Asked"
fi
)
-GTKMATHVIEW_FONT_CONFIGURATION_PATH=helm_cv_GTKMATHVIEW_FONT_CONFIGURATION_PATH
+GTKMATHVIEW_FONT_CONFIGURATION_PATH=$helm_cv_GTKMATHVIEW_FONT_CONFIGURATION_PATH
+if test "$RES" != "Asked" ; then
+ AC_MSG_RESULT($GTKMATHVIEW_FONT_CONFIGURATION_PATH)
+fi
AC_CACHE_SAVE
AC_MSG_CHECKING("for t1.config")
+RES=""
AC_CACHE_VAL(helm_cv_GTKMATHVIEW_T1_CONFIG_FILE,
- GTKMATHVIEW_T1_CONFIG_FILE=$GTKMATHVIEW_PREFIX/share/gtkmathview/t1.config
- if test ! -f $GTKMATHVIEW_T1_CONFIG_FILE ; then
+ helm_cv_GTKMATHVIEW_T1_CONFIG_FILE=$GTKMATHVIEW_PREFIX/share/gtkmathview/t1.config
+ if test ! -f $helm_cv_GTKMATHVIEW_T1_CONFIG_FILE ; then
echo ""
AC_MSG_WARN(Could not find t1.config. Where is it?)
- read GTKMATHVIEW_T1_CONFIG_FILE
- else
- AC_MSG_RESULT("yes")
+ read helm_cv_GTKMATHVIEW_T1_CONFIG_FILE
+ RES="Asked"
fi
)
-GTKMATHVIEW_T1_CONFIG_FILE=helm_cv_GTKMATHVIEW_T1_CONFIG_FILE
+GTKMATHVIEW_T1_CONFIG_FILE=$helm_cv_GTKMATHVIEW_T1_CONFIG_FILE
+if test "$RES" != "Asked" ; then
+ AC_MSG_RESULT($GTKMATHVIEW_T1_CONFIG_FILE)
+fi
AC_CACHE_SAVE
HELM_FONT_CONFIGURATION_PATH=$HELM_ETC_DIR/helm-font-configuration.xml
dnl Only for HELM XML configuration
-AC_MSG_WARN(Where should I put the downloaded library? Note: the directory and all the files and subdirectories recursively in it should be world writeable)
-read HELM_LIBRARY_PREFIX
+AC_MSG_CHECKING("for the library path")
+RES=""
+AC_CACHE_VAL(helm_cv_HELM_LIBRARY_PREFIX,
+ echo "Where should I put the downloaded library? Note: the directory and all the files and subdirectories recursively in it should be world writeable"
+ read helm_cv_HELM_LIBRARY_PREFIX
+ RES="Asked"
+)
+HELM_LIBRARY_PREFIX=$helm_cv_HELM_LIBRARY_PREFIX
+if test "$RES" != "Asked" ; then
+ AC_MSG_RESULT($HELM_LIBRARY_PREFIX)
+fi
+AC_CACHE_SAVE
+
CONFIGURATION_HELM_DIR=$HELM_LIBRARY_PREFIX/library
dnl CSC: ERROR: getters should download the DTDs
AC_SUBST(CONFIGURATION_SERVERS_FILE)
AC_SUBST(CONFIGURATION_URIS_DBM)
AC_SUBST(CONFIGURATION_TMPDIR)
+AC_SUBST(CONFIGURATION_TMPDIR)
AC_OUTPUT(
[Makefile