summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xautogen.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000000..eec465e00b
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,14 @@
1#!/bin/sh
2
3rm -rf autom4te.cache
4rm -f aclocal.m4 ltmain.sh
5
6echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
7echo "Running autoheader..." ; autoheader || exit 1
8echo "Running autoconf..." ; autoconf || exit 1
9echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1
10echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
11
12if [ -z "$NOCONFIGURE" ]; then
13 ./configure -C "$@"
14fi