[FFmpeg-devel] [PATCH]Error out if libcdio-paranoia is not found in configure

Clément Bœsch ubitux at gmail.com
Sat Jun 1 16:59:57 CEST 2013


On Sat, Jun 01, 2013 at 02:21:01PM +0000, Carl Eugen Hoyos wrote:
> Clément Bœsch <ubitux <at> gmail.com> writes:
> 
> > > +    die "ERROR: libcdio-paranoia not found"
> > >  fi
> > 
> > Maybe just "require_pkg_config libcdio_paranoia"?
> 
> On second thought:
> Does libcdio require pkg_config?
> 

I don't know if any project actually "requires" pkg-config, but it seems
to be distributed with the necessary .pc files. And since solving your
problem is actually the purpose of pkg-config, I thought it was the
appropriate to use it. I haven't tested, but it looked simpler and more
reliable than hardcoding (possibly incomplete) link and include flags that
may change in the future.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130601/b23229dc/attachment.asc>


More information about the ffmpeg-devel mailing list