summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-09-15 19:55:15 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-09-15 19:55:15 (GMT)
commit8d986f5d3a2a40e40d2c9f584f921ed4cc4dd105 (patch)
tree80bc5b8e1fe89bbf6bd2fbbf2c640eb73313f626 /src/config.l
parent0503d26ad7375502459a05a3bb6ff67f1223a77f (diff)
downloadDoxygen-8d986f5d3a2a40e40d2c9f584f921ed4cc4dd105.zip
Doxygen-8d986f5d3a2a40e40d2c9f584f921ed4cc4dd105.tar.gz
Doxygen-8d986f5d3a2a40e40d2c9f584f921ed4cc4dd105.tar.bz2
Release-1.2.17-20020915
Diffstat (limited to 'src/config.l')
-rw-r--r--src/config.l35
1 files changed, 33 insertions, 2 deletions
diff --git a/src/config.l b/src/config.l
index 86b11eb..07fde20 100644
--- a/src/config.l
+++ b/src/config.l
@@ -1186,12 +1186,31 @@ void Config::check()
}
#undef PUTENV
+#undef GETENV
+#undef SEP
#if defined(_WIN32) && !defined(__GNUC__) && (__BORLANDC__ < 0x0550)
#define PUTENV _putenv
-#else
+#define GETENV _getenv
+#define SEP ";"
+#else
#define PUTENV putenv
+#define GETENV getenv
+#define SEP ":"
#endif
- if (Config_getBool("HAVE_DOT")) PUTENV("DOTFONTPATH=.");
+ if (Config_getBool("HAVE_DOT"))
+ {
+ char *curFontPath = GETENV("DOTFONTPATH");
+ int l=curFontPath ? strlen(curFontPath)+1 : 0;
+ static char *buf = 0;
+ buf = (char *)realloc(buf,strlen("DOTFONTPATH=.")+l+1);
+ strcpy(buf,"DOTFONTPATH=.");
+ if (l>0)
+ {
+ strcat(buf,SEP);
+ strcat(buf,curFontPath);
+ }
+ PUTENV(buf);
+ }
}
@@ -2148,6 +2167,18 @@ void Config::create()
"moment. \n",
FALSE
);
+ cs = addString(
+ "XML_SCHEMA",
+ "The XML_SCHEMA file can be used to specify an XML schema, \n"
+ "which can be used by a validating XML parser to check the \n"
+ "syntax of the XML files. \n"
+ );
+ cs = addString(
+ "XML_DTD",
+ "The XML_DTD file can be used to specify an XML DTD, \n"
+ "which can be used by a validating XML parser to check the \n"
+ "syntax of the XML files. \n"
+ );
//--------------------------------------------------------------------------
addInfo( "DEF","configuration options for the AutoGen Definitions output");
//--------------------------------------------------------------------------