libiberty for $build
Alexandre Oliva
aoliva@redhat.com
Tue Jul 10 15:11:00 GMT 2001
On Jul 10, 2001, DJ Delorie <dj@redhat.com> wrote:
>> Some shells don't like it when a command results in a non-zero exit
>> status. Use `test "x$build" = "x$host" || echo "/$build"` instead.
> We really need a list of what we're allowed to use and what we're not
> allowed to use.
Have a look at the shell portability guide in autoconf 2.50's manual.
I'm not sure it covers this particular issue, since it applies mostly
to Makefiles, but it's still good read every now and then, for one who
has to write portable shell code.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-patches
mailing list