[Top][All Lists]

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

Re: How to force location of headers

From: Russ Allbery
Subject: Re: How to force location of headers
Date: Thu, 12 Apr 2012 09:03:03 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Kabi <address@hidden> writes:

> I am using AM_CFLAGS to include directories where make should look for
> headers, but only headers surrounded by <> when included is
> overridden. make is still looking for headers surrounded byt "" in the
> directory with the projects source .c files.

If you can modify the source, get rid of all uses of "" in #include.  I
would recommend never using "" if you can avoid it.  Once you have a good
build system that can handle adding the appropriate -I flags for the
compiler, "" is primarily a source of bugs and annoyances and not really a

Russ Allbery (address@hidden)             <>

reply via email to

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