diff options
author | axis <qt-info@nokia.com> | 2010-02-25 12:41:11 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2010-02-25 12:52:34 (GMT) |
commit | 1edd1229b5a2381da2a85ebbfb4539d83a13ef3f (patch) | |
tree | dc2a34c1d608ca83f4fefeb5dbd37876fb632386 /configure | |
parent | 01be0a8fa617ff65eae73865c111e70fdcc5b87a (diff) | |
download | Qt-1edd1229b5a2381da2a85ebbfb4539d83a13ef3f.zip Qt-1edd1229b5a2381da2a85ebbfb4539d83a13ef3f.tar.gz Qt-1edd1229b5a2381da2a85ebbfb4539d83a13ef3f.tar.bz2 |
Added configure test for audio backend on Symbian.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -677,7 +677,7 @@ CFG_RELEASE_QMAKE=no CFG_PHONON=auto CFG_PHONON_BACKEND=yes CFG_MULTIMEDIA=yes -CFG_AUDIO_BACKEND=yes +CFG_AUDIO_BACKEND=auto CFG_SVG=yes CFG_DECLARATIVE=auto CFG_WEBKIT=auto # (yes|no|auto) @@ -2151,6 +2151,7 @@ esac # where to find which.. unixtests="$relpath/config.tests/unix" mactests="$relpath/config.tests/mac" +symbiantests="$relpath/config.tests/symbian" WHICH="$unixtests/which.test" PERL=`$WHICH perl 2>/dev/null` @@ -5913,6 +5914,14 @@ elif [ "$CFG_JAVASCRIPTCORE_JIT" = "no" ]; then QMakeVar set JAVASCRIPTCORE_JIT no fi +if [ "$CFG_AUDIO_BACKEND" = "auto" ]; then + if echo "$XQMAKESPEC" | grep symbian > /dev/null 2>&1; then + "$symbiantests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/symbian/audio "audio" $L_FLAGS $I_FLAGS $l_FLAGS + else + CFG_AUDIO_BACKEND=yes + fi +fi + #------------------------------------------------------------------------------- # ask for all that hasn't been auto-detected or specified in the arguments #------------------------------------------------------------------------------- |