| # a quick hack script to generate necessary files from |
| # WARNING: if you run this you will change the versions |
| # of the tools which are used and, maybe, required! |
| # You can define your own replacements in your environment. |
| # $AUTOCONF, $AUTOMAKE, $AUTOHEADER, $AUTOPOINT, $ACLOCAL and $LIBTOOLIZE |
| touch Makefile.am configure.ac |
| LT=${LIBTOOLIZE-libtoolize} |
| $LT --force --copy --automake |
| AH=${AUTOHEADER-autoheader} |
| echo "running $AH [ignore the warnings]" >&2 |
| $AM --force-missing --foreign -a -c |
| echo "autogen complete" >&2 || |
| echo "ERROR: autogen.sh failed, autogen is incomplete" >&2 |