[Mplayer-cvslog] CVS: main configure,1.696,1.697

Alex Beregszaszi alex at mplayerhq.hu
Thu Apr 24 20:55:47 CEST 2003


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

Modified Files:
	configure 
Log Message:
darwin ldd support patch by Steven M. Schultz <sms at 2BSD.COM>

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.696
retrieving revision 1.697
diff -u -r1.696 -r1.697
--- configure	21 Apr 2003 21:07:35 -0000	1.696
+++ configure	24 Apr 2003 18:55:43 -0000	1.697
@@ -35,7 +35,7 @@
   TMP="$?"
   echo >> "$TMPLOG"
   echo "ldd $TMPO" >> "$TMPLOG"
-  ( ldd "$TMPO" ) >> "$TMPLOG" 2>&1
+  ( $_ldd "$TMPO" ) >> "$TMPLOG" 2>&1
   echo >> "$TMPLOG"
   return "$TMP"
 }
@@ -458,6 +458,10 @@
   _inc_extra="$_inc_extra -I/usr/local/include"
 fi
 
+_ldd=ldd
+if darwin; then
+  _ldd="otool -L"
+fi
 
 # Checking CC version...
 if test "$_skip_cc_check" != yes ; then



More information about the MPlayer-cvslog mailing list