Switched the SDL 2 autoconf macro to AM_PATH_SDL2 default tip
authorSam Lantinga <slouken@libsdl.org>
Mon Jan 30 21:43:07 2012 -0500
changeset 202c37a9410f6a7
parent 201 d115780566cc
Switched the SDL 2 autoconf macro to AM_PATH_SDL2
acinclude/sdl2.m4
configure.in
     1.1 --- a/acinclude/sdl2.m4	Mon Jan 30 20:10:05 2012 -0500
     1.2 +++ b/acinclude/sdl2.m4	Mon Jan 30 21:43:07 2012 -0500
     1.3 @@ -10,7 +10,7 @@
     1.4  dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
     1.5  dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
     1.6  dnl
     1.7 -AC_DEFUN([AM_PATH_SDL],
     1.8 +AC_DEFUN([AM_PATH_SDL2],
     1.9  [dnl 
    1.10  dnl Get the cflags and libraries from the sdl2-config script
    1.11  dnl
     2.1 --- a/configure.in	Mon Jan 30 20:10:05 2012 -0500
     2.2 +++ b/configure.in	Mon Jan 30 21:43:07 2012 -0500
     2.3 @@ -127,7 +127,7 @@
     2.4  dnl Check for SDL
     2.5  SDL_VERSION=2.0.0
     2.6  AC_SUBST(SDL_VERSION)
     2.7 -AM_PATH_SDL($SDL_VERSION,
     2.8 +AM_PATH_SDL2($SDL_VERSION,
     2.9              :,
    2.10  	    AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
    2.11  )