ref: a1106c5d76b264446282feec3dea85b07d9cb2de
parent: 6b217ee03c5155dd751245dc3133167f3bcd7478
author: Simon Howard <[email protected]>
date: Fri Nov 28 09:57:29 EST 2014
Initial change to use SDL2 versions of libraries.
--- a/configure.ac
+++ b/configure.ac
@@ -34,7 +34,7 @@
dnl Search for SDL ...
-AM_PATH_SDL(1.1.3)
+AM_PATH_SDL2(2.0.3)
# Add the SDL compiler flags to the default compiler flag variables.
# It is important to do this now, before checking for headers and
@@ -57,7 +57,7 @@
# Check for SDL_mixer.
- AC_CHECK_LIB(SDL_mixer,Mix_LoadMUS,[
+ AC_CHECK_LIB(SDL2_mixer,Mix_LoadMUS,[
SDLMIXER_LIBS="$SDLMIXER_LIBS -lSDL_mixer"
],[
echo "*** Could not find SDL_mixer. Please install it."
@@ -66,7 +66,7 @@
# Check for SDL_net.
- AC_CHECK_LIB(SDL_net,SDLNet_UDP_Send,[
+ AC_CHECK_LIB(SDL2_net,SDLNet_UDP_Send,[
SDLNET_LIBS="$SDLNET_LIBS -lSDL_net"
],[
echo "*** Could not find SDL_net. Please install it."