diff options
author | Sam Magnuson <smagnuso@gmail.com> | 2010-11-25 10:06:57 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-11-25 10:07:06 (GMT) |
commit | f024ac21c14222982395bd2336a5ea74b96eec64 (patch) | |
tree | 4e7dc29cdff7452dc0e08e41fb55b3bf6e6a5efc /configure | |
parent | e868e896054061f35b38dd3e7b688d932be40a55 (diff) | |
download | Qt-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-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |