I am currently in the process of producing a DejaGnu release and I have
run into a bit of a problem: unlike most GNU packages, DejaGnu installs
config.guess and uses it at runtime if the build system triplet has not
otherwise been specified. DejaGnu is installed into an
architecture-independent tree, and therefore cannot rely on
substitutions made by configure. On Solaris 10, /bin/sh is a non-POSIX
shell and fails to execute config.guess because POSIX "$(...)" command
substitutions are used instead of the traditional backticks.
I have recently fixed similar non-portabilities in the shell scripts
packaged with DejaGnu (thanks to Rainer Orth for reporting the issues)
and would be willing to write a patch for config.guess and possibly
config.sub to restore portability if that patch would be acceptable.
-- Jacob
- config.guess is incompatible with pre-POSIX shells Jacob Bachmeyer
-