autoreconf doesnt work... so lets have autogen.sh eh? :) also - old

habits die hard. :)



SVN revision: 77104
This commit is contained in:
Carsten Haitzler 2012-09-27 02:13:31 +00:00
parent f1a25bc101
commit 72b3453db2
1 changed files with 14 additions and 0 deletions

14
autogen.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
rm -rf autom4te.cache
rm -f aclocal.m4 ltmain.sh
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
echo "Running autoheader..." ; autoheader || exit 1
echo "Running autoconf..." ; autoconf || exit 1
echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
if [ -z "$NOCONFIGURE" ]; then
./configure -C "$@"
fi