This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Use of really long lines in Makefile.in
- From: Albert Chin <automake at mlists dot thewrittenword dot com>
- To: automake at gnu dot org
- Date: Thu, 3 Feb 2005 23:03:37 -0600
- Subject: Use of really long lines in Makefile.in
- Reply-to: automake at gnu dot org
Should automake split long lines? During the sed substitution in
autoconf, the default sed used on Solaris 2.6 and 7 will truncate long
lines in Makefile.in's. I submitted a patch to autoconf to use the
"best" sed available on the system but Paul Eggert brought up the
issue of the invalid use of long lines in Makefile.am/in:
http://lists.gnu.org/archive/html/autoconf-patches/2005-02/msg00024.html
So, should automake change lines like:
foo_SOURCES = [long list of sources]
to the following in Makefile.in:
foo_SOURCES = $(foo_SOURCES_1) $(foo_SOURCES_2) ...
foo_SOURCES_1 = [list of sources < 2048 chars]
foo_SOURCES_2 = [list of sources < 2048 chars]
...
This doesn't take into consideration substitutions on the RHS but
there's nothing that can be done with that apriori.
--
albert chin (china@thewrittenword.com)