1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02:00

arghh, fixed shm :(

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3006 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2001-11-19 16:06:33 +00:00
parent 2d24dd64ac
commit 8262dd29ca

7
configure vendored
View File

@ -1136,11 +1136,14 @@ echores "$_termcap"
echocheck "shm"
cat > $TMPC << EOF
if test "$_shm" = auto ; then
_shm=no
cat > $TMPC << EOF
#include <sys/shm.h>
int main(void) { shmget(0, 0, 0); shmat(0, 0, 0); shmctl(0, 0, 0); return 0; }
EOF
cc_check && _shm=yes
cc_check && _shm=yes
fi
if test "$_shm" = yes ; then
_def_shm='#define HAVE_SHM 1'
else