summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBrad2011-08-14 02:30:14 +0200
committerAnthony Liguori2011-08-22 17:20:10 +0200
commit3f53458137b6154acfa5bfe05efe8bd67f6d1778 (patch)
tree9c2996a5e1a533112ed805d4f33d5de47b73c2c9 /configure
parentw32: Fix qemu_ftruncate64 (diff)
downloadqemu-3f53458137b6154acfa5bfe05efe8bd67f6d1778.tar.gz
qemu-3f53458137b6154acfa5bfe05efe8bd67f6d1778.tar.xz
qemu-3f53458137b6154acfa5bfe05efe8bd67f6d1778.zip
Improvements to libtool support.
Improvements to the libtool support in QEMU. Replace hard coded libtool in the infrastructure with $(LIBTOOL) and allow overriding the libtool binary used via the configure script. Reviewed-by: Andreas F=E4rber <andreas.faerber@web.de> Signed-off-by: Brad Smith <brad@comstyle.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 234a4c5036..1340c33ef8 100755
--- a/configure
+++ b/configure
@@ -225,6 +225,7 @@ cc="${CC-${cross_prefix}gcc}"
ar="${AR-${cross_prefix}ar}"
objcopy="${OBJCOPY-${cross_prefix}objcopy}"
ld="${LD-${cross_prefix}ld}"
+libtool="${LIBTOOL-${cross_prefix}libtool}"
strip="${STRIP-${cross_prefix}strip}"
windres="${WINDRES-${cross_prefix}windres}"
pkg_config="${PKG_CONFIG-${cross_prefix}pkg-config}"
@@ -1342,10 +1343,8 @@ fi
##########################################
# libtool probe
-if ! has libtool; then
+if ! has $libtool; then
libtool=
-else
- libtool=libtool
fi
##########################################