Blob Blame History Raw
--- vegastrike-0.4.3/src/aldrv/al_init.cpp.openal	2007-02-25 16:17:45.000000000 +0100
+++ vegastrike-0.4.3/src/aldrv/al_init.cpp	2007-02-25 16:17:45.000000000 +0100
@@ -135,12 +135,8 @@
 ///I don't think we'll need to switch contexts or devices in vegastrike
 static ALCdevice *dev=NULL;
 
-#ifndef _WIN32
-static ALvoid *context_id=NULL;
-#else
 static ALCcontext * context_id=NULL;
 #endif
-#endif
 bool AUDInit () {
   g_game.sound_enabled = false;
 #ifdef HAVE_AL
--- vegastrike-0.4.3/configure.in.openal	2007-02-25 16:17:45.000000000 +0100
+++ vegastrike-0.4.3/configure.in	2007-02-25 16:35:10.000000000 +0100
@@ -1151,7 +1151,7 @@
     if test "x$have_openal_lib" = "xyes" ; then
       EPEE_DAY="september 30"
     else
-      MACORPCLIBS="$OPENAL_LDOPTS -l$OPENAL_LIB_NAME"
+      MACORPCLIBS="$OPENAL_LDOPTS -l$OPENAL_LIB_NAME -lalut"
       CHECK_FOR_OPENAL_LIB
     fi
 
@@ -1261,7 +1261,7 @@
 	   CPPFLAGS="$saved_CPPFLAGS $VORBIS_CFLAGS"
 	   AC_MSG_CHECKING([for vorbis header])
 	   AC_TRY_CPP([#include <vorbis/vorbisfile.h> ] ,have_vorbis_h=yes , have_vorbis_h=no)
-	   AC_MSG_RESULT([$have_vorbis_h])]
+	   AC_MSG_RESULT([$have_vorbis_h])
 	   if test "x$have_vorbis_h" = "xyes" ; then
 	      VS_CPPFLAGS="${VS_CPPFLAGS} ${VORBIS_CFLAGS} -DHAVE_OGG "
 	      echo "found VORBIS header: Enabling ingame ogg support:: ${VS_CPPFLAGS}"