Mercurial > mplayer.hg
comparison configure @ 25905:58cc83083579
Also accept OpenAL32 as library name for OpenAL, it is used by some Windows-Implementations
author | reimar |
---|---|
date | Wed, 30 Jan 2008 21:46:20 +0000 |
parents | 74302bcd1035 |
children | b102c1f10728 |
comparison
equal
deleted
inserted
replaced
25904:b6a21117a904 | 25905:58cc83083579 |
---|---|
5171 alSourceQueueBuffers(0, 0, 0); | 5171 alSourceQueueBuffers(0, 0, 0); |
5172 // alGetSourcei(0, AL_SAMPLE_OFFSET, 0); | 5172 // alGetSourcei(0, AL_SAMPLE_OFFSET, 0); |
5173 return 0; | 5173 return 0; |
5174 } | 5174 } |
5175 EOF | 5175 EOF |
5176 for I in "-lopenal" "-framework OpenAL" ; do | 5176 for I in "-lopenal" "-lopenal32" "-framework OpenAL" ; do |
5177 cc_check $I && _openal=yes && break | 5177 cc_check $I && _openal=yes && break |
5178 cc_check -DOPENAL_AL_H=1 $I && _def_openal_h='#define OPENAL_AL_H 1' && _openal=yes && break | 5178 cc_check -DOPENAL_AL_H=1 $I && _def_openal_h='#define OPENAL_AL_H 1' && _openal=yes && break |
5179 done | 5179 done |
5180 test "$_openal" = yes && _libs_mplayer="$_libs_mplayer $I" | 5180 test "$_openal" = yes && _libs_mplayer="$_libs_mplayer $I" |
5181 fi | 5181 fi |