Switched the SDL 2 autoconf macro to AM_PATH_SDL2
authorSam Lantinga <slouken@libsdl.org>
Mon, 30 Jan 2012 21:39:26 -0500
changeset 6272 f3dbef2cc0f2
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
--- a/sdl2.m4	Mon Jan 30 20:56:25 2012 -0500
+++ b/sdl2.m4	Mon Jan 30 21:39:26 2012 -0500
@@ -10,7 +10,7 @@
 dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
 dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
 dnl
-AC_DEFUN([AM_PATH_SDL],
+AC_DEFUN([AM_PATH_SDL2],
 [dnl 
 dnl Get the cflags and libraries from the sdl2-config script
 dnl
--- a/test/acinclude.m4	Mon Jan 30 20:56:25 2012 -0500
+++ b/test/acinclude.m4	Mon Jan 30 21:39:26 2012 -0500
@@ -10,7 +10,7 @@
 dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
 dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
 dnl
-AC_DEFUN([AM_PATH_SDL],
+AC_DEFUN([AM_PATH_SDL2],
 [dnl 
 dnl Get the cflags and libraries from the sdl2-config script
 dnl
--- a/test/aclocal.m4	Mon Jan 30 20:56:25 2012 -0500
+++ b/test/aclocal.m4	Mon Jan 30 21:39:26 2012 -0500
@@ -10,7 +10,7 @@
 dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
 dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
 dnl
-AC_DEFUN([AM_PATH_SDL],
+AC_DEFUN([AM_PATH_SDL2],
 [dnl 
 dnl Get the cflags and libraries from the sdl2-config script
 dnl
--- a/test/configure.in	Mon Jan 30 20:56:25 2012 -0500
+++ b/test/configure.in	Mon Jan 30 21:39:26 2012 -0500
@@ -66,7 +66,7 @@
 
 dnl Check for SDL
 SDL_VERSION=2.0.0
-AM_PATH_SDL($SDL_VERSION,
+AM_PATH_SDL2($SDL_VERSION,
             :,
 	    AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
 )