* m4/gnulib-common.m4 (_GL_CMP): Properly parenthesize. --- ChangeLog | 5 +++++ m4/gnulib-common.m4 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog index 23e809982..01577c9bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-07-24 Paul Eggert <egg...@cs.ucla.edu> + + Fix _GL_CMP parenthesization typo + * m4/gnulib-common.m4 (_GL_CMP): Properly parenthesize. + 2020-07-24 Bruno Haible <br...@clisp.org> dfa: Revert breaking gawk. diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4 index ba4239188..dfd4a258e 100644 --- a/m4/gnulib-common.m4 +++ b/m4/gnulib-common.m4 @@ -305,7 +305,7 @@ AC_DEFUN([gl_COMMON_BODY], [ GCC versions up to GCC 9. The better code (n1 > n2) - (n1 < n2) from Hacker's Delight ยง 2-9 avoids conditional jumps in all GCC versions >= 3.4. */ -#define _GL_CMP(n1, n2) ((n1) > (n2)) - ((n1) < (n2)) +#define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2))) ]) dnl Hint which direction to take regarding cross-compilation guesses: dnl When a user installs a program on a platform they are not intimately -- 2.25.4