[x264-devel] Failures on Solaris (SunOS 5.10)

Måns Rullgård mans at mansr.com
Wed Aug 6 20:09:17 CEST 2008


Loren Merritt <lorenm at u.washington.edu> writes:

> On Tue, 27 May 2008, tom at dbservice.com wrote:
>
>> First, ./configure contains bashisms (like ${host%%-*} ) but executes
>> under /bin/sh. If you rely on bash-specific features then the script
>> should be run under /bin/bash.
>
> My posix manual says %% is a standard sh feature.
> http://www.opengroup.org/onlinepubs/000095399/utilities/xcu_chap02.html#tag_02_06_02

Solaris /bin/sh is not POSIX-compliant, far from it.  /usr/xpg4/bin/sh
should work.  In the FFmpeg configure script, we do some checks of the
shell at the start, and if they fail try to find a working one.

-- 
Måns Rullgård
mans at mansr.com


More information about the x264-devel mailing list