test/autogen.sh
author Sam Lantinga
Sat, 23 Jan 2021 09:50:43 -0800
changeset 14782 8cad7d7ec50c
parent 1833 e566046c73d9
permissions -rwxr-xr-x
Fixed bug 5467 - SDL sys timer Mac OS update proposal

David Carlier

Change of api from 2016 which reduce code complexity a bit.
     1 #!/bin/sh
     2 #
     3 # Regenerate configuration files
     4 cp acinclude.m4 aclocal.m4
     5 found=false
     6 for autoconf in autoconf autoconf259 autoconf-2.59
     7 do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
     8 done
     9 if test x$found = xfalse; then
    10     echo "Couldn't find autoconf, aborting"
    11     exit 1
    12 fi