summaryrefslogtreecommitdiff
path: root/scorched3d/scorched3d-43.2-openal.patch
blob: 5aeb8cd64fbfe7670b73310abfb74d5a1ff9cafb (plain)
    1 diff -pruN scorched.orig/configure-al.m4 scorched/configure-al.m4
    2 --- scorched.orig/configure-al.m4	2010-11-16 11:59:34.712924554 +0000
    3 +++ scorched/configure-al.m4	2010-11-16 12:03:22.675886054 +0000
    4 @@ -7,25 +7,9 @@ AC_ARG_ENABLE(openaltest,
    5  	[  --disable-openaltest    Do not try to compile and run a test OpenAL program],
    6  		    , enable_openaltest=yes)
    7  AC_MSG_CHECKING(for OpenAL support)
    8 -AC_PATH_PROG(OPENAL_CONFIG, openal-config, no)
    9 -if test x$OPENAL_CONFIG = xno; then
   10 -	echo "*** The openal-config script installed by OpenAL could not be found"
   11 -	echo "*** Make sure openal-config is in your path, or set the OPENAL_CONFIG"
   12 -	echo "*** environment variable to the full path to openal-config."
   13 -
   14 -	AC_MSG_ERROR([*** Can't find the openal library. Try: http://www.openal.org/])
   15 -else
   16 -
   17 -	if test x"$use_static_openal" = x"yes"; then
   18 -		AL_LIBS="/usr/local/lib/libopenal.a"
   19 -	else
   20 -		AL_LIBS="`$OPENAL_CONFIG --libs`"
   21 -	fi
   22 -	
   23 -	AL_CFLAGS="`$OPENAL_CONFIG --cflags`"
   24 -
   25 -	AC_MSG_RESULT(yes)
   26 -fi
   27 +AL_LIBS="-lopenal"
   28 +AL_CFLAGS="-I/usr/include/AL"
   29 +AC_MSG_RESULT(yes)
   30  
   31  AC_MSG_CHECKING(for Freealut support)
   32  AC_PATH_PROG(FREEALUT_CONFIG, freealut-config, no)

Generated by cgit