[Gmp-commit] /var/hg/gmp: (GMP_PROG_M4): Avoid hex output, since case varies.

mercurial at gmplib.org mercurial at gmplib.org
Sat Jan 4 13:08:50 UTC 2014


details:   /var/hg/gmp/rev/0ea85d41d976
changeset: 16159:0ea85d41d976
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sat Jan 04 14:08:46 2014 +0100
description:
(GMP_PROG_M4): Avoid hex output, since case varies.

diffstat:

 ChangeLog    |  4 ++++
 acinclude.m4 |  2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r cc13da2c2730 -r 0ea85d41d976 ChangeLog
--- a/ChangeLog	Sat Jan 04 00:10:48 2014 +0100
+++ b/ChangeLog	Sat Jan 04 14:08:46 2014 +0100
@@ -1,3 +1,7 @@
+2014-01-04  Torbjorn Granlund  <tege at gmplib.org>
+
+	* acinclude.m4 (GMP_PROG_M4): Avoid hex output, since case varies.
+
 2014-01-03  Torbjorn Granlund  <tege at gmplib.org>
 
 	* config.guess: Support newer haswell, broadwell, silvermont.
diff -r cc13da2c2730 -r 0ea85d41d976 acinclude.m4
--- a/acinclude.m4	Sat Jan 04 00:10:48 2014 +0100
+++ b/acinclude.m4	Sat Jan 04 14:08:46 2014 +0100
@@ -309,7 +309,7 @@
 ``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(eval(0xdeed,16),deed,`define(t3,Y)',
+')ifelse(eval(9,16),10,`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
 ')]


More information about the gmp-commit mailing list