--- xorg-server-1.0.1/configure.ac 2005-12-21 03:30:08.000000000 +0100 +++ xorg-server-1.0.1-fixed/configure.ac 2006-02-03 00:15:30.266980500 +0100 @@ -111,7 +111,11 @@ AM_CONDITIONAL(FBDEVHW, [test "x$FBDEV" = xyes]) dnl MTRR header -AC_CHECK_HEADERS([asm/mtrr.h]) +AC_CHECK_HEADERS([asm/mtrr.h], ac_cv_mtrr_h=yes) +if test "x$ac_cv_mtrr_h" = xyes; then + AC_DEFINE(HAS_MTRR_SUPPORT, 1, [Define to 1 if LINUX MTRR support is + available]) +fi dnl BSD MTRR header AC_CHECK_HEADERS([sys/memrange.h], ac_cv_memrange_h=yes)