RESOLVED_EXEC_PREFIX=$RESOLVED_PREFIX
fi
+dnl General
HELM_LIB_DIR=$RESOLVED_EXEC_PREFIX/lib/helm
HELM_ETC_DIR=$RESOLVED_PREFIX/etc/helm
+
+dnl Only for GtkMathview XML configuration
HELM_DICTIONARY_PATH=/projects/helm/V7/phd/local/etc/helm/helm-dictionary.xml
GTKMATHVIEW_DICTIONARY_PATH=/projects/helm/local/share/gtkmathview/dictionary.xml
HELM_FONT_CONFIGURATION_PATH=/projects/helm/V7/phd/local/etc/helm/helm-font-configuration.xml
GTKMATHVIEW_FONT_CONFIGURATION_PATH=/projects/helm/local/share/gtkmathview/font-configuration.xml
HELM_T1_CONFIG_FILE=/projects/helm/local/share/gtkmathview/t1.config
+dnl Only for HELM XML configuration
+CONFIGURATION_HELM_DIR=/home/pauillac/coq3/sacerdot/HELM/V6.2/examples
+CONFIGURATION_DTD_DIR=/home/pauillac/coq3/sacerdot/HELM/dtd
+CONFIGURATION_SERVERS_FILE=/home/pauillac/coq3/sacerdot/HELM/V6.2/servers.txt
+CONFIGURATION_URIS_DBM=/home/pauillac/coq3/sacerdot/HELM/V6.2/urls_of_uris
+CONFIGURATION_TMPDIR=/tmp
+CONFIGURATION_GETTER_URL=http://localhost:8081/get?uri=
+
AC_SUBST(HELM_LIB_DIR)
AC_SUBST(HELM_ETC_DIR)
AC_SUBST(HELM_DICTIONARY_PATH)
AC_SUBST(HELM_FONT_CONFIGURATION_PATH)
AC_SUBST(GTKMATHVIEW_FONT_CONFIGURATION_PATH)
AC_SUBST(HELM_T1_CONFIG_FILE)
+AC_SUBST(CONFIGURATION_HELM_DIR)
+AC_SUBST(CONFIGURATION_DTD_DIR)
+AC_SUBST(CONFIGURATION_SERVERS_FILE)
+AC_SUBST(CONFIGURATION_URIS_DBM)
+AC_SUBST(CONFIGURATION_TMPDIR)
+AC_SUBST(CONFIGURATION_GETTER_URL)
AC_OUTPUT(
[Makefile
-helm-math-engine-configuration.xml
+helm-math-engine-configuration.xml configuration.xml
+++ /dev/null
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE configuration SYSTEM "configuration.dtd">
-
-<configuration>
- <helm_dir>/home/pauillac/coq3/sacerdot/HELM/V6.2/examples</helm_dir>
-
- <dtd_dir>/home/pauillac/coq3/sacerdot/HELM/dtd</dtd_dir>
- <servers_file>/home/pauillac/coq3/sacerdot/HELM/V6.2/servers.txt</servers_file>
- <uris_dbm>/home/pauillac/coq3/sacerdot/HELM/V6.2/urls_of_uris</uris_dbm>
- <dest><value-of var="helm_dir"/></dest>
- <indexname>index.txt</indexname>
- <tmpdir>/tmp</tmpdir>
-
- <helm_url_path>/home/lpadovan/helm/PARSER/examples</helm_url_path>
- <getheader_url>http://localhost/really_very_local/helm/header/getheader.xml</getheader_url>
- <style_url>http://localhost/really_very_local/helm/style/</style_url>
- <webeq_url>http://localhost/cgi-bin/helm/webeq.pl</webeq_url>
- <webeqp_url>http://localhost/cgi-bin/helm/webeqp.pl</webeqp_url>
- <use_webeqp_url>http://localhost/cgi-bin/helm/use_webeqp.pl</use_webeqp_url>
- <html_link><value-of var="getheader_url"/>?baseurl=<value-of var="style_url"/>&stylesheet1=rootcontent.xsl&stylesheet2=content_to_html.xsl&xmluri=</html_link>
- <getter_url>http://localhost:8081/get?uri=</getter_url>
-</configuration>
--- /dev/null
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE configuration SYSTEM "configuration.dtd">
+
+<configuration>
+ <helm_dir>@CONFIGURATION_HELM_DIR@</helm_dir>
+
+ <dtd_dir>@CONFIGURATION_DTD_DIR@</dtd_dir>
+ <servers_file>@CONFIGURATION_SERVERS_FILE@</servers_file>
+ <uris_dbm>@CONFIGURATION_URIS_DBM@</uris_dbm>
+ <dest><value-of var="helm_dir"/></dest>
+ <indexname>index.txt</indexname>
+ <tmpdir>@TMPDIR@</tmpdir>
+
+ <helm_url_path>/home/lpadovan/helm/PARSER/examples</helm_url_path>
+ <getheader_url>http://localhost/really_very_local/helm/header/getheader.xml</getheader_url>
+ <style_url>http://localhost/really_very_local/helm/style/</style_url>
+ <webeq_url>http://localhost/cgi-bin/helm/webeq.pl</webeq_url>
+ <webeqp_url>http://localhost/cgi-bin/helm/webeqp.pl</webeqp_url>
+ <use_webeqp_url>http://localhost/cgi-bin/helm/use_webeqp.pl</use_webeqp_url>
+ <html_link><value-of var="getheader_url"/>?baseurl=<value-of var="style_url"/>&stylesheet1=rootcontent.xsl&stylesheet2=content_to_html.xsl&xmluri=</html_link>
+ <getter_url>@CONFIGURATION_GETTER_URL@</getter_url>
+</configuration>