autogen.sh
author Sam Lantinga <slouken@libsdl.org>
Sat, 09 Mar 2013 10:35:12 -0800
changeset 6986 bc887debed9b
parent 5409 30205e106bba
child 7222 2435b221d77d
permissions -rwxr-xr-x
Fixed bug 1744 - DirectFB video and renderer API is not updated

tomaszewski.p

Recent changes in SDL_sysrenderer.h and SDL_sysvideo.h had no impact on directfb backend.

Attached patch:
- updates interface,
- resolves uninitialized variable reading,
- changes logging tio use SDL_Log API,
- updates configure to use DIRECTFBCONFIG variable instead direct call to directfb-config.
     1 #!/bin/sh
     2 #
     3 echo "Generating build information using autoconf"
     4 echo "This may take a while ..."
     5 
     6 # Regenerate configuration files
     7 cat acinclude/* >aclocal.m4
     8 found=false
     9 for autoconf in autoconf autoconf259 autoconf-2.59
    10 do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
    11 done
    12 if test x$found = xfalse; then
    13     echo "Couldn't find autoconf, aborting"
    14     exit 1
    15 fi
    16 (cd test; sh autogen.sh)
    17 
    18 # Run configure for this platform
    19 echo "Now you are ready to run ./configure"