]> git.lyx.org Git - lyx.git/blob - acconfig.h
b7318d8d0e4f48d4be4b19c13e7f10c0e5954bb0
[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 #undef HAVE_LIBSM
44
45 #undef USE_PSPELL
46
47 /* Define as 1 if the MKSTEMP function is declared */
48 #undef HAVE_DECL_MKSTEMP
49
50 /* Define if you have the function prototype for snprintf().  */
51 #undef HAVE_DECL_SNPRINTF
52
53 /* Define if you have the function prototype for vsnprintf().  */
54 #undef HAVE_DECL_VSNPRINTF
55
56 /* Define if you have the function prototype istreambuf_iterator in
57    <iterator> */
58 #undef HAVE_DECL_ISTREAMBUF_ITERATOR
59
60 @BOTTOM@ 
61
62 /************************************************************ 
63  ** You should not need to change anything beyond this point */
64
65 #ifndef HAVE_STRCHR
66 #define strchr(a,b)     index(a,b)
67 #endif
68
69 #ifndef HAVE_MEMMOVE
70 #define memmove(a, b, c)  bcopy(b, a, c)
71 #endif
72
73 #ifndef HAVE_STRERROR
74 #if defined (__cplusplus)
75 extern "C"
76 #endif
77 char * strerror(int n);
78 #endif
79
80 #ifdef BROKEN_HEADERS
81 #include "broken_headers.h"
82 #endif
83
84 #ifdef HAVE_MKSTEMP
85 #ifndef HAVE_DECL_MKSTEMP
86 #if defined (__cplusplus)
87 extern "C"
88 #endif
89 int mkstemp(char*);
90 #endif
91 #endif
92
93 /* C++ always support the keyword `inline' */
94 #if defined inline && defined __cplusplus
95 /**/#undef inline
96 #endif
97
98 /* C++ always has a good enough `const' */
99 #if defined const && defined __cplusplus
100 /**/#undef const
101 #endif
102
103 /* Check on the run if we are using exceptions during this compilation.*/
104 #if defined(__sgi) || defined(__GNUC__)
105 #  ifdef __EXCEPTIONS
106 #    define USING_EXCEPTIONS
107 #  endif
108 #endif
109
110 #if defined(__USLC__) || defined(__SUNPRO_CC) || defined(__COMO__) || defined(__ICL)
111 #  define USING_EXCEPTIONS
112 #endif
113
114 #ifdef __EMX__
115 #include "os2_defines.h"
116 #endif
117
118 #ifdef VMS
119 #include "vms_defines.h"
120 #endif
121
122 #if defined(__CYGWIN__) || defined( __CYGWIN32__)
123 #include "nt_defines.h"
124 #endif
125
126 #endif /* _CONFIG_H */
127