[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: one fix for building under Solaris



>    (! test -z "$LIBTOOLIZE") || {

>    ...requires Bash, and blows up when run by the Bourne shell.

It does not require bash.  NetBSD's stock sh, for example, which is
definitely not bash - it appears to be based on ash - accepts it just
fine.  (This is as of both NetBSD 1.4T and 4.0, probably meaning
everything in between too.)

This is not to say that it's not better to avoid it, especially given a
relatively common Unix variant (Solaris) that breaks on it.  Perhaps

test -z "$LIBTOOLIZE" && {

works better?  I can't see any reason it would be semantically
different, unless there is further control structure following the
closing }.  (I can't easily test it myself, as I have no machines
running Solaris.)

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse@xxxxxxxxxxxxxxxxxxxx
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user