[FFmpeg-devel] [patch] Problem with configure script
Stefano Sabatini
stefano.sabatini-lala
Fri Jul 30 02:05:41 CEST 2010
On date Thursday 2010-07-29 21:07:47 +0100, M?ns Rullg?rd encoded:
> Jean-Daniel Dupas <devlists at shadowlab.org> writes:
>
> > Hello,
> >
> > 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.
> >
> >
> > Index: configure
> > ===================================================================
> > --- configure (revision 24577)
> > +++ configure (working copy)
> > @@ -3192,7 +3192,7 @@
> > version=$3
> > libs=$4
> > requires=$5
> > -enabled $shortname || return
> > +enabled $shortname || return 0
> > cat <<EOF > $name/$name.pc
> > prefix=$prefix
> > exec_prefix=\${prefix}
>
> OK
Applied.
--
FFmpeg = Fostering and Fanciful Minimalistic Portable Explosive Gigant
More information about the ffmpeg-devel
mailing list