2 # Run the autotools bootstrap sequence to create the configure script
4 if libtoolize --version >/dev/null 2>&1; then
5 libtoolize="libtoolize"
6 elif glibtoolize --version >/dev/null 2>&1; then
7 libtoolize="glibtoolize"
9 echo "libtool is required" >&2
13 # 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 ....'"