[MPlayer-dev-eng] [PATCH] speedup configure by 8% on mingw

Gianluigi Tiesi mplayer at netfarm.it
Sat Mar 24 02:29:18 CET 2007


This simple patch speeds up configure script by 8%
on win32, yes maybe is not enough good,
but at least ldd makes no sense on mingw.

Using true instead of echo as _ldd gains less
I think also
_ranlib="echo"
or similar instead of true should make configure 
script a bit faster

Regards

-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
-------------- next part --------------
diff -NuBr -x.svn -xhelp_mp.h -xlibdha -x'*.so' -x'*.log' -x'*.a' -x'*.exe' -x'*.o' -xconfigure.log -xconfig.mak -x.cvsignore -xconfig.h -xcodecs.conf.h -xversion.h -x.depend main/configure sherpya/configure
--- main/configure	2007-03-22 02:03:32.656460800 +0100
+++ sherpya/configure	2007-03-24 02:23:46.813924800 +0100
@@ -1289,6 +1289,7 @@
 fi
 
 if win32 ; then
+  _ldd="echo"
   _exesuf=".exe"
   # -lwinmm is always needed for osdep/timer-win2.c
   _ld_extra="$_ld_extra -lwinmm"


More information about the MPlayer-dev-eng mailing list