summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-10-30 23:02:33 +0200
committerJan Engelhardt <jengelh@medozas.de>2010-10-30 23:56:06 +0200
commit06d7168caf9304fb825275b983b534fede836ee4 (patch)
tree5b11a71a4867acb966332dc42e51185a22922564
parentb9b7caa43c98108009db29acfe2d1874eb426670 (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 cf697c6..57c3532 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 libtoolize
-run aclocal
-#run autoheader
-run automake -a
-run autoconf
+autoreconf -fi
+rm -Rf autom4te.cache