From 06dd2748da8b7af343f6cab409b9f351567de5f3 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Sun, 8 Jul 2007 00:27:40 +0300 Subject: [PATCH] configure.ac: Properly check XFree86 proto modules Not sure why these are conditionals, anyway. This one really needs revisiting, but at least causes configure, rather than the compilation, to bomb out. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 556690755..d641bfe29 100644 --- a/configure.ac +++ b/configure.ac @@ -1478,6 +1478,7 @@ return 0;} fi if test "x$DGA" = xyes; then XORG_MODULES="$XORG_MODULES xf86dgaproto" + PKG_CHECK_MODULES(DGA, xf86dgaproto) AC_DEFINE(DGA, 1, [Support DGA extension]) AC_DEFINE(XFreeXDGA, 1, [Build XDGA support]) fi @@ -1487,6 +1488,7 @@ return 0;} fi if test "x$XF86MISC" = xyes; then XORG_MODULES="$XORG_MODULES xf86miscproto" + PKG_CHECK_MODULES(XF86MISC, xf86miscproto) AC_DEFINE(XF86MISC, 1, [Support XFree86 miscellaneous extensions]) fi @@ -1495,6 +1497,7 @@ return 0;} fi if test "x$XF86VIDMODE" = xyes; then XORG_MODULES="$XORG_MODULES xf86vidmodeproto" + PKG_CHECK_MODULES(XF86VIDMODE, xf86vidmodeproto) AC_DEFINE(XF86VIDMODE, 1, [Support XFree86 Video Mode extension]) fi