visualtest/autogen.sh
author Ryan C. Gordon <icculus@icculus.org>
Sun, 21 Oct 2018 22:40:17 -0400
changeset 12345 50e1cca28b39
parent 7924 fcb86d323770
permissions -rwxr-xr-x
wasapi/win32: Sort initial device lists by device GUID.

This makes an unchanged set of hardware always report devices in the same
order on each run.
icculus@7924
     1
#!/bin/sh
icculus@7924
     2
#
icculus@7924
     3
# Regenerate configuration files
icculus@7924
     4
cp acinclude.m4 aclocal.m4
icculus@7924
     5
found=false
icculus@7924
     6
for autoconf in autoconf autoconf259 autoconf-2.59
icculus@7924
     7
do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
icculus@7924
     8
done
icculus@7924
     9
if test x$found = xfalse; then
icculus@7924
    10
    echo "Couldn't find autoconf, aborting"
icculus@7924
    11
    exit 1
icculus@7924
    12
fi