summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorSam Magnuson <smagnuso@gmail.com>2010-11-25 10:06:57 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-11-25 10:07:06 (GMT)
commitf024ac21c14222982395bd2336a5ea74b96eec64 (patch)
tree4e7dc29cdff7452dc0e08e41fb55b3bf6e6a5efc /configure
parente868e896054061f35b38dd3e7b688d932be40a55 (diff)
downloadQt-f024ac21c14222982395bd2336a5ea74b96eec64.zip
Qt-f024ac21c14222982395bd2336a5ea74b96eec64.tar.gz
Qt-f024ac21c14222982395bd2336a5ea74b96eec64.tar.bz2
Allow setting LD, RANLIB, OBJDUMP, and STRIP as one can do with autoconf scripts.
Merge-request: 937 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 875fef4..9ae04fa 100755
--- a/configure
+++ b/configure
@@ -634,12 +634,14 @@ fi
# initalize variables
#-------------------------------------------------------------------------------
-SYSTEM_VARIABLES="CC CXX CFLAGS CXXFLAGS LDFLAGS"
+SYSTEM_VARIABLES="RANLIB STRIP OBJDUMP LD CC CXX CFLAGS CXXFLAGS LDFLAGS"
for varname in $SYSTEM_VARIABLES; do
qmakevarname="${varname}"
# use LDFLAGS for autoconf compat, but qmake uses QMAKE_LFLAGS
if [ "${varname}" = "LDFLAGS" ]; then
qmakevarname="LFLAGS"
+ elif [ "${varname}" = "LD" ]; then
+ qmakevarname="LINK"
fi
cmd=`echo \
'if [ -n "\$'${varname}'" ]; then