From 713adceb106d5dde2e5559de5d7c17464b71d1cf Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 30 Jan 2012 21:41:45 -0500 Subject: [PATCH] Switched the SDL 2 autoconf macro to AM_PATH_SDL2 --- acinclude/sdl2.m4 | 2 +- aclocal.m4 | 2 +- configure.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/acinclude/sdl2.m4 b/acinclude/sdl2.m4 index c060ce81..302b419c 100644 --- a/acinclude/sdl2.m4 +++ b/acinclude/sdl2.m4 @@ -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 diff --git a/aclocal.m4 b/aclocal.m4 index 1cc9ab7a..0f2ae4b6 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -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 diff --git a/configure.in b/configure.in index d1dae879..23f6c987 100644 --- a/configure.in +++ b/configure.in @@ -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!]) )