summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure44
1 files changed, 22 insertions, 22 deletions
diff --git a/configure b/configure
index dee86c2704..acce06dfc4 100755
--- a/configure
+++ b/configure
@@ -1110,18 +1110,10 @@ while [ "$#" -gt 0 ]; do
VAL=`echo $1 | sed 's,-R,,'`
fi
;;
- -largefile)
- VAR="largefile"
- VAL="yes"
- ;;
- -l?*|-l)
+ -l) # -lfoo is handled differently
VAR="add_link"
- if [ "$1" = "-l" ]; then
- shift
- VAL="$1"
- else
- VAL=`echo $1 | sed 's,-l,,'`
- fi
+ shift
+ VAL="$1"
;;
-F?*|-F)
VAR="add_fpath"
@@ -1132,14 +1124,10 @@ while [ "$#" -gt 0 ]; do
VAL=`echo $1 | sed 's,-F,,'`
fi
;;
- -fw?*|-fw)
+ -fw) # -fwfoo is handled differently
VAR="add_framework"
- if [ "$1" = "-fw" ]; then
- shift
- VAL="$1"
- else
- VAL=`echo $1 | sed 's,-fw,,'`
- fi
+ shift
+ VAL="$1"
;;
-W*)
VAR="add_warn"
@@ -1419,7 +1407,7 @@ while [ "$#" -gt 0 ]; do
device-option)
DEV_VAR=`echo $VAL | sed "s,^\(.*\)=.*,\1,"`
DEV_VAL=`echo $VAL | sed "s,^.*=\(.*\),\1,"`
- DeviceVar set $DEV_VAR $DEV_VAL
+ DeviceVar set $DEV_VAR "$DEV_VAL"
;;
qpa)
QT_QPA_DEFAULT_PLATFORM="$VAL"
@@ -2130,6 +2118,16 @@ while [ "$#" -gt 0 ]; do
UNKNOWN_OPT=yes
fi
;;
+ l*) # -lfoo
+ L_FLAGS="$L_FLAGS -l\"${VAR#l}\""
+ ;;
+ fw*) # -fwfoo
+ if [ "$BUILD_ON_MAC" = "yes" ]; then
+ L_FLAGS="$L_FLAGS -framework \"${VAR#fw}\""
+ else
+ UNKNOWN_OPT=yes
+ fi
+ ;;
*)
UNKNOWN_OPT=yes
;;
@@ -2241,7 +2239,7 @@ if [ "$OPT_SHADOW" = "yes" ]; then
if [ -x "$relpath/bin/syncqt" ]; then
mkdir -p "$outpath/bin"
echo "#!/bin/sh" >"$outpath/bin/syncqt"
- echo "perl \"$relpath/bin/syncqt\" -mkspecsdir \"$outpath/mkspecs\" \"\$@\"" >>"$outpath/bin/syncqt"
+ echo "perl \"$relpath/bin/syncqt\" \"\$@\"" >>"$outpath/bin/syncqt"
chmod 755 "$outpath/bin/syncqt"
fi
@@ -2826,7 +2824,7 @@ fi
QT_INSTALL_BINS=`"$relpath/config.tests/unix/makeabs" "$QT_INSTALL_BINS"`
if [ "$XPLATFORM_MINGW" = "yes" ]; then
- QT_INSTALL_LIBEXECS_DIRNAME="lib"
+ QT_INSTALL_LIBEXECS_DIRNAME="bin"
else
QT_INSTALL_LIBEXECS_DIRNAME="libexec"
fi
@@ -3620,7 +3618,7 @@ setBootstrapVariable()
# build qmake
if true; then ###[ '!' -f "$outpath/bin/qmake" ];
- echo "Creating qmake. Please wait..."
+ echo "Creating qmake..."
mkdir -p "$outpath/qmake" || exit
# fix makefiles
@@ -3731,6 +3729,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
(cd "$outpath/qmake"; "$MAKE") || exit 2
fi # Build qmake
+echo "Running configuration tests..."
+
#-------------------------------------------------------------------------------
# create a qt.conf for the Qt build tree itself
#-------------------------------------------------------------------------------