Switched the SDL 2 autoconf macro to AM_PATH_SDL2
authorSam Lantinga <slouken@libsdl.org>
Mon, 30 Jan 2012 21:39:26 -0500
changeset 6272f3dbef2cc0f2
parent 6271 d1ba86bc57a5
child 6273 2fa7e0540f95
Switched the SDL 2 autoconf macro to AM_PATH_SDL2
sdl2.m4
test/acinclude.m4
test/aclocal.m4
test/configure.in
     1.1 --- a/sdl2.m4	Mon Jan 30 20:56:25 2012 -0500
     1.2 +++ b/sdl2.m4	Mon Jan 30 21:39:26 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/test/acinclude.m4	Mon Jan 30 20:56:25 2012 -0500
     2.2 +++ b/test/acinclude.m4	Mon Jan 30 21:39:26 2012 -0500
     2.3 @@ -10,7 +10,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/test/aclocal.m4	Mon Jan 30 20:56:25 2012 -0500
     3.2 +++ b/test/aclocal.m4	Mon Jan 30 21:39:26 2012 -0500
     3.3 @@ -10,7 +10,7 @@
     3.4  dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
     3.5  dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
     3.6  dnl
     3.7 -AC_DEFUN([AM_PATH_SDL],
     3.8 +AC_DEFUN([AM_PATH_SDL2],
     3.9  [dnl 
    3.10  dnl Get the cflags and libraries from the sdl2-config script
    3.11  dnl
     4.1 --- a/test/configure.in	Mon Jan 30 20:56:25 2012 -0500
     4.2 +++ b/test/configure.in	Mon Jan 30 21:39:26 2012 -0500
     4.3 @@ -66,7 +66,7 @@
     4.4  
     4.5  dnl Check for SDL
     4.6  SDL_VERSION=2.0.0
     4.7 -AM_PATH_SDL($SDL_VERSION,
     4.8 +AM_PATH_SDL2($SDL_VERSION,
     4.9              :,
    4.10  	    AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
    4.11  )