st/xorg: When selecting st via configure make sure to test for xorg-server
authorJakob Bornecrantz <wallbraker@gmail.com>
Tue, 13 Jul 2010 14:40:47 +0000 (07:40 -0700)
committerJakob Bornecrantz <wallbraker@gmail.com>
Tue, 13 Jul 2010 14:49:00 +0000 (07:49 -0700)
configure.ac

index 7fcc9fb..f52c6db 100644 (file)
@@ -1261,6 +1261,7 @@ yes)
             HAVE_ST_EGL="yes"
             ;;
         xorg)
+            PKG_CHECK_MODULES([XORG], [xorg-server >= 1.6.0])
             PKG_CHECK_MODULES([LIBDRM_XORG], [libdrm >= $LIBDRM_XORG_REQUIRED])
             PKG_CHECK_MODULES([LIBKMS_XORG], [libkms >= $LIBKMS_XORG_REQUIRED])
             HAVE_ST_XORG="yes"