This commit was manufactured by cvs2svn to create tag 'lyx-20000221'.
[lyx.git] / acconfig.h
blobb0a1e0b0d3a84b22d6f14771b49e3ec1ae2f5e2e
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
6 * This file is part of
7 * ======================================================
9 * LyX, the High Level Word Processor
11 * Copyright (C) 1995 Matthias Ettrich
13 *======================================================*/
15 #ifndef _CONFIG_H
16 #define _CONFIG_H
18 @TOP@
20 /* Define to 1 if NLS is requested. */
21 #undef ENABLE_NLS
23 /* define this to the location of forms.h to be used with #include,
24 e.g. <forms.h> */
25 #undef FORMS_H_LOCATION
27 /* Define if your locale.h file contains LC_MESSAGES. */
28 #undef HAVE_LC_MESSAGES
30 /* Define as 1 if you have catgets and don't want to use GNU gettext. */
31 #undef HAVE_CATGETS
33 /* Define as 1 if you have gettext and don't want to use GNU gettext. */
34 #undef HAVE_GETTEXT
36 /* Define as 1 if you have the stpcopy function */
37 #undef HAVE_STPCPY
39 /* define this to the location of xpm.h to be used with #include,
40 e.g. <xpm.h> */
41 #undef XPM_H_LOCATION
43 @BOTTOM@
45 /************************************************************
46 ** You should not need to change anything beyond this point */
48 /* even though -ansi might have been specified for gcc, we want all
49 usual prototypes. */
50 #ifdef __STRICT_ANSI__
51 /**/#undef __STRICT_ANSI__
52 #endif
54 #ifndef HAVE_STRCHR
55 #define strchr(a,b) index(a,b)
56 #endif
58 #ifndef HAVE_MEMMOVE
59 #define memmove(a, b, c) bcopy(b, a, c)
60 #endif
62 #ifndef HAVE_STRERROR
63 #if defined (__cplusplus)
64 extern "C"
65 #endif
66 char * strerror(int n);
67 #endif
69 #ifdef BROKEN_HEADERS
70 #include "broken_headers.h"
71 #endif
73 /* C++ always support the keyword `inline' */
74 #if defined inline && defined __cplusplus
75 /**/#undef inline
76 #endif
78 /* C++ always has a good enough `const' */
79 #if defined const && defined __cplusplus
80 /**/#undef const
81 #endif
83 /* Check on the run if we are using exceptions during this compilation.*/
84 #if defined(__sgi) || defined(__GNUC__)
85 # ifdef __EXCEPTIONS
86 # define USING_EXCEPTIONS
87 # endif
88 #endif
90 #if defined(__USLC__) || defined(__SUNPRO_CC) || defined(__COMO__) || defined(__ICL)
91 # define USING_EXCEPTIONS
92 #endif
94 #ifdef __EMX__
95 #include "os2_defines.h"
96 #endif
98 #ifdef VMS
99 #include "vms_defines.h"
100 #endif
102 #if defined(__CYGWIN__) || defined( __CYGWIN32__)
103 #include "nt_defines.h"
104 #endif
106 #endif /* _CONFIG_H */