mirror of
https://github.com/mpv-player/mpv
synced 2024-12-15 11:25:10 +00:00
Test proper linking for cdda/cdio
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20576 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8e0cb3f4d0
commit
f3dec715cd
8
configure
vendored
8
configure
vendored
@ -5286,7 +5286,10 @@ if test "$_cdparanoia" = auto ; then
|
||||
#include <cdda_interface.h>
|
||||
#include <cdda_paranoia.h>
|
||||
// This need a better test. How ?
|
||||
int main(void) { return 1; }
|
||||
int main(void) {
|
||||
void *test = cdda_verbose_set;
|
||||
return !test;
|
||||
}
|
||||
EOF
|
||||
_cdparanoia=no
|
||||
for _inc_tmp in "" "-I/usr/include/cdda" "-I/usr/local/include/cdda" ; do
|
||||
@ -5312,8 +5315,9 @@ if test "$_libcdio" = auto && test "$_cdparanoia" = no ; then
|
||||
#include <cdio/paranoia.h>
|
||||
int main()
|
||||
{
|
||||
void *test = cdda_verbose_set;
|
||||
printf("%s\n", CDIO_VERSION);
|
||||
return 0;
|
||||
return !test;
|
||||
|
||||
}
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user