aboutsummaryrefslogtreecommitdiff
path: root/pixman/configure.ac
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-08-26 06:21:42 +0000
committermarha <marha@users.sourceforge.net>2010-08-26 06:21:42 +0000
commit9e5a55add045483af139e9e994325ca70eadc8fc (patch)
tree73cecd62f74add9d92dfa89bff5dd7fc22177120 /pixman/configure.ac
parentc5e0555ef58f02918a9803cb910e2cc523260d5d (diff)
downloadvcxsrv-9e5a55add045483af139e9e994325ca70eadc8fc.tar.gz
vcxsrv-9e5a55add045483af139e9e994325ca70eadc8fc.tar.bz2
vcxsrv-9e5a55add045483af139e9e994325ca70eadc8fc.zip
libxcb pixman git update 26/8/2010
Diffstat (limited to 'pixman/configure.ac')
-rw-r--r--pixman/configure.ac14
1 files changed, 10 insertions, 4 deletions
diff --git a/pixman/configure.ac b/pixman/configure.ac
index 1b592de14..851a16a66 100644
--- a/pixman/configure.ac
+++ b/pixman/configure.ac
@@ -178,7 +178,6 @@ AC_SUBST(PIXMAN_VERSION_MICRO)
AC_SUBST(LT_VERSION_INFO)
# Check for dependencies
-#PKG_CHECK_MODULES(DEP, x11)
PIXMAN_CHECK_CFLAG([-Wall])
PIXMAN_CHECK_CFLAG([-fno-strict-aliasing])
@@ -585,11 +584,18 @@ AC_ARG_ENABLE(gtk,
[enable_gtk=$enableval], [enable_gtk=auto])
PKG_PROG_PKG_CONFIG
+
+if test $enable_gtk = yes ; then
+ AC_CHECK_LIB([pixman-1], [pixman_version_string])
+ PKG_CHECK_MODULES(GTK, [gtk+-2.0 pixman-1])
+fi
+
if test $enable_gtk = auto ; then
- PKG_CHECK_EXISTS([gtk+-2.0], [enable_gtk=yes], [enable_gtk=no])
+ AC_CHECK_LIB([pixman-1], [pixman_version_string], [enable_gtk=auto], [enable_gtk=no])
fi
-if test $enable_gtk = yes ; then
- PKG_CHECK_MODULES(GTK, [gtk+-2.0])
+
+if test $enable_gtk = auto ; then
+ PKG_CHECK_MODULES(GTK, [gtk+-2.0 pixman-1], [enable_gtk=yes], [enable_gtk=no])
fi
AM_CONDITIONAL(HAVE_GTK, [test "x$enable_gtk" = xyes])