[Mplayer-cvslog] CVS: main configure,1.874,1.875

Alex Beregszaszi syncmail at mplayerhq.hu
Fri Jun 25 18:17:19 CEST 2004


CVS change done by Alex Beregszaszi

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv25280

Modified Files:
	configure 
Log Message:
darwin flags cleanup by Dan Christiansen

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.874
retrieving revision 1.875
diff -u -r1.874 -r1.875
--- configure	24 Jun 2004 12:52:14 -0000	1.874
+++ configure	25 Jun 2004 16:17:16 -0000	1.875
@@ -5817,8 +5817,11 @@
 EOF
 fi
 if darwin ; then
-  # use gnu style cpp on Darwin
-  CFLAGS="$CFLAGS -no-cpp-precomp -DSYS_DARWIN -Wl,-bind_at_load"
+  CFLAGS="$CFLAGS -DSYS_DARWIN"
+  if [ "$_cc_major" = 3 ] && [ "$_cc_minor" -lt 1 ]; then
+    CFLAGS="$CFLAGS -no-cpp-precomp"
+  fi
+
   # libavcodec (from ffmpeg) requires CONFIG_DARWIN to enable AltiVec on Darwin/MacOSX
   test "$_altivec" = yes && CFLAGS="$CFLAGS -DCONFIG_DARWIN"
 fi




More information about the MPlayer-cvslog mailing list