comparison configure @ 20595:17e87d88049f

Check for existence of libcdio_paranoia, not libcdio, since the former is what we actually need.
author reimar
date Thu, 02 Nov 2006 18:12:19 +0000
parents 8cf7c136676d
children 82a1ee455661
comparison
equal deleted inserted replaced
20594:8cf7c136676d 20595:17e87d88049f
5327 for _ld_tmp in "" "-lwinmm" ; do 5327 for _ld_tmp in "" "-lwinmm" ; do
5328 _ld_tmp="-lcdio_cdda -lcdio -lcdio_paranoia $_ld_tmp" 5328 _ld_tmp="-lcdio_cdda -lcdio -lcdio_paranoia $_ld_tmp"
5329 cc_check $_ld_tmp $_ld_lm \ 5329 cc_check $_ld_tmp $_ld_lm \
5330 && _libcdio=yes && _ld_libcdio="$_ld_tmp" && break 5330 && _libcdio=yes && _ld_libcdio="$_ld_tmp" && break
5331 done 5331 done
5332 if test "$_libcdio" = no && $_pkg_config --exists libcdio ; then 5332 if test "$_libcdio" = no && $_pkg_config --exists libcdio_paranoia ; then
5333 _inc_tmp=`$_pkg_config --cflags libcdio_paranoia`; 5333 _inc_tmp=`$_pkg_config --cflags libcdio_paranoia`;
5334 _ld_tmp=`$_pkg_config --libs libcdio_paranoia`; 5334 _ld_tmp=`$_pkg_config --libs libcdio_paranoia`;
5335 cc_check $_inc_tmp $_ld_tmp $_ld_lm && _libcdio=yes \ 5335 cc_check $_inc_tmp $_ld_tmp $_ld_lm && _libcdio=yes \
5336 && _ld_libcdio="$_ld_tmp" && _inc_extra="$_inc_extra $_inc_tmp" 5336 && _ld_libcdio="$_ld_tmp" && _inc_extra="$_inc_extra $_inc_tmp"
5337 fi 5337 fi