Mercurial > hg > xemacs-beta
diff lwlib/config.h.in @ 398:74fd4e045ea6 r21-2-29
Import from CVS: tag r21-2-29
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:13:30 +0200 |
parents | f220cc83d72e |
children | b8cc9ab3f761 |
line wrap: on
line diff
--- a/lwlib/config.h.in Mon Aug 13 11:12:06 2007 +0200 +++ b/lwlib/config.h.in Mon Aug 13 11:13:30 2007 +0200 @@ -29,4 +29,19 @@ #undef NEED_ATHENA #undef NEED_LUCID +/* The path to the Athena widgets - the usual value is `X11/Xaw' */ +#undef ATHENA_H_PATH + +/* For use in #include statements. + You can't use macros directly within the <> of a #include statement. + The multiply nested macros are necessary to make old gcc's happy. + However, those nested macros are too much for AIX xlc to deal with. */ +#if defined(_AIX) && !defined(__GNUC__) +#define ATHENA_INCLUDE(header_file) <ATHENA_H_PATH/header_file> +#else +#define INCLUDE_GLUE_2(dirname,basename) <##dirname##/##basename##> +#define INCLUDE_GLUE_1(dirname,basename) INCLUDE_GLUE_2(dirname,basename) +#define ATHENA_INCLUDE(header_file) INCLUDE_GLUE_1(ATHENA_H_PATH,header_file) +#endif + #endif /* _LWLIB_CONFIG_H_ */