autoconf
[Top][All Lists]
Advanced

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

Re: CPPFLAGS and AC_CHECK_HEADERS


From: Assar Westerlund
Subject: Re: CPPFLAGS and AC_CHECK_HEADERS
Date: 29 May 2003 13:18:24 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Jose Roman Bilbao <address@hidden> writes:
> I can not show you now the output but I can tell you that configure
> finished saying "NO" to all the tests performed to that library, I mean,
> usability, compiler and presence.

config.log probably has more hints as to why this happened.

> I tried to build a test and I realized that I can not use this header
> alone and I have to add some other VTK headers. Has it something to do
> with my problem?

Yes, that's likely a problem.  Look at AC_CHECK_HEADERS in the manual,
it allows you to include the required headers when testing for a header.

> I could make a simple test using EGREP as I know a file gcc does not
> find when trying to build the simple example but I was wondering if will
> work under other plattforms.

Using AC_CHECK_HEADER is going to be more portable, since it actually
runs the compiler.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]