From f3dec715cd7f7714826848e5cd6190e4cd5221ea Mon Sep 17 00:00:00 2001 From: reimar Date: Wed, 1 Nov 2006 10:49:52 +0000 Subject: Test proper linking for cdda/cdio git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20576 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index f89ef99bde..2bd060cf14 100755 --- a/configure +++ b/configure @@ -5286,7 +5286,10 @@ if test "$_cdparanoia" = auto ; then #include #include // 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 int main() { + void *test = cdda_verbose_set; printf("%s\n", CDIO_VERSION); - return 0; + return !test; } EOF -- cgit v1.2.3