diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-01 10:49:52 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-01 10:49:52 +0000 |
commit | f3dec715cd7f7714826848e5cd6190e4cd5221ea (patch) | |
tree | cc6a1205258d2d390c1f1cd5d798b864a7bb784a /configure | |
parent | 8e0cb3f4d049e61c2aa10957e4147a048dadd8d7 (diff) | |
download | mpv-f3dec715cd7f7714826848e5cd6190e4cd5221ea.tar.bz2 mpv-f3dec715cd7f7714826848e5cd6190e4cd5221ea.tar.xz |
Test proper linking for cdda/cdio
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20576 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |