[Top][All Lists]

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

Re: mailutils ./ChangeLog guimb/Makefile.am libmu_s...

From: Jeff Bailey
Subject: Re: mailutils ./ChangeLog guimb/Makefile.am libmu_s...
Date: Sat, 13 Oct 2001 04:39:25 -0700
User-agent: Mutt/1.2.5i

On Sat, Oct 13, 2001 at 04:14:23AM -0700, Jeff Bailey wrote:

> Weird.  I guess CURDIR must be a GNU Make variable.  The thing is that
> the .x file is created in the builddir.  I guess -I. would do the same job.
> I was surprised that automake doesn't define a $(builddir).

Here's a patch that I'm not incredibly happy with, but it seems the
most accurate of all the solutions I can think of.

$(DEFAULT_INCLUDES) seems to include `-I$(srcdir)', `-I.', and a `-I'
pointing to the directory holding `config.h'.  However, I'm not happy
because the manual says that I should use AM_CPPFLAGS.

On my system, AM_CPPFLAGS seems to be empty.

Can someone with an older version tell me if DEFAULT_INCLUDES is just
an automake 1.5 thing?  If it is, are you guys willing to upgrade?
(I'd like to update configure.in to 2.50 too sometime.  I'm waiting
for one annoying bug to be fixed.)

(A similar patch also applied to guimb)

Index: libmu_scm/Makefile.am
RCS file: /cvs/mailutils/libmu_scm/Makefile.am,v
diff -r1.8 Makefile.am
< INCLUDES =-I$(CURDIR) -I$(top_builddir) -I$(srcdir) -I$(top_srcdir)/lib 
> INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/include

Abandon the search for truth; settle for a good fantasy.

reply via email to

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