dnl ---------------------------------------------------------------------------
dnl FIXME: won't works
-dnl AC_DEFINE_DIR(FGIS_CONFIG, "$sysconfdir", [Define this to the location of the global config file])
-AC_SUBST_DIR(FGIS_CONFIG,"$sysconfdir")
-AC_DEFINE_UNQUOTED(FGIS_CONFIG,"$FGIS_CONFIG",[Define this to the location of the global config file])
-AC_SUBST(FGIS_CONFIG,$FGIS_CONFIG)
+dnl AC_DEFINE_DIR(FGIS_CONFDIR, "$sysconfdir", [Define this to the location of the global config file])
+AC_SUBST_DIR(FGIS_CONFDIR,"$sysconfdir")
+AC_DEFINE_UNQUOTED(FGIS_CONFDIR,"$FGIS_CONFDIR",[Define this to the location of the global config file])
+AC_SUBST(FGIS_CONFDIR,$FGIS_CONFDIR)
dnl ---------------------------------------------------------------------------
dnl Handle placement of the engine module (fgis.so)
dnl Handle placement of the fGIS Tcl/Tk modules
dnl ---------------------------------------------------------------------------
-AC_SUBST_DIR(FGIS_SCRIPTS,"$libdir/fgis/tcl")
-AC_SUBST(FGIS_SCRIPTS,$FGIS_SCRIPTS)
+AC_SUBST_DIR(FGIS_SCRIPTDIR,"$libdir/fgis/tcl")
+AC_SUBST(FGIS_SCRIPTDIR,$FGIS_SCRIPTDIR)
dnl ---------------------------------------------------------------------------
dnl Define path for EPPL7 library sources. Temporary hack, the whole this