automake
[Top][All Lists]
Advanced

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

Re: Include paths: no "-I." please


From: J.T. Conklin
Subject: Re: Include paths: no "-I." please
Date: Thu, 08 Nov 2007 20:48:04 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, berkeley-unix)

overbored <address@hidden> writes:
> How do I tell automake not to pass "-I." to g++/gcc? Thanks in advance.
>
> (The problem is that this project has a string.h, which conflicts with
> the standard string.h. Besides, why "-I." in the first place? Is it
> because some people prefer #include <blah> over #include "blah" for
> their own header files as well?)

I've run into a similar problem with the ACE framework (in my case, it
only effected systems with case insensitve filesystems), and solved it
by adding "DEFAULT_INCLUDES=" to the offending Makefile.am.  

As far as I know, it's not documented and may not even be intended
behavior.  But I'll use it as long as it does what I need.

    --jtc

-- 
J.T. Conklin




reply via email to

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