Sun compiler and /usr/local/include

From:

Charles Brown

Subject:

Sun compiler and /usr/local/include

Date:

Fri, 05 Mar 2010 14:25:53 -0500

User-agent:

Thunderbird 2.0.0.23 (X11/20090817)

Very new to automake, and can't find an answer to this; What would be
put in configure.ac to determine whether the detected
preprocessor/compiler automatically supplies -I/usr/local/include (for
example, g++ does, but sun CC does not), and if not, how to add it to
some CFLAGS variable?

I tried slamming it into AM_CPPFLAGS, but this didn't get me anything.
-

This message is intended only for the addressee and may contain information that is company confidential or privileged. Any technical data in this message may be exported only in accordance with the U.S. International Traffic in Arms Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 CFR Parts 730-774). Unauthorized use is strictly prohibited and may be unlawful. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, you should not read, copy, disclose or otherwise use this message. If you have received this email in error, please delete it, and advise the sender immediately.
-