diff --git a/autogen.sh b/autogen.sh index e213c1a1..d04ca4c0 100755 --- a/autogen.sh +++ b/autogen.sh @@ -6,7 +6,12 @@ set -e # Install libtool.m4 and ltmain.sh in the build tree. This command is needed # if autoreconf and libtoolize are available from the different directories. -libtoolize -i -c +# Note: libtoolize might be missing on some platforms. +if which libtoolize > /dev/null 2>&1; then + libtoolize -i -c +else + echo "libtoolize is not found, ignoring!" +fi autoreconf -i