From: Bart Van Assche Date: Sat, 22 Oct 2011 14:38:47 +0000 (+0000) Subject: Revert r12195 because it triggers suspicious error messages on systems where X-Git-Tag: svn/VALGRIND_3_7_0~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3371d75b838b55bf5fdba24ed18f3ba277bd65d2;p=thirdparty%2Fvalgrind.git Revert r12195 because it triggers suspicious error messages on systems where libtool has not been installed: Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196. Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 196. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12198 --- diff --git a/autogen.sh b/autogen.sh index a0703d739f..117462c7ff 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,3 +1,17 @@ #!/bin/sh -autoreconf -ivf +run () +{ + echo "running: $*" + eval $* + + if test $? != 0 ; then + echo "error: while running '$*'" + exit 1 + fi +} + +run aclocal +run autoheader +run automake -a +run autoconf