Mercurial > repo > gmp-6.0
changeset 16155:b8f691bd0d03
(GMP_PROG_M4): Check that eval's radix argument work.
| author | Torbjorn Granlund <tege@gmplib.org> |
|---|---|
| date | Fri, 03 Jan 2014 21:46:39 +0100 |
| parents | 36723c2428f7 |
| children | 8e5bb84480d7 |
| files | acinclude.m4 |
| diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/acinclude.m4 Fri Jan 03 17:31:29 2014 +0100 +++ b/acinclude.m4 Fri Jan 03 21:46:39 2014 +0100 @@ -309,7 +309,9 @@ ``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
