157
|
1 /* Lwlib site configuration template file. -*- C -*-
|
|
2 Copyright (C) 1997 Sun Microsystems, Inc.
|
149
|
3
|
|
4 This file is part of XEmacs.
|
|
5
|
|
6 XEmacs is free software; you can redistribute it and/or modify it
|
|
7 under the terms of the GNU General Public License as published by the
|
|
8 Free Software Foundation; either version 2, or (at your option) any
|
|
9 later version.
|
|
10
|
|
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
14 for more details.
|
|
15
|
|
16 You should have received a copy of the GNU General Public License
|
|
17 along with XEmacs; see the file COPYING. If not, write to
|
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
19 Boston, MA 02111-1307, USA. */
|
|
20
|
|
21 /* Not in FSF. */
|
|
22
|
163
|
23 #ifndef _LWLIB_CONFIG_H_
|
|
24 #define _LWLIB_CONFIG_H_
|
149
|
25
|
163
|
26 #include <../src/config.h>
|
|
27 #if 0
|
149
|
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
|
157
|
33
|
149
|
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
|
157
|
42
|
|
43 #endif /* C code */
|
|
44
|
|
45 #undef HAVE_UNISTD_H
|
|
46 #undef HAVE_LIMITS_H
|
163
|
47 #undef STDC_HEADERS
|
157
|
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
|
159
|
58 /* Required for most XFree86 systems */
|
|
59 #undef NARROWPROTO
|
163
|
60 #endif
|
157
|
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
|
|
92 #undef NEED_MOTIF
|
|
93 #undef NEED_ATHENA
|
177
|
94 #undef USE_XFONTSET
|
157
|
95
|
|
96 #if defined (LWLIB_MENUBARS_LUCID) || defined (LWLIB_SCROLLBARS_LUCID)
|
|
97 #define NEED_LUCID
|
|
98 #endif
|
149
|
99
|
185
|
100 #endif /* _LWLIB_CONFIG_H_ */
|