Switched the SDL 2 autoconf macro to AM_PATH_SDL2
authorSam Lantinga <slouken@libsdl.org>
Mon, 30 Jan 2012 21:41:45 -0500
changeset 582df72f22b4b41
parent 581 7073b1ab6708
child 583 2d713670db9b
Switched the SDL 2 autoconf macro to AM_PATH_SDL2
acinclude/sdl2.m4
aclocal.m4
configure.in
     1.1 --- a/acinclude/sdl2.m4	Mon Jan 30 20:09:58 2012 -0500
     1.2 +++ b/acinclude/sdl2.m4	Mon Jan 30 21:41:45 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/aclocal.m4	Mon Jan 30 20:09:58 2012 -0500
     2.2 +++ b/aclocal.m4	Mon Jan 30 21:41:45 2012 -0500
     2.3 @@ -8956,7 +8956,7 @@
     2.4  dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
     2.5  dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
     2.6  dnl
     2.7 -AC_DEFUN([AM_PATH_SDL],
     2.8 +AC_DEFUN([AM_PATH_SDL2],
     2.9  [dnl 
    2.10  dnl Get the cflags and libraries from the sdl2-config script
    2.11  dnl
     3.1 --- a/configure.in	Mon Jan 30 20:09:58 2012 -0500
     3.2 +++ b/configure.in	Mon Jan 30 21:41:45 2012 -0500
     3.3 @@ -197,7 +197,7 @@
     3.4  
     3.5  dnl Check for SDL
     3.6  SDL_VERSION=2.0.0
     3.7 -AM_PATH_SDL($SDL_VERSION,
     3.8 +AM_PATH_SDL2($SDL_VERSION,
     3.9              :,
    3.10              AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
    3.11  )