diff options
author | Jim Meyering <meyering@fb.com> | 2014-10-05 17:32:13 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2014-11-30 18:59:34 -0800 |
commit | 8d5fa64778161a6bbccb8a80478849467003cabd (patch) | |
tree | 633d2602a58e0e3784b283791f318392b4bdff34 | |
parent | ba5e0dbcc9c0f8252006191f81b0b0f3ac4a4cf5 (diff) | |
download | sed-8d5fa64778161a6bbccb8a80478849467003cabd.tar.gz |
maint: enable sc_m4_quote_check syntax check
* cfg.mk (local-checks-to-skip): Remove its exemption.
* configure.ac: Fix the under-quoting problems thus exposed.
-rw-r--r-- | cfg.mk | 1 | ||||
-rw-r--r-- | configure.ac | 6 |
2 files changed, 3 insertions, 4 deletions
@@ -28,7 +28,6 @@ local-checks-to-skip = \ sc_error_message_uppercase \ sc_file_system \ sc_long_lines \ - sc_m4_quote_check \ sc_prohibit_atoi_atof \ sc_prohibit_empty_lines_at_EOF \ sc_prohibit_magic_number_exit \ diff --git a/configure.ac b/configure.ac index 1801b73..58d6f76 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ AM_SILENT_RULES([yes]) # make --enable-silent-rules the default. AC_CONFIG_MACRO_DIRS([m4]) SED_FEATURE_VERSION=4.2.2 -AC_DEFINE_UNQUOTED(SED_FEATURE_VERSION, "$SED_FEATURE_VERSION", +AC_DEFINE_UNQUOTED([SED_FEATURE_VERSION], "$SED_FEATURE_VERSION", [Define to the version of GNU sed whose features are supported by this sed.]) AC_SUBST(SED_FEATURE_VERSION) @@ -82,7 +82,7 @@ AC_CHECK_FUNCS_ONCE(isatty isascii memcpy strchr strtoul lstat readlink # Check whether we are able to follow symlinks if test "$ac_cv_func_lstat:$ac_cv_func_readlink" = yes:yes; then - AC_DEFINE(ENABLE_FOLLOW_SYMLINKS, ,[Follow symlinks when processing in place]) + AC_DEFINE([ENABLE_FOLLOW_SYMLINKS], ,[Follow symlinks when processing in place]) fi AC_ARG_ENABLE(i18n, @@ -101,7 +101,7 @@ enable_regex_tests=$with_included_regex) AM_CONDITIONAL(TEST_REGEX, test "x$enable_regex_tests" = xyes) if test "x$enable_regex_tests" = xyes; then - AC_DEFINE_UNQUOTED(_REGEX_RE_COMP, 1, + AC_DEFINE_UNQUOTED([_REGEX_RE_COMP], 1, [Include BSD functions in regex, used by the testsuite]) fi |