home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 10 / Fresh_Fish_10_2352.bin / new / dev / lang / sgmls / src / config.h < prev    next >
C/C++ Source or Header  |  1994-07-10  |  6KB  |  169 lines

  1. /* amiga.cfg: Configuration file for sgmls on Amiga. */
  2. /* Contributed by Kai Hofmann <i07m@zfn.uni-bremen.de>. */
  3.  
  4. /* A list of filename templates to use for searching for external entities.
  5. The filenames are separated by the character specified in PATH_FILE_SEP.
  6. See sgmls.man for details. */
  7. #define DEFAULT_PATH "sgml:;%N.%D;%N.%X"
  8.  
  9. /* The character that separates the filenames templates. */
  10. #define PATH_FILE_SEP ';'
  11.  
  12. /* The character that separates filenames in a system identifier.
  13. Usually the same as PATH_FILE_SEP. */
  14. #define SYSID_FILE_SEP ';'
  15.  
  16. /* The environment variable that contains the list of filename templates. */
  17. #define PATH_ENV_VAR "SGML_PATH"
  18.  
  19. /* A macro that returns non-zero if the filename is relative to the
  20.    current directory. */
  21. #define FILE_IS_RELATIVE(p) (strchr(p,':') == NULL)
  22.  
  23. /* A string containing the characters that can separate the directory
  24.    part of a filename from the basename. */
  25. #define DIR_BASE_SEP ":/"
  26.  
  27. /* The environment variable that contains the list of catalog entry files.
  28.    Filenames are separated by PATH_FILE_SEP. */
  29. #define CATALOG_FILES_ENV_VAR "SGML_CATALOG_FILES"
  30.  
  31. /* Default list of catalog entry files. */
  32. #define DEFAULT_CATALOG_FILES "CATALOG;sgml:CATALOG"
  33.  
  34. /* MIN_DAT_SUBS_FROM and MIN_DATS_SUBS_TO tell sgmls how to transform a name
  35. or system identifier into a legal filename.  A character in
  36. MIN_DAT_SUBS_FROM will be transformed into the character in the
  37. corresponding position in MIN_DAT_SUBS_TO.  If there is no such
  38. position, then the character is removed. */
  39. /* This says that slashes, brackets and : will be removed from filenames */
  40. #define MIN_DAT_SUBS_FROM " /:();#?"
  41. #define MIN_DAT_SUBS_TO   "_"
  42.  
  43. /* Define this to allow tracing. */
  44. /* #define TRACE 1 */
  45.  
  46. /* Define this you want support for subdocuments.  This is implemented
  47. using features that are not part of Standard C, so you might not want
  48. to define it if you are porting to a new system.  Otherwise I suggest
  49. you leave it defined. */
  50. /* #define SUPPORT_SUBDOC 1 */ /* !!! */
  51.  
  52. /* Define HAVE_EXTENDED_PRINTF if your *printf functions supports
  53. X/Open extensions; if they do, then, for example,
  54.   printf("%2$s%1$s", "bar", "foo")
  55. should print `foobar'.  */
  56. /* #define HAVE_EXTENDED_PRINTF 1 */
  57.  
  58. /* Define HAVE_CAT if your system provides the X/Open message
  59. catalogue functions catopen() and catgets(), and you want to use them.
  60. An implementations of these functions is included and will be used if
  61. you don't define this.  On SunOS 4.1.1, if you do define this you
  62. should set CC=/usr/xpg2bin/cc in the makefile. */
  63. /* #define HAVE_CAT 1 */
  64.  
  65. #ifdef __STDC__
  66. /* Define this if your compiler supports prototypes. */
  67.   #define USE_PROTOTYPES 1
  68. #endif
  69.  
  70. /* Can't use <stdarg.h> without prototypes. */
  71. #ifndef USE_PROTOTYPES
  72.   #define VARARGS 1
  73. #endif
  74.  
  75. /* If your compiler defines __STDC__ but doesn't provide <stdarg.h>,
  76. you must define VARARGS yourself here. */
  77. /* #define VARARGS 1 */
  78.  
  79. /* Define this if you do not have strerror(). */
  80. /* #define STRERROR_MISSING 1 */
  81.  
  82. /* Define this unless the character testing functions in ctype.h
  83. are defined for all values representable as an unsigned char.  You do
  84. not need to define this if your system is ANSI C conformant.  You
  85. should define for old Unix systems. */
  86. /* #define USE_ISASCII 1 */
  87.  
  88. /* Define this if your system provides the BSD style string operations
  89. rather than ANSI C ones (eg bcopy() rather than memcpy(), and index()
  90. rather than strchr()). */
  91. /* #define BSD_STRINGS 1 */
  92.  
  93. /* Define this if you have getopt(). */
  94. /* #define HAVE_GETOPT 1 */
  95.  
  96. /* Define this if you have access(). */
  97. #define HAVE_ACCESS 1
  98.  
  99. /* Define this if you have <unistd.h>. */
  100. #define HAVE_UNISTD_H 1
  101.  
  102. /* Define this if you have <sys/stat.h>. */
  103. #define HAVE_SYS_STAT_H 1
  104.  
  105. /* Define this if you have waitpid(). */
  106. /* #define HAVE_WAITPID 1 */
  107.  
  108. /* Define this if your system is POSIX.1 (ISO 9945-1:1990) compliant. */
  109. /* #define POSIX 1 */
  110.  
  111. /* Define this if you have the vfork() system call. */
  112. /* #define HAVE_VFORK 1 */
  113.  
  114. /* Define this if you have <vfork.h>. */
  115. /* #define HAVE_VFORK_H 1 */
  116.  
  117. /* Define this if you don't have <stdlib.h> */
  118. /* #define STDLIB_H_MISSING 1 */
  119.  
  120. /* Define this if you don't have <stddef.h> */
  121. /* #define STDDEF_H_MISSING 1 */
  122.  
  123. /* Define this if you don't have <limits.h> */
  124. /* #define LIMITS_H_MISSING 1 */
  125.  
  126. /* Define this if you don't have remove(); unlink() will be used instead. */
  127. /* #define REMOVE_MISSING 1 */
  128.  
  129. /* Define this if you don't have raise(); kill() will be used instead. */
  130. /* #define RAISE_MISSING 1 */
  131.  
  132. /* Define this if you don't have fsetpos() and fgetpos(). */
  133. /* #define FPOS_MISSING 1 */
  134.  
  135. /* Universal pointer type. */
  136. /* If your compiler doesn't fully support void *, change `void' to `char'. */
  137. typedef void *UNIV;
  138.  
  139. /* If your compiler doesn't support void as a function return type,
  140. change `void' to `int'. */
  141. typedef void VOID;
  142.  
  143. /* If your compiler doesn't understand const, define it to be nothing. */
  144. #ifndef __STDC__
  145.   #ifndef const
  146.     #define const /* as nothing */
  147.   #endif
  148. #endif
  149.  
  150. /* If you don't have an ANSI C conformant <limits.h>, define
  151. CHAR_SIGNED as 1 or 0 according to whether the `char' type is signed.
  152. The <limits.h> on some versions of System Release V 3.2 is not ANSI C
  153. conformant: the value of CHAR_MIN is 0 even though the `char' type is
  154. signed. */
  155.  
  156. /* #define CHAR_SIGNED 1 */
  157. /* #define CHAR_SIGNED 0 */
  158. #ifndef CHAR_SIGNED
  159.   #include <limits.h>
  160.   #if CHAR_MIN < 0
  161.     #define CHAR_SIGNED 1
  162.   #else
  163.     #define CHAR_SIGNED 0
  164.   #endif
  165. #endif /* not CHAR_SIGNED */
  166.  
  167. /* Assume the system character set is ISO Latin-1. */
  168. #include "latin1.h"
  169.