mirror of
https://github.com/mpv-player/mpv
synced 2025-01-18 13:14:36 +00:00
Simplify libcdio check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17808 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
349e0f199c
commit
1b1a9c9163
6
configure
vendored
6
configure
vendored
@ -5189,7 +5189,7 @@ int main()
|
||||
EOF
|
||||
_libcdio=no
|
||||
for _inc_tmp in "$_inc_libcdio" "-I/usr/include/cdio" "-I/usr/local/include/cdio" ; do
|
||||
cc_check `pkg-config --cflags --libs libcdio_paranoia` $_inc_tmp $_ld_libcdio $_ld_lm \
|
||||
cc_check `pkg-config --cflags --libs libcdio_paranoia` $_inc_tmp $_ld_lm \
|
||||
&& _inc_libcdio="$_inc_tmp" && ( $TMPO >> "$TMPLOG" ) \
|
||||
&& _libcdio=yes && break
|
||||
done
|
||||
@ -5206,9 +5206,7 @@ if test "$_libcdio" = yes && test "$_cdparanoia" = no ; then
|
||||
_ld_libcdio=`pkg-config --libs libcdio_paranoia`
|
||||
else
|
||||
if test "$_cdparanoia" = yes ; then
|
||||
_libcdio="no (using cdparanoia)"
|
||||
else
|
||||
_libcdio=no
|
||||
_res_comment="(using cdparanoia)"
|
||||
fi
|
||||
_def_libcdio='#undef HAVE_LIBCDIO'
|
||||
_def_havelibcdio='no'
|
||||
|
Loading…
Reference in New Issue
Block a user