[vlc-devel] Solaris configuration scripts fixes
remi at remlab.net
Mon Jan 18 09:39:13 CET 2010
On Sun, 17 Jan 2010 19:20:30 +0100, Francois Cartegnie <fcartegnie at free.fr>
> Le Sunday 17 January 2010, Rémi Denis-Courmont a écrit :
>> > Solaris's /bin/sh isn't a fully compliant shell and fails
>> > in configuration scripts. We needed a fix to override the
>> > hardcoded /bin/sh. (here using CONFIG_SHELL)
>> "compliant" with what? If the bug is in Solaris, the fix belongs in
> Posix Compliant.
> Systems are free not to have a posix compliant shell or not to have a
> /bin/sh shell.
POSIX does specify that 'sh' is a POSIX-compliant shell:
> So this isn't a solaris bug and vlc must build from any user
> specified shell. (and shell isn't specified by pkg-config)
The user may want to use a non-POSIX-shell, can't (s)he? Then VLC cannot
use that shell, or rather, cannot assume it can use the user's $(SHELL).
However, it can assume that 'sh' is POSIX-compliant.
Then, as far as VLC is concerned, there is a bug. We should prefix the
script invocation with 'sh '.
More information about the vlc-devel