From: Peter g. <pg...@co...> - 2009-01-12 02:19:19
|
Sun Jan 11 21:16:12 EST 2009 Peter Gavin <pg...@gm...> * configure.ac, mk/link-splitobjs: add xargs back, but only use it if it's available I originally took it out for portability, but xargs speeds things up enough to make it worth putting back hunk ./configure.ac 60 +AC_PATH_PROG(XARGS,xargs) hunk ./mk/link-splitobjs.sh.in 15 -cat ${lib}.list | while read file ; do @AR@ q ${lib} ${file} ; done +if [ -z "@XARGS@" ] ; then + cat ${lib}.list | while read file ; do @AR@ q ${lib} ${file} ; done +else + cat ${lib}.list | @XARGS@ @AR@ q ${lib} +fi |