This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libtool max_cmd_len bits


On Thu, 7 Apr 2005, Mike Stump wrote:

> This pulls some bits from libtool to update lt_cv_sys_max_cmd_len...  this
> improves -m64 multilib builds of libjava on darwin8 by enabling it to build in
> one step.

> +if test -n $lt_cv_sys_max_cmd_len ; then

This use of "test" without quoted argument ($lt_cv_sys_max_cmd_len may be 
empty at this point) causes problems configuring with those shells which 
exit after "test: argument expected".  Those shells are buggy but the 
configure script still shouldn't be invoking test with just "-n" as its 
argument; $lt_cv_sys_max_cmd_len should be quoted.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]