mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 07:56:09 +00:00
Merge pull request #1497 from bluca/fix-autogen-libtool-detection
Check for libtoolize instead of libtool on Linux
This commit is contained in:
commit
2d8b1a78b3
@ -20,11 +20,15 @@
|
|||||||
|
|
||||||
# Script to generate all required files from fresh git checkout.
|
# Script to generate all required files from fresh git checkout.
|
||||||
|
|
||||||
|
# Debian and Ubuntu do not shipt libtool anymore, but OSX does not ship libtoolize.
|
||||||
|
command -v libtoolize >/dev/null 2>&1
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
command -v libtool >/dev/null 2>&1
|
command -v libtool >/dev/null 2>&1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "autogen.sh: error: could not find libtool. libtool is required to run autogen.sh." 1>&2
|
echo "autogen.sh: error: could not find libtool. libtool is required to run autogen.sh." 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
command -v autoreconf >/dev/null 2>&1
|
command -v autoreconf >/dev/null 2>&1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user