[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: is this a good way to use AC_CHECK_HEADERS
From: |
Ed Hartnett |
Subject: |
Re: is this a good way to use AC_CHECK_HEADERS |
Date: |
Fri, 03 Jun 2005 14:03:02 -0600 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
Bob Friesenhahn <address@hidden> writes:
> On Fri, 3 Jun 2005, Ed Hartnett wrote:
>>
>> I have to append -I${with_hdf5}/include to the CPPFLAGS. Is this the
>> usual way to do such a thing?
>>
>> Or is there a better way?
>
> Another way is to define a new variable "HDF5INCLUDES" and export for
> substitution so it may be substituted in the Makefile. The
> substitution on the Makefile may be used to pass it to a CPPFLAGS
> definition.
>
Yes, but the AC_CHECK_HEADERS program doesn't compile with it, and
that's done by configure, not a makefile.
Ed
--
Ed Hartnett -- address@hidden