1
0
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:
reimar 2006-11-01 10:49:52 +00:00
parent 8e0cb3f4d0
commit f3dec715cd

8
configure vendored
View File

@ -5286,7 +5286,10 @@ if test "$_cdparanoia" = auto ; then
#include <cdda_interface.h> #include <cdda_interface.h>
#include <cdda_paranoia.h> #include <cdda_paranoia.h>
// This need a better test. How ? // This need a better test. How ?
int main(void) { return 1; } int main(void) {
void *test = cdda_verbose_set;
return !test;
}
EOF EOF
_cdparanoia=no _cdparanoia=no
for _inc_tmp in "" "-I/usr/include/cdda" "-I/usr/local/include/cdda" ; do 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> #include <cdio/paranoia.h>
int main() int main()
{ {
void *test = cdda_verbose_set;
printf("%s\n", CDIO_VERSION); printf("%s\n", CDIO_VERSION);
return 0; return !test;
} }
EOF EOF