Commit 176aa9d2e23d9cd57d6f250692d910b408f9a651

Anthony Green 2013-02-07T15:29:22

Fix GCC usage test and update README

diff --git a/ChangeLog b/ChangeLog
index 3d3046c..46ea32d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2013-02-07  Anthony Green <green@moxielogic.com>
 
+	* configure.ac: Fix GCC usage test.
+	* configure: Rebuilt.
+
+2013-02-07  Anthony Green <green@moxielogic.com>
+
 	* testsuite/libffi.call/cls_double_va.c (main): Replace // style
 	comments with /* */ for xlc compiler.
 	* testsuite/libffi.call/stret_large.c (main): Ditto.
diff --git a/README b/README
index 55a6c43..4a47864 100644
--- a/README
+++ b/README
@@ -167,6 +167,7 @@ See the ChangeLog files for details.
 	Add support for PaX enabled kernels with MPROTECT.
 	Add support for native vendor compilers on
 	  Solaris and AIX.
+	Work around LLVM/GCC interoperability issue on x86_64.
 
 3.0.11 Apr-11-12
         Lots of build fixes.
diff --git a/configure b/configure
index 30c468c..696081a 100755
--- a/configure
+++ b/configure
@@ -14805,7 +14805,7 @@ fi
 
 # These variables are only ever used when we cross-build to X86_WIN32.
 # And we only support this with GCC, so...
-if test x"$GCC" != x"no"; then
+if test "x$GCC" = "xyes"; then
   if test -n "$with_cross_host" &&
      test x"$with_cross_host" != x"no"; then
     toolexecdir='$(exec_prefix)/$(target_alias)'
diff --git a/configure.ac b/configure.ac
index 4a2904e..f44ed8f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -521,7 +521,7 @@ AC_ARG_ENABLE(purify-safety,
 
 # These variables are only ever used when we cross-build to X86_WIN32.
 # And we only support this with GCC, so...
-if test x"$GCC" != x"no"; then
+if test "x$GCC" = "xyes"; then
   if test -n "$with_cross_host" &&
      test x"$with_cross_host" != x"no"; then
     toolexecdir='$(exec_prefix)/$(target_alias)'