Skip to content

Commit

Permalink
Switched the SDL 2 autoconf macro to AM_PATH_SDL2
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 31, 2012
1 parent face28e commit 713adce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion acinclude/sdl2.m4
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion aclocal.m4
Expand Up @@ -8956,7 +8956,7 @@ fi[]dnl
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
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -197,7 +197,7 @@ find_lib()

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!])
)
Expand Down

0 comments on commit 713adce

Please sign in to comment.