Index: config.auto.h.in =================================================================== --- config.auto.h.in (revision 473) +++ config.auto.h.in (revision 474) @@ -100,13 +100,7 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ -/* Define to 1 if Xinerama is available */ -#define HAVE_XINERAMA 1 -/* Define to 1 if Xrender is available */ -#define HAVE_XRENDER 1 - - /* Define to 1 if you have the `_spawnvp' function. */ /* #undef HAVE__SPAWNVP */ @@ -263,7 +257,12 @@ default print [@#define WRAP_S_ISLNK(x) @/target/libs/fs/stat/macros/S_ISLNK@(x)@]; end; end; +print {\n\n/* Define to 1 if Xinerama is available */\n} +print_ternary libs/gui/xinerama/presents {#define HAVE_XINERAMA 1} {#undef /* HAVE_XINERAMA 1 */} +print {\n\n/* Define to 1 if Xrender is available */\n} +print_ternary libs/gui/xrender/presents {#define HAVE_XRENDER 1} {#undef /* HAVE_XRENDER 1 */} + print [@ /* Directory separator char */