autoconf-archive-maintainers | |
[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AX_LIB_HDF5]: HAVE_HDF5 defined even when the library is not detect
From: |
Peter Simons |
Subject: |
Re: [AX_LIB_HDF5]: HAVE_HDF5 defined even when the library is not detected |
Date: |
Mon, 01 Aug 2011 12:54:43 +0200 |
Hi Chun-Chung,
> In ax_lib_hdf5.m4, the following codes are executed unless
> --without-hdf5 is used, even when the HDF5 library is not installed or
> detected.
>
> AC_SUBST([HDF5_VERSION])
> AC_SUBST([HDF5_CFLAGS])
> AC_SUBST([HDF5_CPPFLAGS])
> AC_SUBST([HDF5_LDFLAGS])
> AC_SUBST([HDF5_FFLAGS])
> AC_SUBST([HDF5_FLIBS])
> AC_DEFINE([HAVE_HDF5], [1], [Defined if you have HDF5 support])
>
> They should be moved into the conditional block where HDF5 is actually
> detected. Please see the attached patch.
I have applied (and pushed) your patch to the Git repository:
http://git.savannah.gnu.org/cgit/autoconf-archive.git/commit/?id=bab763a0693cb1d2b3c47aafebaaa06c8a9f526c
Thank you very much!
Peter
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [AX_LIB_HDF5]: HAVE_HDF5 defined even when the library is not detected,
Peter Simons <=