Commit 2d8b1a78 authored by Joe Eli McIlvain's avatar Joe Eli McIlvain

Merge pull request #1497 from bluca/fix-autogen-libtool-detection

Check for libtoolize instead of libtool on Linux
parents a656b399 89fa904b
......@@ -20,10 +20,14 @@
# Script to generate all required files from fresh git checkout.
command -v libtool >/dev/null 2>&1
# 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
echo "autogen.sh: error: could not find libtool. libtool is required to run autogen.sh." 1>&2
exit 1
command -v libtool >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "autogen.sh: error: could not find libtool. libtool is required to run autogen.sh." 1>&2
exit 1
fi
fi
command -v autoreconf >/dev/null 2>&1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment