Opened 16 months ago

#9135 new defect

Bashism in configure

Reported by: Peter White Owned by:
Priority: normal Component: build system
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.