Re: AC_CHECK_HEADERS, preprocessor call and Solaris

2017-04-10 Thread Rainer Gerhards
sorry for the noise, I should have set CPPFLAGS... Rainer On Mon, Apr 10, 2017 at 12:04 PM, Rainer Gerhards wrote: > Hi all, > > I am porting my rsyslog project to the Solaris Sunstudio compiler (no > fun, I know...). > > I have a problem with AC_CHECK_HEADERS. When it

AC_CHECK_HEADERS, preprocessor call and Solaris

2017-04-10 Thread Rainer Gerhards
Hi all, I am porting my rsyslog project to the Solaris Sunstudio compiler (no fun, I know...). I have a problem with AC_CHECK_HEADERS. When it calls the preprocessor, it ignores CFLAGS. However, the Sunstudio compiler needs -std=c99 even when the preprocessor is called and if it is missing,