The tests for MonRec members fail because pixman.h cannot be included. In order to find it, /usr/include/pixman-1 must be added to the include path. This is done by using XORG_CFLAGS when performing these tests. --- configure.ac | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index f67aed6..16d9251 100644 --- a/configure.ac +++ b/configure.ac @@ -47,6 +47,9 @@ sdkdir=$(pkg-config --variable=sdkdir xorg-server) # Header files checks. AC_HEADER_STDC +SAVED_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS $XORG_CFLAGS" + # Check whether MonRec has a reducedblanking member. AC_CHECK_MEMBER([MonRec.reducedblanking], [MONREC_HAS_REDUCED=yes], [MONREC_HAS_REDUCED=no], @@ -63,6 +66,8 @@ if test "x$MONREC_HAS_BANDWIDTH" = xyes; then AC_DEFINE(MONREC_HAS_BANDWIDTH, 1, [MonRec has member maxPixClock]) fi +CFLAGS="$SAVED_CFLAGS" + AC_ARG_ENABLE(atombios, AC_HELP_STRING([--disable-atombios], [Disable AtomBIOS support [[default=no]]]), [do_atombios="$enableval"], -- 1.5.3.2 -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org