visualtest/autogen.sh
author Ryan C. Gordon
Wed, 22 Apr 2015 16:50:48 -0400
changeset 10018 3c1384edf9fa
parent 7924 fcb86d323770
permissions -rwxr-xr-x
x11: Optimize SDL_GetGlobalMouseState() a little.

Use XInput2 to mark the global mouse state as dirty so we don't have to make
a bunch of roundtrips to the X server when nothing has changed.
     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