2004-12-02 19:14:51 -05:00
|
|
|
#! /bin/sh
|
|
|
|
# a quick hack script to generate necessary files from
|
|
|
|
# auto* tools.
|
2006-03-02 08:23:18 -05:00
|
|
|
#
|
|
|
|
# WARNING: if you run this you will change the versions
|
|
|
|
# of the tools which are used and, maybe, required!
|
2010-08-18 21:25:36 -04:00
|
|
|
touch Makefile.am configure.ac
|
2006-03-02 08:23:18 -05:00
|
|
|
{
|
2010-08-18 21:25:36 -04:00
|
|
|
echo "running libtoolize" >&2
|
|
|
|
libtoolize --force --copy --automake
|
2006-03-02 08:23:18 -05:00
|
|
|
} && {
|
2010-08-18 21:25:36 -04:00
|
|
|
echo "running aclocal" >&2
|
|
|
|
aclocal
|
2006-03-02 08:23:18 -05:00
|
|
|
} && {
|
2010-08-18 21:25:36 -04:00
|
|
|
echo "running autoheader [ignore the warnings]" >&2
|
|
|
|
autoheader
|
2006-03-02 08:23:18 -05:00
|
|
|
} && {
|
2010-08-18 21:25:36 -04:00
|
|
|
echo "running automake" >&2
|
|
|
|
automake --force-missing --foreign -a -c
|
2006-03-02 08:23:18 -05:00
|
|
|
} && {
|
2010-08-18 21:25:36 -04:00
|
|
|
echo "running autoconf" >&2
|
|
|
|
autoconf
|
2006-03-02 08:23:18 -05:00
|
|
|
} &&
|
2010-08-18 21:25:36 -04:00
|
|
|
echo "autogen complete" >&2 ||
|
|
|
|
echo "ERROR: autogen.sh failed, autogen is incomplete" >&2
|