summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-10-30 23:19:23 +0200
committerJan Engelhardt <jengelh@medozas.de>2010-10-30 23:45:16 +0200
commita26fcb9017d312aa32908eaf622c8fa451bac7f2 (patch)
treee02dc013a2a289b384c570bcc60a16fdef8401e4
parentc7f5c63f3f2dd7a52817926825deffae8f512afc (diff)
build: use simpler autoreconf in autogen
Note: the use of -i seems required, otherwise autoreconf barfs about missing tools (depcomp, etc.). Since they are provided in the tarballs as files anyway rather than like previously as symlinks, I do not see a problem using -i. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
-rwxr-xr-xautogen.sh20
1 files changed, 3 insertions, 17 deletions
diff --git a/autogen.sh b/autogen.sh
index c167563..de861fc 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
include ()
{
@@ -34,20 +34,6 @@ include ()
fi
}
-run ()
-{
- echo "running: $*"
- eval $*
-
- if test $? != 0 ; then
- echo "error: while running '$*'"
- exit 1
- fi
-}
-
[ "x$1" = "xdistrib" ] && include
-run aclocal
-#run autoheader
-run libtoolize -f
-run automake -a
-run autoconf
+autoreconf -fi
+rm -Rf autom4te.cache