bug-coreutils
[Top][All Lists]
Advanced

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

Re: Warning! autoconf can generate very long lines in Makefiles


From: Stepan Kasal
Subject: Re: Warning! autoconf can generate very long lines in Makefiles
Date: Fri, 30 Sep 2005 15:10:26 +0200
User-agent: Mutt/1.4.1i

Hello Jim,

your report mentions three problems:

1) The value of LIBOBJS can get very long.

I think the right fix here is to change this to multiline substitution:
   LIBOBJS =    ${LIBOBJDIR}backupfile$U.o \
                ${LIBOBJDIR}basename$U.o \
                ...
Autoconf is readu for multiline substitutions, thanks to Dan Manthey,
but Automake is not.  I'll start a discussion on the Automake list soon.

2) LTLIBOBJS might get very long.

I think Automake should generate this:
  LTLIBOBJS = $(LIBOBJS:@address@hidden)
Again, I hope to submit a patch to Automake-patches soon.

3) am__DEPENDENCIES_1 = @LIBOBJS@

I think that Automake should generate $(LIBOBJS) here.
I have a patch, the testsuite is running.  If it succeeds, I'll submit
the patch later today.


Finally, let me append a minor comment which is almost unrelated:
coreutils-5.90/lib/Makefile.am contains line:

libcoreutils_a_DEPENDENCIES = $(libcoreutils_a_LIBADD)

I think this line should be deleted; Automake generates an equivalent one.

Have a nice day,
        Stepan




reply via email to

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