Mercurial > hg > xemacs-beta
comparison lwlib/config.h.in @ 157:6b37e6ddd302 r20-3b5
Import from CVS: tag r20-3b5
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:40:41 +0200 |
parents | 538048ae2ab8 |
children | 3bb7ccffb0c0 |
comparison
equal
deleted
inserted
replaced
156:60baf0b43294 | 157:6b37e6ddd302 |
---|---|
1 /* XEmacs site configuration template file. -*- C -*- | 1 /* Lwlib site configuration template file. -*- C -*- |
2 Copyright (C) 1986, 1991, 1992, 1993, 1994 Free Software Foundation, Inc. | 2 Copyright (C) 1997 Sun Microsystems, Inc. |
3 | 3 |
4 This file is part of XEmacs. | 4 This file is part of XEmacs. |
5 | 5 |
6 XEmacs is free software; you can redistribute it and/or modify it | 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 | 7 under the terms of the GNU General Public License as published by the |
26 /* alloca twiddling belongs in one place, not the s&m headers | 26 /* alloca twiddling belongs in one place, not the s&m headers |
27 AIX requires this to be the first thing in the file. */ | 27 AIX requires this to be the first thing in the file. */ |
28 #undef HAVE_ALLOCA_H | 28 #undef HAVE_ALLOCA_H |
29 | 29 |
30 #ifndef NOT_C_CODE | 30 #ifndef NOT_C_CODE |
31 | |
31 #ifdef __GNUC__ | 32 #ifdef __GNUC__ |
32 #undef alloca | 33 #undef alloca |
33 #define alloca __builtin_alloca | 34 #define alloca __builtin_alloca |
34 #elif defined(_AIX) | 35 #elif defined(_AIX) |
35 #pragma alloca | 36 #pragma alloca |
36 #elif HAVE_ALLOCA_H | 37 #elif HAVE_ALLOCA_H |
37 #include <alloca.h> | 38 #include <alloca.h> |
38 #endif | 39 #endif |
39 #endif /* NOT C */ | 40 |
41 #endif /* C code */ | |
42 | |
43 #undef HAVE_UNISTD_H | |
44 #undef HAVE_LIMITS_H | |
45 #undef CONST_IS_LOSING | |
46 | |
47 #ifndef NeedFunctionPrototypes | |
48 #define NeedFunctionPrototypes 1 | |
49 #endif | |
50 | |
51 #ifndef FUNCPROTO | |
52 #define FUNCPROTO 15 | |
53 #endif | |
54 | |
55 /* widget feature definitions */ | |
56 #undef LWLIB_MENUBARS_LUCID | |
57 #undef LWLIB_MENUBARS_MOTIF | |
58 | |
59 #if defined (LWLIB_MENUBARS_LUCID) | |
60 #define MENUBARS_LUCID | |
61 #elif defined (LWLIB_MENUBARS_MOTIF) | |
62 #define MENUBARS_MOTIF | |
63 #endif | |
64 | |
65 #undef LWLIB_SCROLLBARS_LUCID | |
66 #undef LWLIB_SCROLLBARS_MOTIF | |
67 #undef LWLIB_SCROLLBARS_ATHENA | |
68 | |
69 #if defined (LWLIB_SCROLLBARS_LUCID) | |
70 #define SCROLLBARS_LUCID | |
71 #elif defined(LWLIB_SCROLLBARS_MOTIF) | |
72 #define SCROLLBARS_MOTIF | |
73 #elif defined (LWLIB_SCROLLBARS_ATHENA) | |
74 #define SCROLLBARS_ATHENA | |
75 #endif | |
76 | |
77 #undef LWLIB_DIALOGS_MOTIF | |
78 #undef LWLIB_DIALOGS_ATHENA | |
79 | |
80 #if defined (LWLIB_DIALOGS_MOTIF) | |
81 #define DIALOGS_MOTIF | |
82 #elif defined (LWLIB_DIALOGS_ATHENA) | |
83 #define DIALOGS_ATHENA | |
84 #endif | |
85 | |
86 #undef NEED_MOTIF | |
87 #undef NEED_ATHENA | |
88 | |
89 #if defined (LWLIB_MENUBARS_LUCID) || defined (LWLIB_SCROLLBARS_LUCID) | |
90 #define NEED_LUCID | |
91 #endif | |
40 | 92 |
41 #endif /* _CONFIG_H_ */ | 93 #endif /* _CONFIG_H_ */ |