From 663f9192417ce9defbdf5aa0c9f3b2dc08c9256d Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Thu, 11 Dec 2014 22:53:34 +0000 Subject: maint: fix syntax-check failures. * m4/m4.m4 (AC_PROG_GNU_M4): Reverse some test arguments for sc_prohibit_test_const_follows_var. Remove some spurious braces for sc_useless_braces_in_variable_drefs. Signed-off-by: Gary V. Vaughan --- m4/m4.m4 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'm4') diff --git a/m4/m4.m4 b/m4/m4.m4 index 80bd42c2..ba9b4dff 100644 --- a/m4/m4.m4 +++ b/m4/m4.m4 @@ -31,8 +31,8 @@ AC_PATH_PROGS_FEATURE_CHECK([M4], [m4 gm4 gnum4], # false positive strstr. ac_snippet=change'quote(<,>)in''dir(,mac,bug)' ac_snippet=${ac_snippet}pat'subst(a,\(b\)\|\(a\),\1)d'nl - ac_snippet=${ac_snippet}${as_nl}if'else(in''dex(..wi.d.,.d.),-1,bug)' - ac_snippet=${ac_snippet}${as_nl}if'else(in''dex(dnl + ac_snippet=$ac_snippet${as_nl}if'else(in''dex(..wi.d.,.d.),-1,bug)' + ac_snippet=$ac_snippet${as_nl}if'else(in''dex(dnl ;:11-:12-:12-:12-:12-:12-:12-:12-:12.:12.:12.:12.:12.:12.:12.:12.:12-,dnl :12-:12-:12-:12-:12-:12-:12-:12-),-1,,strstr-bug2)' test -z "`$ac_path_M4 -F conftest.m4f &1`" \ @@ -51,15 +51,15 @@ Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.])])]) *--gnu*) ac_cv_prog_gnu_m4_gnu=yes ;; *) ac_cv_prog_gnu_m4_gnu=no ;; esac]) - if test "$ac_cv_prog_gnu_m4_gnu" = yes; then + if test yes = "$ac_cv_prog_gnu_m4_gnu"; then M4_GNU=--gnu else M4_GNU= fi AC_SUBST([M4_GNU]) - if test x$ac_had_posixly_correct = xyes; then + if test yes = "$ac_had_posixly_correct"; then POSIXLY_CORRECT=: - if test $ac_cv_prog_gnu_m4_gnu = no; then + if test no = $ac_cv_prog_gnu_m4_gnu; then AC_MSG_WARN([the version of M4 that was found does not support -g]) AC_MSG_WARN([using it with POSIXLY_CORRECT set may cause problems]) fi -- cgit v1.2.1