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