diff configure @ 29701:ab2def5a960f

Extend EBX_AVAILABLE check in a way that works for both OpenBSD/Haiku and 64 bit OSX.
author reimar
date Wed, 30 Sep 2009 18:45:02 +0000
parents 3ed1dc05c83b
children e426da101145
line wrap: on
line diff
--- a/configure	Wed Sep 30 14:55:43 2009 +0000
+++ b/configure	Wed Sep 30 18:45:02 2009 +0000
@@ -2571,6 +2571,8 @@
         // just adding ebx to clobber list seems unreliable with some
         // compilers, e.g. Haiku's gcc 2.95
     );
+    // and the above check does not work for OSX 64 bit...
+    __asm__ volatile("":::"%ebx");
     return 0;
 }
 EOF