* overbored wrote on Thu, Jun 30, 2005 at 03:07:35AM CEST: > How do I tell automake not to pass "-I." to g++/gcc? Thanks in advance.
Quoting the manual: | `nostdinc' | This option can be used to disable the standard `-I' options which | are ordinarily automatically provided by Automake. > (The problem is that this project has a string.h, which conflicts with > the standard string.h. Besides, why "-I." in the first place? So that builds with source tree != build tree work seamlessly with both provided and generated header files. > Is it > because some people prefer #include <blah> over #include "blah" for > their own header files as well?) Doing that is usually not such a good idea. Regards, Ralf