[FFmpeg-devel] [patch] Problem with configure script

Jean-Daniel Dupas devlists
Thu Jul 29 21:57:14 CEST 2010


Here is a patch to explicitly returns 0 in pkgconfig_generate() instead of returning without value when the target library is disabled.
If it does not return 0 explicitly, when the last library is disabled (swscale), the final "configure" exit value is one, 
even if the configure script is successfully executed. So it breaks scripts that invoke configure and rely on 0 for success and 1 for failure.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.patch
Type: application/octet-stream
Size: 331 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100729/6aa5ec91/attachment.obj>
-------------- next part --------------

-- Jean-Daniel

More information about the ffmpeg-devel mailing list