[MPlayer-cvslog] r20576 - trunk/configure

reimar subversion at mplayerhq.hu
Wed Nov 1 11:49:55 CET 2006


Author: reimar
Date: Wed Nov  1 11:49:52 2006
New Revision: 20576

Modified:
   trunk/configure

Log:
Test proper linking for cdda/cdio


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Wed Nov  1 11:49:52 2006
@@ -5286,7 +5286,10 @@
 #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 @@
 #include <cdio/paranoia.h>
 int main()
 {
+    void *test = cdda_verbose_set;
     printf("%s\n", CDIO_VERSION);
-    return 0;
+    return !test;
     
 }
 EOF



More information about the MPlayer-cvslog mailing list