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
1 changed files with 6 additions and 2 deletions

8
configure vendored
View File

@ -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