[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: Autoconf patch to avoid generation of arbitralily-long lines
From: |
Paul Eggert |
Subject: |
FYI: Autoconf patch to avoid generation of arbitralily-long lines |
Date: |
Thu, 03 Feb 2005 23:37:50 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
I installed this:
2005-02-03 Paul Eggert <address@hidden>
Try not to generated lines of unlimited length, as POSIX places a
2047-byte limit on line length of portable text files.
* lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
Use newline as a separator, not space.
* lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
(AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
space.
Index: lib/autoconf/general.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/general.m4,v
retrieving revision 1.841
diff -p -u -r1.841 general.m4
--- lib/autoconf/general.m4 2 Feb 2005 23:31:16 -0000 1.841
+++ lib/autoconf/general.m4 4 Feb 2005 07:28:48 -0000
@@ -1942,7 +1942,8 @@ _ACEOF
m4_define([AC_SUBST],
[m4_pattern_allow([^$1$])dnl
m4_ifvaln([$2], [$1=$2])[]dnl
-m4_append_uniq([_AC_SUBST_VARS], [$1], [ ])dnl
+m4_append_uniq([_AC_SUBST_VARS], [$1], [
+])dnl
])# AC_SUBST
@@ -1951,7 +1952,8 @@ m4_append_uniq([_AC_SUBST_VARS], [$1], [
# Read the comments of the preceding macro.
m4_define([AC_SUBST_FILE],
[m4_pattern_allow([^$1$])dnl
-m4_append_uniq([_AC_SUBST_FILES], [$1], [ ])])
+m4_append_uniq([_AC_SUBST_FILES], [$1], [
+])])
Index: lib/autotest/general.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autotest/general.m4,v
retrieving revision 1.170
diff -p -u -r1.170 general.m4
--- lib/autotest/general.m4 28 Jan 2005 21:21:32 -0000 1.170
+++ lib/autotest/general.m4 4 Feb 2005 07:28:48 -0000
@@ -1033,7 +1033,8 @@ m4_defun([AT_ARG_OPTION_ARG],[_AT_ARG_OP
# must correspond to the version of the package. PATH should be
# already preset so the proper executable will be selected.
m4_define([AT_TESTED],
-[m4_append_uniq([AT_tested], [$1], [ ])])
+[m4_append_uniq([AT_tested], [$1], [
+])])
# AT_SETUP(DESCRIPTION)
@@ -1078,7 +1079,8 @@ m4_case([$1],
# ---------------------
# Declare a list of keywords associated to the current test group.
m4_define([AT_KEYWORDS],
-[m4_append_uniq([AT_keywords], [$1], [ ])])
+[m4_append_uniq([AT_keywords], [$1], [
+])])
# AT_CAPTURE_FILE(FILE)
@@ -1086,7 +1088,8 @@ m4_define([AT_KEYWORDS],
# If the current test group does not behave as expected, save the contents of
# FILE in the test suite log.
m4_define([AT_CAPTURE_FILE],
-[m4_append_uniq([AT_capture_files], ["$1"], [ ])])
+[m4_append_uniq([AT_capture_files], ["$1"], [ \
+])])
# AT_CLEANUP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: Autoconf patch to avoid generation of arbitralily-long lines,
Paul Eggert <=