Fix libcdio-paranoia detection.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 1 Jun 2013 16:34:51 +0000 (18:34 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 1 Jun 2013 16:34:51 +0000 (18:34 +0200)
Fixes ticket #2614.

configure

index 488851c..9198cc8 100755 (executable)
--- a/configure
+++ b/configure
@@ -4251,7 +4251,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
 
 enabled x11grab                                           &&