Re: How to force location of headers

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

 



Kabi <karstenkb@xxxxxxxxx> 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
help.

-- 
Russ Allbery (rra@xxxxxxxxxxxx)             <http://www.eyrie.org/~eagle/>

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux