On 04/09/2012 08:27 AM, Kabi wrote:

> 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 by "" in the directory with the
> projects source .c files.

Searching for files with #include "" is done first in the current file
directory.

To change it with gcc use -I-, which is deprecated, but the only way I
know to remove . from the #include "" search path.

See your gcc/cpp man page though, it's quite possible I missed another
option to do it (-iquote does not appear to remove .).

Peter


_______________________________________________
Autoconf mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to