diff options
author | Robert Griebl <rgriebl@trolltech.com> | 2009-04-07 13:48:13 (GMT) |
---|---|---|
committer | Robert Griebl <rgriebl@trolltech.com> | 2009-04-07 13:48:13 (GMT) |
commit | c451bec89869bb12b2a2937581df331443795dba (patch) | |
tree | 8beacc8441217420d9e07ed8160c679b69b579e2 | |
parent | f6cefda2c038c68883f535bb86ac297e2a4f5407 (diff) | |
download | Qt-c451bec89869bb12b2a2937581df331443795dba.zip Qt-c451bec89869bb12b2a2937581df331443795dba.tar.gz Qt-c451bec89869bb12b2a2937581df331443795dba.tar.bz2 |
Add -qconfig support for non QWS builds.
There are customers using X11 on embedded systems, so make it possible to
use -qconfig for those builds too.
Reviewed-by: Paul Olav Tvete
-rwxr-xr-x | configure | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -830,14 +830,15 @@ while [ "$#" -gt 0 ]; do ;; #Qt style options that pass an argument -qconfig) - if [ "$PLATFORM_QWS" = "yes" ]; then - CFG_QCONFIG="$VAL" - VAR=`echo $1 | sed "s,^-\(.*\),\1,"` - shift - VAL=$1 - else - UNKNOWN_ARG=yes + if [ "$PLATFORM_QWS" != "yes" ]; then + echo + echo "WARNING: -qconfig is only tested and supported on Qt for Embedded Linux." + echo fi + CFG_QCONFIG="$VAL" + VAR=`echo $1 | sed "s,^-\(.*\),\1,"` + shift + VAL=$1 ;; -prefix|-docdir|-headerdir|-plugindir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-sdk|-arch|-host-arch|-mysql_config) VAR=`echo $1 | sed "s,^-\(.*\),\1,"` |