diff options
author | Miroslav Safr <miroslav.safr@tieto.com> | 2010-07-13 18:36:54 +0300 |
---|---|---|
committer | Tomas Junnonen <tomas.junnonen@nokia.com> | 2010-07-14 12:55:29 +0300 |
commit | 0ddc13d711299ab9d3e46cc4f74f8882f46fcf45 (patch) | |
tree | 17ea8a42ca7376b68e450dcc15afcc4430c41f47 /configure | |
parent | 02e109ccddcd553743db1198bdd4a05bfa6c3fea (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-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |