summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Griebl <rgriebl@trolltech.com>2009-04-07 13:48:13 (GMT)
committerRobert Griebl <rgriebl@trolltech.com>2009-04-07 13:48:13 (GMT)
commitc451bec89869bb12b2a2937581df331443795dba (patch)
tree8beacc8441217420d9e07ed8160c679b69b579e2
parentf6cefda2c038c68883f535bb86ac297e2a4f5407 (diff)
downloadQt-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-xconfigure15
1 files changed, 8 insertions, 7 deletions
diff --git a/configure b/configure
index f87f79c..35fbd2d 100755
--- a/configure
+++ b/configure
@@ -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,"`