X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lwlib%2Fconfig.h.in;h=7537c206ff4cb7feb0544e63be477e7e6303be07;hb=fb591ca1a442751309737e6d7648d3fee99944d5;hp=de51ba5456a596a51c809319a10d4d6362903efb;hpb=b5eeb6918c29470b36f8461c402eb0c65cb19bd2;p=chise%2Fxemacs-chise.git- diff --git a/lwlib/config.h.in b/lwlib/config.h.in index de51ba5..7537c20 100644 --- a/lwlib/config.h.in +++ b/lwlib/config.h.in @@ -31,13 +31,10 @@ Boston, MA 02111-1307, USA. */ /* 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. */ -#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) - +#ifdef ATHENA_H_PATH +# define ATHENA_INCLUDE(file) SMART_INCLUDE (ATHENA_H_PATH,file) +#else +# define ATHENA_INCLUDE(file) +#endif #endif /* _LWLIB_CONFIG_H_ */