From a26fcb9017d312aa32908eaf622c8fa451bac7f2 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 30 Oct 2010 23:19:23 +0200 Subject: 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 --- autogen.sh | 20 +++----------------- 1 file 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 -- cgit v1.2.3