diff options
author | Chris Adams <christopher.adams@nokia.com> | 2010-06-30 15:27:16 +1000 |
---|---|---|
committer | Chris Adams <christopher.adams@nokia.com> | 2010-06-30 15:27:16 +1000 |
commit | 50ecd758b1c496c740e75346617cc3745cac5810 (patch) | |
tree | 5c6c3e6b26687f8c5b7d30ffffd9d6a33248d6f1 /configure | |
parent | 879d0e38cbe7ed95adb6b914c877a6ab04d8a579 (diff) | |
parent | 0bab8cec69f548e510b2e4be2a4ac6997a39f4d0 (diff) |
Merge branch 'master' of scm.dev.nokia.troll.no:qtmobility/qtmobility
Conflicts:
configure
configure.bat
examples/examples.pro
src/src.pro
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -55,7 +55,7 @@ isAbsPath() { # Returns the absolute path for $1 for target $2 # as an example $2 might have value "maemo5". # This is required because when building in scratchbox for -# maemo we do not want to follow symbolic links that are +# maemo we do not want to follow symbolic links that are # introduced by scratchbox absPath() { if [ "$2" = "maemo5" -o "$2" = "maemo6" ]; then @@ -101,7 +101,7 @@ LIB_PATH="lib" BIN_PATH="bin" PLUGIN_PATH="plugins" MAC_SDK= -MOBILITY_MODULES="bearer location contacts multimedia publishsubscribe versit messaging systeminfo serviceframework sensors organizer" +MOBILITY_MODULES="bearer location contacts multimedia publishsubscribe versit messaging systeminfo serviceframework sensors organizer telephony" MOBILITY_MODULES_UNPARSED= QMKSPEC= OS="other" @@ -141,8 +141,8 @@ usage() echo "-no-tools ......... Do not build tools (build by default)" echo "-modules <list> ... Restrict list of modules to build (default all supported)" echo " Choose from: bearer contacts location publishsubscribe" - echo " messaging multimedia systeminfo serviceframework versit" - echo " sensors organizer" + echo " messaging multimedia systeminfo serviceframework telephony" + echo " sensors versit organizer" echo " Modules should be separated by a space and surrounded" echo " by double quotation. If a" echo " selected module depends on other modules dependencies" @@ -234,7 +234,7 @@ while [ "$#" -gt 0 ]; do MOBILITY_MODULES= for m in $MOBILITY_MODULES_UNPARSED; do case "$m" in - bearer|contacts|location|messaging|multimedia|publishsubscribe|serviceframework|systeminfo|versit|sensors|organizer) + bearer|contacts|location|messaging|multimedia|publishsubscribe|serviceframework|systeminfo|sensors|telephony|versit|organizer) MOBILITY_MODULES="$MOBILITY_MODULES $m"; ;; *) @@ -262,7 +262,7 @@ done checkostype() { - match="darwin" + match="darwin" if [ "$OSTYPE" = "${match}"* ]; then OS="darwin" QMKSPEC="-spec macx-g++" @@ -287,7 +287,7 @@ findframeworks() findUniversal() { - if [ -e "mac.inc" ]; then + if [ -e "mac.inc" ]; then rm mac.inc fi echo "contains(QT_CONFIG,x86): system(echo CONFIG+=x86 >> mac.inc)" > 2.pro @@ -296,7 +296,7 @@ findUniversal() echo "contains(QT_CONFIG,x86_64): system(echo CONFIG+=x86_64 >> mac.inc)" >> 2.pro SOMETIME=`qmake -spec macx-g++ 2.pro 2>&1` rm 2.pro - if [ -e "mac.inc" ]; then + if [ -e "mac.inc" ]; then echo "exists(mac.inc): include(mac.inc)" >> "$CONFIG_IN" fi } @@ -561,6 +561,9 @@ for module in $MOBILITY_MODULES; do messaging) $relpath/bin/syncheaders $shadowpath/include/QtMessaging $relpath/src/messaging ;; + telephony) + $relpath/bin/syncheaders $shadowpath/include/QtmTelephony $relpath/src/telephony + ;; versit) #versit implies contacts & organizer $relpath/bin/syncheaders $shadowpath/include/QtVersit $relpath/src/versit @@ -584,7 +587,7 @@ done mv "$CONFIG_IN" config.pri mkdir -p "$shadowpath/features" -if [ "$shadowpath" != "$relpath" ]; then +if [ "$shadowpath" != "$relpath" ]; then cp -f "$relpath/features/strict_flags.prf" "$shadowpath/features" fi @@ -596,4 +599,3 @@ else echo "" echo "configure failed." fi - |