]> Dogcows Code - chaz/yoink/blobdiff - configure.ac
moving from SDL_sound to libvorbisfile
[chaz/yoink] / configure.ac
index a14508d30e49c59230659740f66be1c03947048e..82ebaa0baa87f8eade714dd2afaf5ab86bce618e 100644 (file)
@@ -6,7 +6,7 @@
 
 AC_PREREQ([2.60])
 
-AC_INIT([Yoink], [0.1], [chaz@dogcows.com], [yoink])
+AC_INIT([Yoink], [0.1], [onefriedrice@brokenzipper.com], [yoink])
 
 AC_CANONICAL_TARGET
 
@@ -194,8 +194,8 @@ AC_CHECK_HEADERS([AL/al.h AL/alut.h],,
 AC_CHECK_HEADERS([SDL/SDL_image.h],,
                                 [missing="$missing SDL_image"])
 
-AC_CHECK_HEADERS([SDL/SDL_sound.h],,
-                                [missing="$missing SDL_sound"])
+AC_CHECK_HEADERS([vorbis/codec.h vorbis/vorbisfile.h],,
+                                [missing="$missing libvorbis"])
 
 if test "x$missing" != x
 then
@@ -212,31 +212,31 @@ fi
 # Checks for libraries.
 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-AC_SEARCH_LIBS([IMG_Load], [SDL_image],,
-                          [missing="$missing SDL_image"])
-
-AC_SEARCH_LIBS([Sound_Init], [SDL_sound],,
-                          [missing="$missing SDL_sound"])
-
 if test x$WIN32 == xyes
 then
 # autoconf library search macro doesn't find opengl32 on windows because it uses
 # different name hashing, but it links fine; assume it's there
        LIBS="$LIBS -lglu32 -lopengl32"
 else
-       AC_SEARCH_LIBS([gluPerspective], [GLU MesaGLU],,
+       AC_SEARCH_LIBS([gluDisk], [GLU MesaGLU],,
                                   [missing="$missing GLU"])
 
-       AC_SEARCH_LIBS([glBegin], [GL MesaGL],,
+       AC_SEARCH_LIBS([glEnable], [GL MesaGL],,
                                   [missing="$missing OpenGL"])
 fi
 
-AC_SEARCH_LIBS([alGenBuffers], [openal openal32],,
+AC_SEARCH_LIBS([alEnable], [openal openal32],,
                           [missing="$missing OpenAL"])
 
 AC_SEARCH_LIBS([alutInit], [alut],,
                           [missing="$missing ALUT"])
 
+AC_SEARCH_LIBS([IMG_Load], [SDL_image],,
+                          [missing="$missing SDL_image"])
+
+AC_SEARCH_LIBS([ov_open], [vorbisfile],,
+                          [missing="$missing libvorbis"])
+
 AC_SEARCH_LIBS([clock_gettime], [rt],
                           [AC_DEFINE([HAVE_CLOCK_GETTIME], 1,
                                                  [Define to 1 if you have the 'clock_gettime' function.])])
This page took 0.018346 seconds and 4 git commands to generate.