summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2014-01-03 21:46:39 +0100
committerTorbjorn Granlund <tege@gmplib.org>2014-01-03 21:46:39 +0100
commitf4722a7d5c84ab2443fff074aaf2a8c114557d83 (patch)
tree54687a38ee9f165e73e71387108e91cc46f05663 /acinclude.m4
parent8b4d6b3ff0fe5d9e50e8d837e27dc92703d4a5f9 (diff)
downloadgmp-f4722a7d5c84ab2443fff074aaf2a8c114557d83.tar.gz
(GMP_PROG_M4): Check that eval's radix argument work.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 257fd1211..8d51a0d85 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -309,7 +309,9 @@ dnl macros.
``bad: $][# not supported (SunOS /usr/bin/m4)
'')ifelse(eval(89),89,`define(t2,Y)',
`bad: eval() doesnt support 8 or 9 in a constant (OpenBSD 2.6 m4)
-')ifelse(t1`'t2,YY,`good
+')ifelse(eval(0xdeed,16),deed,`define(t3,Y)',
+`bad: eval() doesnt support radix in eval (FreeBSD 8.x,9.0,9.1,9.2 m4)
+')ifelse(t1`'t2`'t3,YYY,`good
')]
EOF
dnl ' <- balance the quotes for emacs sh-mode