| 1 | # http://sourceforge.net/tracker/index.php?func=detail&aid=1663364&group_id=3372&atid=303372 |
|---|
| 2 | --- configure.in.orig 2006-11-17 17:03:07.000000000 +0100 |
|---|
| 3 | +++ configure.in 2007-01-21 14:33:51.000000000 +0100 |
|---|
| 4 | @@ -194,7 +252,7 @@ |
|---|
| 5 | AC_ARG_ENABLE(shape,[ --with-shape enable XShape support]) |
|---|
| 6 | AC_MSG_RESULT([$with_shape]) |
|---|
| 7 | if test "x$with_shape" != "xno"; then |
|---|
| 8 | -AC_CHECK_HEADER(X11/extensions/shape.h,CXXFLAGS="${CXXFLAGS} -DHAVE_XSHAPE_H=1") |
|---|
| 9 | +AC_CHECK_HEADERS(X11/extensions/shape.h,CXXFLAGS="${CXXFLAGS} -DHAVE_XSHAPE_H=1",, [#include <X11/Xlib.h>]) |
|---|
| 10 | fi |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | @@ -203,7 +261,7 @@ |
|---|
| 14 | AC_MSG_RESULT([$with_xshm]) |
|---|
| 15 | if test "x$with_xshm" != "xno"; then |
|---|
| 16 | XSHM="-DHAVE_XSHM_H=1" |
|---|
| 17 | -AC_CHECK_HEADER(X11/extensions/XShm.h,,XSHM="") |
|---|
| 18 | +AC_CHECK_HEADERS(X11/extensions/XShm.h,,XSHM="", [#include <X11/Xlib.h>]) |
|---|
| 19 | AC_CHECK_HEADER(sys/ipc.h,,XSHM="") |
|---|
| 20 | AC_CHECK_HEADER(sys/shm.h,,XSHM="") |
|---|
| 21 | CXXFLAGS="${CXXFLAGS} ${XSHM}" |
|---|
| 22 | @@ -288,7 +346,7 @@ |
|---|
| 23 | AC_ARG_WITH(xcursor,[ --with-xcursor compile with Xcursor support]) |
|---|
| 24 | AC_MSG_RESULT([$with_xcursor]) |
|---|
| 25 | if test "x$with_xcursor" != "xno"; then |
|---|
| 26 | -AC_CHECK_HEADER(X11/Xcursor/Xcursor.h,CXXFLAGS="${CXXFLAGS} -DHAVE_XCURSOR_H=1"; X_BASE_LIBS="${X_BASE_LIBS} -lXcursor") |
|---|
| 27 | +AC_CHECK_HEADERS(X11/Xcursor/Xcursor.h,CXXFLAGS="${CXXFLAGS} -DHAVE_XCURSOR_H=1"; X_BASE_LIBS="${X_BASE_LIBS} -lXcursor",, [#include <X11/Xlib.h>]) |
|---|
| 28 | fi |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | @@ -296,7 +354,7 @@ |
|---|
| 32 | AC_ARG_WITH(xrandr,[ --with-xrandr compile with XRandR support]) |
|---|
| 33 | AC_MSG_RESULT([$with_xrandr]) |
|---|
| 34 | if test "x$with_xrandr" != "xno"; then |
|---|
| 35 | -AC_CHECK_HEADER(X11/extensions/Xrandr.h,CXXFLAGS="${CXXFLAGS} -DHAVE_XRANDR_H=1"; X_BASE_LIBS="${X_BASE_LIBS} -lXrandr") |
|---|
| 36 | +AC_CHECK_HEADERS(X11/extensions/Xrandr.h,CXXFLAGS="${CXXFLAGS} -DHAVE_XRANDR_H=1"; X_BASE_LIBS="${X_BASE_LIBS} -lXrandr",, [#include <X11/Xlib.h>]) |
|---|
| 37 | fi |
|---|
| 38 | |
|---|
| 39 | |
|---|