visualtest/autogen.sh
author Ryan C. Gordon <icculus@icculus.org>
Mon, 20 Jan 2014 12:53:44 -0500
changeset 8116 f7c2f71251e5
parent 7924 fcb86d323770
permissions -rwxr-xr-x
Patched to compile if Wayland is disabled via SDL_config.h (thanks, Martin!).

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