]> git.lyx.org Git - lyx.git/blob - acconfig.h
the export patch from Dekel
[lyx.git] / acconfig.h
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 1 if NLS is requested.  */
21 #undef ENABLE_NLS
22
23 /* define this to the location of forms.h to be used with #include,
24   e.g. <forms.h> */
25 #undef FORMS_H_LOCATION
26
27 /* Define if your locale.h file contains LC_MESSAGES.  */
28 #undef HAVE_LC_MESSAGES
29
30 /* Define as 1 if you have catgets and don't want to use GNU gettext.  */
31 #undef HAVE_CATGETS
32
33 /* Define as 1 if you have gettext and don't want to use GNU gettext.  */
34 #undef HAVE_GETTEXT
35
36 /* Define as 1 if you have the stpcopy function */
37 #undef HAVE_STPCPY
38
39 /* define this to the location of xpm.h to be used with #include,
40   e.g. <xpm.h> */
41 #undef XPM_H_LOCATION
42
43 /* here are the defines for what Toolkit to use (default is XForms) */
44 #undef KDEGUI
45
46 #undef GTKGUI
47
48 #undef HAVE_LIBSM
49
50 #undef USE_PSPELL
51
52 @BOTTOM@ 
53
54 /************************************************************ 
55  ** You should not need to change anything beyond this point */
56
57 /* even though -ansi might have been specified for gcc, we want all
58   usual prototypes.  */
59 #ifdef __STRICT_ANSI__
60 /**/#undef __STRICT_ANSI__
61 #endif
62
63 #ifndef HAVE_STRCHR
64 #define strchr(a,b)     index(a,b)
65 #endif
66
67 #ifndef HAVE_MEMMOVE
68 #define memmove(a, b, c)  bcopy(b, a, c)
69 #endif
70
71 #ifndef HAVE_STRERROR
72 #if defined (__cplusplus)
73 extern "C"
74 #endif
75 char * strerror(int n);
76 #endif
77
78 #ifdef BROKEN_HEADERS
79 #include "broken_headers.h"
80 #endif
81
82 /* C++ always support the keyword `inline' */
83 #if defined inline && defined __cplusplus
84 /**/#undef inline
85 #endif
86
87 /* C++ always has a good enough `const' */
88 #if defined const && defined __cplusplus
89 /**/#undef const
90 #endif
91
92 /* Check on the run if we are using exceptions during this compilation.*/
93 #if defined(__sgi) || defined(__GNUC__)
94 #  ifdef __EXCEPTIONS
95 #    define USING_EXCEPTIONS
96 #  endif
97 #endif
98
99 #if defined(__USLC__) || defined(__SUNPRO_CC) || defined(__COMO__) || defined(__ICL)
100 #  define USING_EXCEPTIONS
101 #endif
102
103 #ifdef __EMX__
104 #include "os2_defines.h"
105 #endif
106
107 #ifdef VMS
108 #include "vms_defines.h"
109 #endif
110
111 #if defined(__CYGWIN__) || defined( __CYGWIN32__)
112 #include "nt_defines.h"
113 #endif
114
115 #endif /* _CONFIG_H */
116