config-patches
[Top][All Lists]
Advanced

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

config.guess is incompatible with pre-POSIX shells


From: Jacob Bachmeyer
Subject: config.guess is incompatible with pre-POSIX shells
Date: Tue, 04 May 2021 20:45:12 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]