test/autogen.sh
changeset 1564 4950a25bd91e
parent 1563 b054590b967a
child 1659 14717b52abc0
equal deleted inserted replaced
1563:b054590b967a 1564:4950a25bd91e
     1 #!/bin/sh
     1 #!/bin/sh
     2 #
     2 #
     3 # Regenerate configuration files
     3 # Regenerate configuration files
     4 cp acinclude.m4 aclocal.m4
     4 cp acinclude.m4 aclocal.m4
       
     5 found=false
     5 for autoconf in autoconf autoconf259
     6 for autoconf in autoconf autoconf259
     6 do if which $autoconf >/dev/null; then $autoconf; break; fi
     7 do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
     7 done
     8 done
       
     9 if test x$found = xfalse; then
       
    10     echo "Couldn't find autoconf, aborting"
       
    11     exit 1
       
    12 fi