Opened 17 years ago

Closed 17 years ago

#715 closed defect (invalid)

Mingw build fix

Reported by: codon1@… Owned by: mans@…
Priority: normal Component: libavformat
Version: unspecified Severity: trivial
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

With MinGw 3.1.0 and MSys 1.0.10, as of r7535 in ffmpeg head svn, ffmpeg will no longer compile in the mingw build environment.

The error is in the configure script shell detection. It claims a broken shell when in fact the shell is fine.

The bash version is :
GNU bash, version 2.04.0(1)-release (i686-pc-msys)
Copyright 1999 Free Software Foundation, Inc.

The configure script tries to explicitly detect and reject this version of bash. However, removing this shell detection results in a perfectly usable library.

Therefore, the attached patch removes the broken shell tests.

Attachments (1)

configure.diff (1.5 KB ) - added by codon1@… 17 years ago.
diff on configure

Download all attachments as: .zip

Change History (3)

by codon1@…, 17 years ago

Attachment: configure.diff added

diff on configure

comment:1 by codon1@…, 17 years ago

comment:2 by mans@…, 17 years ago

Resolution: invalid
Status: newclosed

The shell test checks for specific features. If the test fails, the rest of the script might not work properly. That it appears to work for you does in no way mean that the library is correctly built, or that it would work with other configurations.

Note: See TracTickets for help on using tickets.