--- sawfish/configure.in +++ sawfish/configure.in @@ -90,7 +90,7 @@ _cppflags="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} ${X_CFLAGS}" -AC_CHECK_HEADERS(X11/SM/SMlib.h X11/extensions/Xdbe.h) +AC_CHECK_HEADERS(X11/SM/SMlib.h X11/extensions/Xdbe.h,,,[#include ]) dnl Checks for X extensions/libraries XINERAMA_LIBS="" @@ -110,7 +110,7 @@ AC_CHECK_LIB(Xrandr, XRRUpdateConfiguration, [XRANDR_LIBS="-lXrandr" - AC_CHECK_HEADERS(X11/extensions/Xrandr.h)], + AC_CHECK_HEADERS(X11/extensions/Xrandr.h,,,[#include ])], [],[$X_LIBS -lX11 -lXext]) dnl Try using pkg-config first, since it looks like Xft2 may fail our