Re: Non-POSIX shells



ERDI Gergo wrote:

What's the official word on non-POSIX shells and their relation to
Makefiles and Autoconf scripts? Can't we simply require a POSIX shell? (we
also require some external-to-GNOME libraries (the image loader libraries
pop to my mind), so this wouldn't be earth-shattering)

I'm asking because of http://bugzilla.gnome.org/show_bug.cgi?id=73381

The whole idea of autoconf is to work with the bugs in the user's shell. There is a section of the autoconf manual that you can use as a reference when working on autoconf scripts. Select "Portable Shell" from the main menu in its info file. The Shell Substitutions node has a lot of information on problems with common shells (it says the $() syntax will fail with Solaris's default shell, and IRIX 6.5's one).

James.

--
Email: james daa com au
WWW:   http://www.daa.com.au/~james/



_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers



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