diff options
author | Daniel d'Andrada <daniel.dandrada@nokia.com> | 2011-01-19 14:11:04 +0200 |
---|---|---|
committer | Daniel d'Andrada <daniel.dandrada@nokia.com> | 2011-01-21 12:39:22 +0200 |
commit | fa89ed2d295a7f77736373e87b4129c38b7d137a (patch) | |
tree | ee682ab926af63c3c2c6310d45368a83cc47bfcb /configure | |
parent | 1f32e24d94c39f7dcaade6123b67b5e4e6bcfc11 (diff) |
Changes: Add XComposite optional dependency
RevBy: Stanislav Ionascu
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -78,6 +78,7 @@ HAVE_DBUS=no HAVE_CONTENTACTION=no HAVE_XDAMAGE=no HAVE_XFIXES=no +HAVE_XCOMPOSITE=no HAVE_QTM_SERVICEFRAMEWORK=no IS_MAEMO5=no HAVE_MEEGOGRAPHICSSYSTEM=no @@ -435,6 +436,12 @@ if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then HAVE_XFIXES=yes fi + + pkg-config --exists xcomposite + if [ $? -eq 0 ]; then + HAVE_XCOMPOSITE=yes + fi + # For Scratchbox and For OBS/MeeGo if [ ! -z "`uname -m | grep arm`" ]; then IS_ARMEL=yes @@ -616,6 +623,10 @@ if [ "$HAVE_XFIXES" = "yes" ]; then MEEGOTOUCHCONFIG_DEPS="$MEEGOTOUCHCONFIG_DEPS HAVE_XFIXES" fi +if [ "$HAVE_XCOMPOSITE" = "yes" ]; then + MEEGOTOUCHCONFIG_DEPS="$MEEGOTOUCHCONFIG_DEPS HAVE_XCOMPOSITE" +fi + if [ "$HAVE_CONTEXTSUBSCRIBER" = "yes" ]; then MEEGOTOUCHCONFIG_DEPS="$MEEGOTOUCHCONFIG_DEPS HAVE_CONTEXTSUBSCRIBER" fi @@ -840,6 +851,7 @@ echo "GConf 2.0 ....................... $HAVE_GCONF" echo "DBus (incl. QtDBus) ............. $HAVE_DBUS" echo "XDamage ......................... $HAVE_XDAMAGE" echo "XFixes .......................... $HAVE_XFIXES" +echo "XComposite....................... $HAVE_XCOMPOSITE" echo "Qt Mobility Service Framework ... $HAVE_QTM_SERVICEFRAMEWORK" echo "MeeGo graphicssystem ............ $HAVE_MEEGOGRAPHICSSYSTEM" |