Opened 13 years ago

Closed 13 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: Analyzed by developer:


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@… 13 years ago.
diff on configure

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by codon1@…

diff on configure

comment:1 Changed 13 years ago by codon1@…

comment:2 Changed 13 years ago by mans@…

  • Resolution set to invalid
  • Status changed from new to closed

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.