diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-19 16:06:33 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-19 16:06:33 +0000 |
commit | 8262dd29ca6155fbb80d6aa90f7d74ff1107c683 (patch) | |
tree | f8d1b3b69ff01c8ebdb88bdc0bba429a1e4342a1 /configure | |
parent | 2d24dd64ac1495a29f3d8093aedd4f6c343cbc1b (diff) | |
download | mpv-8262dd29ca6155fbb80d6aa90f7d74ff1107c683.tar.bz2 mpv-8262dd29ca6155fbb80d6aa90f7d74ff1107c683.tar.xz |
arghh, fixed shm :(
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3006 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |