]> git.ipfire.org Git - thirdparty/libtool.git/commit
* ltmain.in (progpath): Work around backward compatibility issue
authorAlbert Chin-A-Young <china@thewrittenword.com>
Thu, 12 Feb 2004 12:27:46 +0000 (12:27 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 12 Feb 2004 12:27:46 +0000 (12:27 +0000)
commit8bab4493466f4e8bccbf181ee2f8b0001fdc376d
tree45e2e2a148e613ef3887643aef05dbb71e45f47e
parentec1f30353c71be82f9ea0c949df8d60f4765e60d
* ltmain.in (progpath): Work around backward compatibility issue
on IRIX 6.5. On IRIX 6.4+, sh is ksh but when the shell is invoked
as "sh" and the current value of the _XPG environment variable is
not equal to 1 (one), the special positional parameter $0, within
a function call, is the name of the function. So, rather than
using "$0" in functions, we set $progpath in the body and use that
everywhere instead (incase of code refactoring later).
(EXIT_SUCCESS, EXIT_FAILURE, EXIT_MISMATCH): For clarity.
ChangeLog
ltmain.in