comparison lwlib/config.h.in @ 243:f220cc83d72e r20-5b20

Import from CVS: tag r20-5b20
author cvs
date Mon, 13 Aug 2007 10:17:07 +0200
parents 3d6bfa290dbd
children 74fd4e045ea6
comparison
equal deleted inserted replaced
242:fc816b73a05f 243:f220cc83d72e
22 22
23 #ifndef _LWLIB_CONFIG_H_ 23 #ifndef _LWLIB_CONFIG_H_
24 #define _LWLIB_CONFIG_H_ 24 #define _LWLIB_CONFIG_H_
25 25
26 #include <../src/config.h> 26 #include <../src/config.h>
27 #if 0
28 /* alloca twiddling belongs in one place, not the s&m headers
29 AIX requires this to be the first thing in the file. */
30 #undef HAVE_ALLOCA_H
31
32 #ifndef NOT_C_CODE
33
34 #ifdef __GNUC__
35 #undef alloca
36 #define alloca __builtin_alloca
37 #elif defined(_AIX)
38 #pragma alloca
39 #elif HAVE_ALLOCA_H
40 #include <alloca.h>
41 #endif
42
43 #endif /* C code */
44
45 #undef HAVE_UNISTD_H
46 #undef HAVE_LIMITS_H
47 #undef STDC_HEADERS
48 #undef CONST_IS_LOSING
49
50 #ifndef NeedFunctionPrototypes
51 #define NeedFunctionPrototypes 1
52 #endif
53
54 #ifndef FUNCPROTO
55 #define FUNCPROTO 15
56 #endif
57
58 /* Required for most XFree86 systems */
59 #undef NARROWPROTO
60 #endif
61 /* widget feature definitions */
62 #undef LWLIB_MENUBARS_LUCID
63 #undef LWLIB_MENUBARS_MOTIF
64
65 #if defined (LWLIB_MENUBARS_LUCID)
66 #define MENUBARS_LUCID
67 #elif defined (LWLIB_MENUBARS_MOTIF)
68 #define MENUBARS_MOTIF
69 #endif
70
71 #undef LWLIB_SCROLLBARS_LUCID
72 #undef LWLIB_SCROLLBARS_MOTIF
73 #undef LWLIB_SCROLLBARS_ATHENA
74
75 #if defined (LWLIB_SCROLLBARS_LUCID)
76 #define SCROLLBARS_LUCID
77 #elif defined(LWLIB_SCROLLBARS_MOTIF)
78 #define SCROLLBARS_MOTIF
79 #elif defined (LWLIB_SCROLLBARS_ATHENA)
80 #define SCROLLBARS_ATHENA
81 #endif
82
83 #undef LWLIB_DIALOGS_MOTIF
84 #undef LWLIB_DIALOGS_ATHENA
85
86 #if defined (LWLIB_DIALOGS_MOTIF)
87 #define DIALOGS_MOTIF
88 #elif defined (LWLIB_DIALOGS_ATHENA)
89 #define DIALOGS_ATHENA
90 #endif
91 27
92 #undef NEED_MOTIF 28 #undef NEED_MOTIF
93 #undef NEED_ATHENA 29 #undef NEED_ATHENA
94 #undef USE_XFONTSET 30 #undef NEED_LUCID
95
96 #if defined (LWLIB_MENUBARS_LUCID) || defined (LWLIB_SCROLLBARS_LUCID)
97 #define NEED_LUCID
98 #endif
99 31
100 #endif /* _LWLIB_CONFIG_H_ */ 32 #endif /* _LWLIB_CONFIG_H_ */