Fix GCC usage test and update README
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
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)'