foxygit / doom Log in
commit a1106c5d76b264446282feec3dea85b07d9cb2de
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Fri Nov 28 14:57:29 2014 -0500
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Fri Nov 28 14:57:29 2014 -0500

    Initial change to use SDL2 versions of libraries.
---
 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8aef46fb..e6de4029 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,7 +34,7 @@ fi

 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 @@ AC_SDL_MAIN_WORKAROUND([

     # 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 @@ AC_SDL_MAIN_WORKAROUND([

     # 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."