autogen.sh
author Sam Lantinga <slouken@libsdl.org>
Fri, 26 Oct 2018 09:27:31 -0700
changeset 12360 a21c0a3bf183
parent 10722 30e271a26a02
permissions -rwxr-xr-x
Don't build SDL_JOYSTICK_HIDAPI by default on iOS
If you enable this, you'll need to link with CoreBluetooth.framework and add something like this to your Info.plist:
<key>NSBluetoothPeripheralUsageDescription</key>
<string>MyApp would like to remain connected to nearby bluetooth Game Controllers and Game Pads even when you're not using the app.</string>
     1 #!/bin/sh
     2 #
     3 echo "Generating build information using autoconf"
     4 echo "This may take a while ..."
     5 
     6 srcdir=`dirname $0`
     7 test -z "$srcdir" && srcdir=.
     8 cd "$srcdir"
     9 
    10 # Regenerate configuration files
    11 cat acinclude/* >aclocal.m4
    12 found=false
    13 for autoconf in autoconf autoconf259 autoconf-2.59
    14 do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
    15 done
    16 if test x$found = xfalse; then
    17     echo "Couldn't find autoconf, aborting"
    18     exit 1
    19 fi
    20 (cd test; sh autogen.sh)
    21 
    22 # Run configure for this platform
    23 echo "Now you are ready to run ./configure"