OSDN Git Service

Make pkgconfig_generate() explicitly return 0 in instead of returning
authorJean-Daniel Dupas <devlists@shadowlab.org>
Fri, 30 Jul 2010 00:05:16 +0000 (00:05 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 30 Jul 2010 00:05:16 +0000 (00:05 +0000)
commit8fad26610193efeb3a4076329ee616a29c0f837d
treecfb71518887b7490662f8c49cdb7fff57b1dd998
parent3dec10cded6d51e392da67a9136d490324104d18
Make pkgconfig_generate() explicitly return 0 in instead of returning
without value when the target library is disabled.

If it does not explicitly return 0, when the last library is disabled
(swscale), the final "configure" exit value is 1, 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.

Patch by Jean-Daniel Dupas reverse(<org.shadowlab@devlists>).

Originally committed as revision 24585 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure