af8ab48944ccdb81b58f19ed10803237b84639c7
[chise/xemacs-chise.git.1] / lwlib / config.h.in
1 /* Lwlib site configuration template file.  -*- C -*-
2    Copyright (C) 1997 Sun Microsystems, Inc.
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
23 #ifndef _LWLIB_CONFIG_H_
24 #define _LWLIB_CONFIG_H_
25
26 #include <../src/config.h>
27
28 #undef NEED_MOTIF
29 #undef NEED_ATHENA
30 #undef NEED_LUCID
31
32 /* The path to the Athena widgets - the usual value is `X11/Xaw' */
33 #undef ATHENA_H_PATH
34
35 /* For use in #include statements.
36    You can't use macros directly within the <> of a #include statement.
37    The multiply nested macros are necessary to make old gcc's happy.
38    However, those nested macros are too much for AIX xlc to deal with. */
39 #if defined(_AIX) && !defined(__GNUC__)
40 #define ATHENA_INCLUDE(header_file) <ATHENA_H_PATH/header_file>
41 #else
42 #define INCLUDE_GLUE_2(dirname,basename) <##dirname##/##basename##>
43 #define INCLUDE_GLUE_1(dirname,basename) INCLUDE_GLUE_2(dirname,basename)
44 #define ATHENA_INCLUDE(header_file) INCLUDE_GLUE_1(ATHENA_H_PATH,header_file)
45 #endif
46
47 #endif /* _LWLIB_CONFIG_H_ */