]> git.lyx.org Git - features.git/blob - acconfig.h
Some cleanup; fix a bug where bibtex entries list would have extraneous spaces.
[features.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 stl_string_fwd.h to be used with #include,
40   NOTE: Do not set it to <stl_string_fwd.h> as that will find the LyX
41         supplied version of the header.
42   e.g. <../include/stl_string_fwd.h> or better yet use an absolute path */
43 #undef STL_STRING_FWD_H_LOCATION
44
45 /* define this to the location of xpm.h to be used with #include,
46   e.g. <xpm.h> */
47 #undef XPM_H_LOCATION
48
49 @BOTTOM@ 
50
51 /************************************************************ 
52  ** You should not need to change anything beyond this point */
53
54 /* even though -ansi might have been specified for gcc, we want all
55   usual prototypes.  */
56 #ifdef __STRICT_ANSI__
57 /**/#undef __STRICT_ANSI__
58 #endif
59
60 #ifdef HAVE_MEMSET
61 #define BZERO(a,b)      memset(a,0,b)
62 #else
63 #define BZERO(a,b)      bzero(a,b)
64 #endif
65
66 #ifndef HAVE_STRCHR
67 #define strchr(a,b)     index(a,b)
68 #endif
69
70 #ifndef HAVE_MEMMOVE
71 #define memmove(a, b, c)  bcopy(b, a, c)
72 #endif
73
74 #ifndef HAVE_STRERROR
75 #if defined (__cplusplus)
76 extern "C"
77 #endif
78 char * strerror(int n);
79 #endif
80
81 #ifdef BROKEN_HEADERS
82 #include "broken_headers.h"
83 #endif
84
85 /* C++ always support the keyword `inline' */
86 #if defined inline && defined __cplusplus
87 /**/#undef inline
88 #endif
89
90 /* C++ always has a good enough `const' */
91 #if defined const && defined __cplusplus
92 /**/#undef const
93 #endif
94
95 /* Check on the run if we are using exceptions during this compilation.*/
96 #if defined(__sgi) || defined(__GNUC__)
97 #  ifdef __EXCEPTIONS
98 #    define USING_EXCEPTIONS
99 #  endif
100 #endif
101
102 #if defined(__USLC__) || defined(__SUNPRO_CC) || defined(__COMO__) || defined(__ICL)
103 #  define USING_EXCEPTIONS
104 #endif
105
106 #ifdef __EMX__
107 #include "os2_defines.h"
108 #endif
109
110 #ifdef VMS
111 #include "vms_defines.h"
112 #endif
113
114 #if defined(__CYGWIN__) || defined( __CYGWIN32__)
115 #include "nt_defines.h"
116 #endif
117
118 #endif /* _CONFIG_H */
119