visualtest/autogen.sh
author Ryan C. Gordon <icculus@icculus.org>
Thu, 19 Feb 2015 13:42:56 -0500
changeset 9361 17a2821b451c
parent 7924 fcb86d323770
permissions -rwxr-xr-x
Some corrections to the SDL2.spec.in (thanks, Simone!).

Fixes Bugzilla #2809.
     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