[Mplayer-cvslog] CVS: main configure,1.271,1.272

Alex Beregszaszi alex at mplayer.dev.hu
Mon Nov 19 17:06:35 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv333

Modified Files:
	configure 
Log Message:
arghh, fixed shm :(

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.271
retrieving revision 1.272
diff -u -r1.271 -r1.272
--- configure	19 Nov 2001 15:54:43 -0000	1.271
+++ configure	19 Nov 2001 16:06:33 -0000	1.272
@@ -1136,11 +1136,14 @@
 
 
 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




More information about the MPlayer-cvslog mailing list