[FFmpeg-cvslog] r24585 - trunk/configure
stefano
subversion
Fri Jul 30 02:05:16 CEST 2010
Author: stefano
Date: Fri Jul 30 02:05:16 2010
New Revision: 24585
Log:
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 at devlists>).
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Fri Jul 30 01:58:04 2010 (r24584)
+++ trunk/configure Fri Jul 30 02:05:16 2010 (r24585)
@@ -3192,7 +3192,7 @@ comment=$2
version=$3
libs=$4
requires=$5
-enabled $shortname || return
+enabled $shortname || return 0
cat <<EOF > $name/$name.pc
prefix=$prefix
exec_prefix=\${prefix}
More information about the ffmpeg-cvslog
mailing list