3 if libtoolize --version >/dev/null 2>&1; then
4 libtoolize="libtoolize"
5 elif glibtoolize --version >/dev/null 2>&1; then
6 libtoolize="glibtoolize"
8 echo "libtool is required" >&2
12 # bootstrap the autotools
17 ${libtoolize} --automake --copy
20 automake --foreign --add-missing --copy
23 # AM_MAINTAINER_MODE requires SVN users provide --enable-maintainer-mode
24 # otherwise the documentation will fail to build due to missing version.texi
25 echo "Bootstrap complete; you can './configure --enable-maintainer-mode ....'"