aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMiroslav Safr <miroslav.safr@tieto.com>2010-07-13 18:36:54 +0300
committerTomas Junnonen <tomas.junnonen@nokia.com>2010-07-14 12:55:29 +0300
commit0ddc13d711299ab9d3e46cc4f74f8882f46fcf45 (patch)
tree17ea8a42ca7376b68e450dcc15afcc4430c41f47 /configure
parent02e109ccddcd553743db1198bdd4a05bfa6c3fea (diff)
Fixes: NB#179128 - Configure doesn't check for Xdamage extension
RevBy: Tomas Junnonen Details: added HAVE_XDAMAGE macro to be able to use libmeegotouch without dependency on libxdamage
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index 594e4ebe..cec7a457 100755
--- a/configure
+++ b/configure
@@ -74,6 +74,7 @@ HAVE_GCONF=no
HAVE_GSTREAMER=no
HAVE_DBUS=no
HAVE_CONTENTACTION=no
+HAVE_XDAMAGE=no
HAVE_N900=no
OPT_SHADOW=maybe
@@ -402,6 +403,11 @@ if [ $? -eq 0 ]; then
HAVE_CONTENTACTION=no
fi
+ pkg-config --exists xdamage
+ if [ $? -eq 0 ]; then
+ HAVE_XDAMAGE=yes
+ fi
+
if [ "$SBOX_UNAME_MACHINE" = "arm" ]; then
IS_ARMEL=yes
fi
@@ -535,6 +541,10 @@ if [ "$HAVE_CONTENTACTION" = "yes" ]; then
MEEGOTOUCHCONFIG_DEPS="$MEEGOTOUCHCONFIG_DEPS HAVE_CONTENTACTION"
fi
+if [ "$HAVE_XDAMAGE" = "yes" ]; then
+ MEEGOTOUCHCONFIG_DEPS="$MEEGOTOUCHCONFIG_DEPS HAVE_XDAMAGE"
+fi
+
if [ "$HAVE_CONTEXTSUBSCRIBER" = "yes" ]; then
MEEGOTOUCHCONFIG_DEPS="$MEEGOTOUCHCONFIG_DEPS HAVE_CONTEXTSUBSCRIBER"
fi
@@ -714,6 +724,7 @@ echo "Content Action 0.1 ....... $HAVE_CONTENTACTION"
echo "GConf 2.0 ................ $HAVE_GCONF"
echo "GStreamer 0.10 ........... $HAVE_GSTREAMER"
echo "DBus (incl. QtDBus) ...... $HAVE_DBUS"
+echo "XDamage .................. $HAVE_XDAMAGE"
if [ "$CFG_DEV" = "yes" ]; then