automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use of really long lines in Makefile.in


From: Albert Chin
Subject: Use of really long lines in Makefile.in
Date: Thu, 3 Feb 2005 23:03:37 -0600
User-agent: Mutt/1.5.6i

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 (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]