configure: Check that "libtool" is not the MacOSX one
commit8e515b125d5f7849167dbee6cbe6ef61636607d4
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 4 May 2013 20:57:51 +0000 (4 21:57 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 6 May 2013 11:52:03 +0000 (6 06:52 -0500)
treebd855ab953f50998254f3e53c9fd452df1c516b0
parente4b006b7a5bce59d4f692d5da04eede5f6d0f31c
configure: Check that "libtool" is not the MacOSX one

The "libtool" binary on MacOSX is not GNU libtool, and doesn't support
anything like the same set of command line options. Test whether we
have accidentally picked this up (by looking for whether it handles
the GNU --version switch), and discard it if so. The fallback machinery
for the "we don't have a libtool" case will work fine. This fixes a
failure in "make install" on MacOSX.

Reported-by: Peter Cheung <mcheung63@hotmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1367701071-6630-1-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure