[Top][All Lists]

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

Re: [bug-gnulib] FYI: adding AC_LIBSOURCES/AC_LIBOBJ in coreutils .m4 fi

From: Jim Meyering
Subject: Re: [bug-gnulib] FYI: adding AC_LIBSOURCES/AC_LIBOBJ in coreutils .m4 files
Date: Mon, 31 Jan 2005 18:24:34 +0100

Alexandre Duret-Lutz <address@hidden> wrote:
>>>> "Jim" == Jim Meyering <address@hidden> writes:
> [...]
>  Jim> As I thought you, as Mr. Automake :) might want to comment
>  Jim> on my suggestion that automake might someday look in more
>  Jim> than one directory for files required by AC_LIBSOURCES/AC_LIBOBJ.
> I'm puzzled by this suggestion, probably I'm still missing
> something.

Or maybe I am?

Imagine a case like findutils where there are two pairs of
directories, gnulib/m4 and gnulib/lib for gnulib sources,
as well as m4/ and lib/ for package-specific sources.
What happens when someone wants to add a package-specific
m4/*.m4 file that uses e.g., AC_REPLACE_FUNCS or AC_LIBOBJ?
Automake will end up looking in gnulib/lib for the
corresponding source file(s), rather than in the intended lib/.

In that case, it'd be nice to have a way to tell automake
where to look for required source files.

reply via email to

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