summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Brill <egore911@egore911.de>2011-12-13 22:22:04 +0100
committerChristoph Brill <egore911@egore911.de>2011-12-13 22:23:10 +0100
commit7e05d944a6b2f56f164289897d0bf8e0ab417b99 (patch)
tree62155829fa700413a3264a8b7a7846cea8717b29
parent3d1a91b2c4a5272291be0ba155197caa66ccb197 (diff)
Extend Glamo checks to look more like nouveau/radeonHEADmaster
Especially helpful is the output if Glamo will be built or not.
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 55718eaa..450901c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,7 +87,6 @@ AC_ARG_ENABLE(nouveau-experimental-api,
[Enable support for nouveau's experimental API (default: disabled)]),
[NOUVEAU=$enableval], [NOUVEAU=no])
-
AC_ARG_ENABLE(glamo-experimental-api,
AS_HELP_STRING([--enable-glamo-experimental-api],
[Enable support for Glamo's KMS API (default: disabled)]),
@@ -190,6 +189,9 @@ if test "x$NOUVEAU" = xyes; then
fi
AM_CONDITIONAL(HAVE_GLAMO, [test "x$GLAMO" = xyes])
+if test "x$GLAMO" = xyes; then
+ AC_DEFINE(HAVE_GLAMO, 1, [Have Glamo support])
+fi
PKG_CHECK_MODULES(CAIRO, cairo, [HAVE_CAIRO=yes], [HAVE_CAIRO=no])
if test "x$HAVE_CAIRO" = xyes; then
@@ -307,4 +309,5 @@ echo " Intel API $INTEL"
echo " vmwgfx API $VMWGFX"
echo " Radeon API $RADEON"
echo " Nouveau API $NOUVEAU"
+echo " Glamo API $GLAMO"
echo ""