Commit fc4f4237 authored by Sam Hocevar's avatar Sam Hocevar

* ./bootstrap: automake 1.7 is accepted as well.

  * ./bootstrap: we look for glibtoolize if libtoolize isn't present.
parent 340d0e22
......@@ -5,10 +5,14 @@ rm -f aclocal.m4 configure config.guess config.log config.sub ltmain.sh libtool
# Check for automake
amvers="none"
if automake-1.6 --version >/dev/null 2>&1
if automake-1.7 --version >/dev/null 2>&1
then
amvers="-1.6"
amvers="-1.7"
else
if automake-1.6 --version >/dev/null 2>&1
then
amvers="-1.6"
else
if automake-1.5 --version >/dev/null 2>&1
then
amvers="-1.5"
......@@ -23,6 +27,7 @@ else
fi
fi
fi
fi
fi
if test x$amvers = xnone
......@@ -33,7 +38,12 @@ then
fi
aclocal${amvers} || exit 1
libtoolize --force --copy || exit 1
if libtoolize --version >/dev/null 2>&1
then
libtoolize --force --copy || exit 1
else
glibtoolize --force --copy || exit 1
fi
autoheader || exit 1
#add --include-deps if you want to bootstrap with any other compiler than gcc
#automake${amvers} --add-missing --copy --include-deps || exit 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