[PATCH] maint: style fixes in configure.ac
Stefano Lattarini <[email protected]>
| Newsgroups | gmane.comp.gnu.utils.bugs |
|---|---|
| Message-ID | <49ed42e201309bc8e6431fd60171b1554b148d03.1356962028.git.stefano.lattarini@gmail.com> |
No semantic change is intended nor expected. In fact, the 'configure' files generated before and after this change are *exactly* the same. * testsuite/runtest: Better use of m4 quotation throughout the file. (AC_CONFIG_FILES): No need to use trailing '\' when breaking over multiple lines. Signed-off-by: Stefano Lattarini <[email protected]> --- ChangeLog | 8 ++++++++ configure.ac | 44 +++++++++++++++++++++++++------------------- 2 files changed, 33 insertions(+), 19 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2db5575..ba781a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2012-12-31 Stefano Lattarini <[email protected]> (tiny change) + + maint: style fixes in configure.ac + * testsuite/runtest: Better use of m4 quotation throughout the + file. + (AC_CONFIG_FILES): No need to use trailing '\' when breaking + over multiple lines. + 2012-12-29 Stefano Lattarini <[email protected]> (tiny change) testsuite: make test logs more verbose diff --git a/configure.ac b/configure.ac index 500cd6b..a71e96d 100644 --- a/configure.ac +++ b/configure.ac @@ -1,18 +1,18 @@ dnl Process this file with -*- autoconf -*- to produce a configure script. -AC_INIT([GNU sed], 4.2.2, [email protected], sed) -AC_CONFIG_AUX_DIR(build-aux) +AC_INIT([GNU sed], [4.2.2], [[email protected]], [sed]) +AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_SRCDIR([sed/sed.c]) -AC_CONFIG_HEADERS(config.h:config_h.in) -AC_PREREQ(2.62) +AC_CONFIG_HEADERS([config.h:config_h.in]) +AC_PREREQ([2.62]) AM_INIT_AUTOMAKE([1.11.1 parallel-tests]) 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) +AC_SUBST([SED_FEATURE_VERSION]) COPYRIGHT_YEAR=2012 -AC_SUBST(COPYRIGHT_YEAR) +AC_SUBST([COPYRIGHT_YEAR]) AC_PROG_CC gl_EARLY @@ -65,39 +65,40 @@ if test "$sed_cv_libcp_needed" = yes; then LIBS="-lcP $LIBS" fi -AC_CHECK_HEADERS_ONCE(locale.h errno.h wchar.h wctype.h mcheck.h, +AC_CHECK_HEADERS_ONCE([locale.h errno.h wchar.h wctype.h mcheck.h], [], [], [AC_INCLUDES_DEFAULT]) AC_C_CONST AC_TYPE_SIZE_T -AM_GNU_GETTEXT_VERSION(0.17) +AM_GNU_GETTEXT_VERSION([0.17]) AM_GNU_GETTEXT([external]) -AC_CHECK_FUNCS_ONCE(isatty isascii memcpy strchr strtoul lstat readlink - popen pathconf fchown fchmod setlocale) +AC_CHECK_FUNCS_ONCE([isatty isascii memcpy strchr strtoul lstat readlink + popen pathconf fchown fchmod setlocale]) # 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, +AC_ARG_ENABLE([i18n], [ --disable-i18n disable internationalization (default=enabled)], , enable_i18n=yes) if test "x$enable_i18n" = xno; then ac_cv_func_wcscoll=no fi -AC_ARG_ENABLE(regex-tests, +AC_ARG_ENABLE([regex-tests], [ --enable-regex-tests enable regex matcher regression tests (default=yes)], [if test "x$with_included_regex" = xno; then enable_regex_tests=no fi], enable_regex_tests=$with_included_regex) -AM_CONDITIONAL(TEST_REGEX, test "x$enable_regex_tests" = xyes) +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 @@ -182,7 +183,12 @@ esac AC_SUBST([XFAIL_TESTS]) AC_CONFIG_FILES([testsuite/version.good:testsuite/version.gin]) -AC_CONFIG_FILES([Makefile doc/Makefile \ -lib/Makefile sed/Makefile testsuite/Makefile \ -po/Makefile.in]) +AC_CONFIG_FILES([ + Makefile + doc/Makefile + lib/Makefile + sed/Makefile + testsuite/Makefile + po/Makefile.in +]) AC_OUTPUT -- 1.8.1.rc3.27.g3b73c7d