This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: user hostile gobbledygook in top level Makefile
Also sprach Alexandre Oliva:
} On Nov 22, 2000, Bill Wendling <wendling@ncsa.uiuc.edu> wrote:
}
} > } "`test 'x$(BOOT_CFLAGS)' = x || echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)'`"
}
} > I like:
}
} > "`test -z '$(BOOT_CFLAGS)' || ...
}
} It's not as portable. Granted, you'll seldom find BOOT_CFLAGS = '!=',
} which is one of the cases in which `-z' would fail to work portably.
}
Ah..okay.
I wasn't aware that -z wasn't portable. We have been using it for our
configure scripts which port to many, sometimes strange machines (ASCI
Red, etc), but then we don't support all that gcc does. I do know that
autoconf generates configure which has ``test -z'' in them.
Anyway, I also realize that the first option is a standard way of doing
things, so whatever people choose :).
--
|| Bill Wendling wendling@ncsa.uiuc.edu
|| Coding Simian