[FFmpeg-devel] check for execution without $EXESUF due to issue with msys/mingw

Axel Holzinger aholzinger
Fri Mar 28 18:55:46 CET 2008


Hi,

configure checks for ability to execute files in $TMPDIR, but msys/mingw (32
bit msys under Vista x64) has problems to execute shell scripts with ".exe"
$EXESUF extension (output in config.err: bad interpreter: Bad file number).

This patch fixes the issue by defining new variable $TMPSS (temporary shell
script) that omits $EXESUF at the end of the filename.

Another possible solution would be to remove $EXESUF locally when creating
the shell script file, but that would lead to code bloat IMHO.

Cheers
Axel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.diff
Type: application/octet-stream
Size: 1455 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080328/8a9a979e/attachment.obj>



More information about the ffmpeg-devel mailing list