automake
[Top][All Lists]
Advanced

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

Re: -I. in DEFAULT_INCLUDES


From: Peter O'Gorman
Subject: Re: -I. in DEFAULT_INCLUDES
Date: Mon, 06 Jul 2009 10:46:54 -0500
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Bob Ham wrote:
> Hi there,
> 
> I have a problem due to conflicts between local and system header
> filenames.  This problem comes about because of the addition of -I. to
> the CXXFLAGS of any objects.  I've traced this to a variable called
> DEFAULT_INCLUDES in every Makefile.in:
> 
>   DEFAULT_INCLUDES = address@hidden@ -I$(top_builddir)

put

DEFAULT_INCLUDES =

in your Makefile.am, automake will not change it, and the Makefile will
then have this empty DEFAULT_INCLUDES.

Peter
-- 
Peter O'Gorman
http://pogma.com




reply via email to

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