diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-09-15 19:55:15 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-09-15 19:55:15 (GMT) |
commit | 1c72ffcbe310e13d7dda73fa78d6ea4f93636c3e (patch) | |
tree | 80bc5b8e1fe89bbf6bd2fbbf2c640eb73313f626 /src/config.l | |
parent | 228f1d8a76b93c592888a9c454ecf93983f1e4e3 (diff) | |
download | Doxygen-1c72ffcbe310e13d7dda73fa78d6ea4f93636c3e.zip Doxygen-1c72ffcbe310e13d7dda73fa78d6ea4f93636c3e.tar.gz Doxygen-1c72ffcbe310e13d7dda73fa78d6ea4f93636c3e.tar.bz2 |
Release-1.2.17-20020915
Diffstat (limited to 'src/config.l')
-rw-r--r-- | src/config.l | 35 |
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"); //-------------------------------------------------------------------------- |