summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2014-12-11 22:53:34 +0000
committerGary V. Vaughan <gary@gnu.org>2014-12-11 23:06:09 +0000
commit663f9192417ce9defbdf5aa0c9f3b2dc08c9256d (patch)
treee83e24f9e311a833a262dcef012123a3b66cc575 /m4
parent72293c99520a7dd77d08241ae697409d052e38b4 (diff)
downloadlibtool-663f9192417ce9defbdf5aa0c9f3b2dc08c9256d.tar.gz
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 <gary@gnu.org>
Diffstat (limited to 'm4')
-rw-r--r--m4/m4.m410
1 files changed, 5 insertions, 5 deletions
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(<if''def>,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 </dev/null 2>&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