Re: is this a good way to use AC_CHECK_HEADERS

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

 



Bob Friesenhahn <bfriesen@xxxxxxxxxxxxxxxxxxx> 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  -- ed@xxxxxxxxxxxxxxxx



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux