[FFmpeg-trac] #9135(build system:new): Bashism in configure
FFmpeg
trac at avcodec.org
Tue Mar 2 16:38:56 EET 2021
#9135: Bashism in configure
-------------------------------------+-------------------------------------
Reporter: Peter.White | Type: defect
Status: new | Priority: normal
Component: build | Version: git-
system | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
How to reproduce:
{{{
# link /bin/sh to zsh
% ./configure
./configure:6493: parse error near `}'
}}}
There is a semicolon missing before the closing bracket in the openal
check. Other shells seem to gloss over that slight mistake but zsh, when
run as sh, seems to be very strict.
A look into the manual of dash, which claims to be the most POSIX
compliant shell, shows that grouped command lists must always be finished
with a semicolon. I believe this is also what POSIX says but have not
found the text to back up this claim, yet.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9135>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list