[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:17:29 CEST 2013


On Fri, May 31, 2013 at 08:29:27PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes ticket #2614 for me.
> 
> Please comment, Carl Eugen

> diff --git a/configure b/configure
> index 3ae1261..7e30c41 100755
> --- a/configure
> +++ b/configure
> @@ -4226,7 +4226,9 @@ enabled jack_indev && check_lib2 jack/jack.h jack_client_open -ljack && check_fu
>  enabled_any sndio_indev sndio_outdev && check_lib2 sndio.h sio_open -lsndio
>  
>  if enabled libcdio; then
> -    check_lib2 "cdio/cdda.h cdio/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio || check_lib2 "cdio/paranoia/cdda.h cdio/paranoia/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio
> +    check_lib2 "cdio/cdda.h cdio/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio ||
> +    check_lib2 "cdio/paranoia/cdda.h cdio/paranoia/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio ||
> +    die "ERROR: libcdio-paranoia not found"
>  fi

Maybe just "require_pkg_config libcdio_paranoia"?

  % for x in libcdio libcdio_cdda libcdio_paranoia; do pkg-config --libs --cflags $x; done
  -lcdio -lm 
  -lcdio_cdda -lcdio -lm -lcdio -lm 
  -lcdio_paranoia -lcdio_cdda -lcdio -lm 

-- 
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/d22a71ab/attachment.asc>


More information about the ffmpeg-devel mailing list