changeset 20566:595b7c1794fa

gcc optimized != 0 check for extern function away, thus linking would still always succeed in cdda and cdio tests.
author reimar
date Wed, 01 Nov 2006 17:05:17 +0000
parents 7732bd30bb6c
children a45bc176a16d
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Nov 01 14:50:36 2006 +0000
+++ b/configure	Wed Nov 01 17:05:17 2006 +0000
@@ -5288,7 +5288,7 @@
 // This need a better test. How ?
 int main(void) {
     void *test = cdda_verbose_set;
-    return !test;
+    return test == (void *)1;
 }
 EOF
     _cdparanoia=no
@@ -5317,7 +5317,7 @@
 {
     void *test = cdda_verbose_set;
     printf("%s\n", CDIO_VERSION);
-    return !test;
+    return test == (void *)1;
     
 }
 EOF