changeset 1564 | 4950a25bd91e |
parent 1563 | b054590b967a |
child 1659 | 14717b52abc0 |
--- a/test/autogen.sh Tue Mar 21 06:54:24 2006 +0000 +++ b/test/autogen.sh Tue Mar 21 07:02:34 2006 +0000 @@ -2,6 +2,11 @@ # # Regenerate configuration files cp acinclude.m4 aclocal.m4 +found=false for autoconf in autoconf autoconf259 -do if which $autoconf >/dev/null; then $autoconf; break; fi +do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi done +if test x$found = xfalse; then + echo "Couldn't find autoconf, aborting" + exit 1 +fi