Allow a space between "-l" and library name when configuring

Qt's configure allows for spaces between an option and its
argument. This patch brings -l in line with -L et al.

Change-Id: Iea5c78dc06f69c21b7419fd9fa73c52ae1cea18f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
kb 2012-05-18 14:39:44 +02:00 committed by Qt by Nokia
parent d3e3404d57
commit 3ec08bff24

9
configure vendored
View File

@ -1024,9 +1024,14 @@ while [ "$#" -gt 0 ]; do
VAL=`echo $1 | sed 's,-R,,'`
fi
;;
-l?*)
-l?*|-l)
VAR="add_link"
VAL=`echo $1 | sed 's,-l,,'`
if [ "$1" = "-l" ]; then
shift
VAL="$1"
else
VAL=`echo $1 | sed 's,-l,,'`
fi
;;
-F?*|-F)
VAR="add_fpath"