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: [PATCH][Ada] Fix testsuite/27476


On Mon, 2006-05-08 at 18:30 +0200, Arnaud Charlet wrote:
> > -      if [ "$main" == "" ]; then
> 
> Yes, this is definitely not proper syntax , since this is C/csh syntax, not sh
> syntax.

Looks like a GNU test extension, it is used in at least another GCC
script in gcc/mkconfig.sh:

if test x"$output" == x"config.h"; then

> > +      if [ -z "$main" ]; then
> 
> Should also work fine.

I commited this version since it was tested by Dave and me. 

Laurent


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