comparison lwlib/config.h.in @ 406:b8cc9ab3f761 r21-2-33

Import from CVS: tag r21-2-33
author cvs
date Mon, 13 Aug 2007 11:17:09 +0200
parents 74fd4e045ea6
children de805c49cfc1
comparison
equal deleted inserted replaced
405:0e08f63c74d2 406:b8cc9ab3f761
29 #undef NEED_ATHENA 29 #undef NEED_ATHENA
30 #undef NEED_LUCID 30 #undef NEED_LUCID
31 31
32 /* The path to the Athena widgets - the usual value is `X11/Xaw' */ 32 /* The path to the Athena widgets - the usual value is `X11/Xaw' */
33 #undef ATHENA_H_PATH 33 #undef ATHENA_H_PATH
34 34 #ifdef ATHENA_H_PATH
35 /* For use in #include statements. 35 # define ATHENA_INCLUDE(file) SMART_INCLUDE (ATHENA_H_PATH,file)
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 36 #else
42 #define INCLUDE_GLUE_2(dirname,basename) <##dirname##/##basename##> 37 # define ATHENA_INCLUDE(file) <file>
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 38 #endif
46 39
47 #endif /* _LWLIB_CONFIG_H_ */ 40 #endif /* _LWLIB_CONFIG_H_ */