home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / lyx-0.13.2.tar.gz / lyx-0.13.2.tar / lyx-0.13.2 / config / acconfig.h next >
C/C++ Source or Header  |  1998-04-23  |  3KB  |  146 lines

  1. /* -*- C++ -*- */
  2. /* This is the compilation configuration file for LyX. It was generated by 
  3.    autoconf's configure. You might want to change some of the defaults if 
  4.    something goes wrong during the compilation
  5.    
  6.    * This file is part of
  7.    * ======================================================
  8.    *
  9.    *           LyX, the High Level Word Processor
  10.    *
  11.    *           Copyright (C) 1995 Matthias Ettrich
  12.    *
  13.    *======================================================*/
  14.  
  15. #ifndef _CONFIG_H
  16. #define _CONFIG_H
  17.  
  18. @TOP@
  19.  
  20. /* Define to work around a bug with const handling in gcc 2.7.[012] */
  21. #undef BROKEN_CONST
  22.  
  23. /* Define on SunOS 4 and SCO, were some functions are missing from the headers */
  24. #undef BROKEN_HEADERS
  25.  
  26. /* Define if you want debugging turned on as default. */
  27. #undef DEBUG_AS_DEFAULT
  28.  
  29. /* Define if you are building a development version of LyX */
  30. #undef DEVEL_VERSION
  31.  
  32. /* Define to 1 if NLS is requested.  */
  33. #undef ENABLE_NLS
  34.  
  35. /* Define to nothing if your compiler does not understand the
  36.    `explicit' directive */
  37. #undef explicit
  38.  
  39. /* define this to the location of forms.h to be used with #include,
  40.   e.g. <forms.h> */
  41. #undef FORMS_H_LOCATION
  42.  
  43. /* Define if your locale.h file contains LC_MESSAGES.  */
  44. #undef HAVE_LC_MESSAGES
  45.  
  46. /* Define as 1 if you have catgets and don't want to use GNU gettext.  */
  47. #undef HAVE_CATGETS
  48.  
  49. /* Define as 1 if you have gettext and don't want to use GNU gettext.  */
  50. #undef HAVE_GETTEXT
  51.  
  52. /* Define as 1 if you have the stpcopy function */
  53. #undef HAVE_STPCPY
  54.  
  55. /* Define if the bool type is known to your compiler */
  56. #undef HAVE_bool
  57.  
  58. /* Define to the name of the distribution.  */
  59. #undef PACKAGE
  60.  
  61. /* You might want to define TWO_COLOR_ICONS if you want to spare
  62.  your colormap.  This will use monochrome icons instead of colored
  63.  ones. */
  64. #undef TWO_COLOR_ICONS
  65.  
  66. /* Define to the version of the distribution.  */
  67. #undef VERSION
  68.  
  69. /* Define this if you want to see the #warning directives put here and
  70.    there by the developpers to get attention */
  71. #undef WITH_WARNINGS
  72.  
  73. /* define this to the location of xpm.h to be used with #include,
  74.   e.g. <xpm.h> */
  75. #undef XPM_H_LOCATION
  76.  
  77.  
  78. @BOTTOM@ 
  79.  
  80. /************************************************************ 
  81.  ** You should not need to change anything beyond this point */
  82.  
  83. /* even though -ansi might have been specified for gcc, we want all
  84.   usual prototypes.  */
  85. #ifdef __STRICT_ANSI__
  86. /**/#undef __STRICT_ANSI__
  87. #endif
  88.  
  89. #ifdef HAVE_MEMSET
  90. #define BZERO(a,b)      memset(a,0,b)
  91. #else
  92. #define BZERO(a,b)      bzero(a,b)
  93. #endif
  94.  
  95. #ifndef HAVE_STRCHR
  96. #define strchr(a,b)     index(a,b)
  97. #endif
  98.  
  99. #ifndef HAVE_MEMMOVE
  100. #define memmove(a, b, c)  bcopy(b, a, c)
  101. #endif
  102.  
  103. #ifndef HAVE_STRERROR
  104. #if defined (__cplusplus)
  105. extern "C"
  106. #endif
  107. char * strerror(int n);
  108. #endif
  109.  
  110. #ifndef HAVE_bool
  111. #define bool int
  112. #define true 1
  113. #define false 0
  114. #endif
  115.  
  116. #if SIZEOF_VOID_P == SIZEOF_INT
  117. # define PTR_AS_INT(p) int(p)
  118. #else
  119. # define PTR_AS_INT(p) long(p)
  120. #endif
  121.  
  122. #ifdef BROKEN_CONST
  123. #include <string.h>
  124. #include "broken_const.h"
  125. #endif  
  126.  
  127. #ifdef BROKEN_HEADERS
  128. #include "broken_headers.h"
  129. #endif
  130.  
  131. /* C++ always support the keyword `inline' */
  132. #if defined inline && defined __cplusplus
  133. /**/#undef inline
  134. #endif
  135.  
  136. #ifdef __EMX__
  137. #include "os2_defines.h"
  138. #endif
  139.  
  140. #ifdef VMS
  141. #include "vms_defines.h"
  142. #endif
  143.  
  144. #endif /* _CONFIG_H */
  145.  
  146.