diff mbox

[v3] fix bootstrap/54419

Message ID alpine.LNX.2.00.1209092148530.4718@trevally.site
State New
Headers show

Commit Message

Gerald Pfeifer Sept. 9, 2012, 7:51 p.m. UTC
On Sun, 9 Sep 2012, Gerald Pfeifer wrote:
> amd64-unknown-freebsd8.3 doesn't like this, I'm afraid:
> 
> configure: visibility supported: yes
> checking for rdrand support in assembler... eval: ${+...}: Bad substitution
> gmake[2]: *** [configure-stage1-target-libstdc++-v3] Error 2
> 
> Note, this is BSD sh, not bash.  I'll admit that I had a look, and
> did not find the culprit right away.

Actually, I did just after sending that mail.  If my bootstrap
procedes beyond the point of failure, I guess I'll go ahead and
commit.

:

Well, I see our mails crossed and you found the same. ;-)  Thanks.

Gerald


2012-09-09  Gerald Pfeifer  <gerald@pfeifer.com>

	* acinclude.m4 (GLIBCXX_CHECK_X86_RDRAND): Fix invocation of
	AC_CACHE_VAL.
	* configure: Regenerated.
diff mbox

Patch

Index: acinclude.m4
===================================================================
--- acinclude.m4	(revision 191118)
+++ acinclude.m4	(working copy)
@@ -3363,7 +3363,7 @@ 
 dnl Check whether rdrand is supported in the assembler.
 AC_DEFUN([GLIBCXX_CHECK_X86_RDRAND], [
   AC_MSG_CHECKING([for rdrand support in assembler])
-  AC_CACHE_VAL($ac_cv_x86_rdrand, [
+  AC_CACHE_VAL(ac_cv_x86_rdrand, [
   ac_cv_x86_rdrand=no
   case "$target" in
     i?86-*-* | \