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