[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: Re: [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:
Re: Fwd: Re: [bug-gnulib] using AC_LIBSOURCES: complementing the `Files:' section
Sat, 11 Dec 2004 12:33:52 +0100
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)
>>> "adl" == Alexandre Duret-Lutz <address@hidden> writes:
Bruno> - AC_CONFIG_LIBOBJ_DIR provides for a single lib directory only.
Bruno> In gettext I already have two such directories.
adl> You mean in the same package (as opposed to "in sub-packages")?
adl> IIRC currently AC_CONFIG_LIBOBJ_DIR is only used internally by
adl> Autoconf to fetch the source it needs to run some test.
adl> Automake does not use it, it only watch for directories where
adl> @LIBOBJS@ is used. Of course if you use @LIBOBJS@ in two
adl> directories, it will requires the sources files in both
adl> directories... I don't think that is what you want, but I don't
adl> really know what you want.
By the way, does any of you think it would be bad if Automake
did warn when @LIBOBJS@ is used outside the directory specified
with AC_CONFIG_LIBOBJ_DIR? I made a patch for this one year
ago, but never dared to apply it. This diagnostic would help
people that mistakenly add @LIBOBJS@ to their program_LDADD
although the libobjs files and programs are in separate
directories. However it would prevent the aforementioned
(dubious?) use @LIBOBJS@ in two directories.