Mercurial > hg > octave-nkf
comparison configure.ac @ 9892:ac69e6f4b33d
Add HDF5-1.8 compatibility while maintaining compatibility with HDF5-1.6 versions
author | Kacper Kowalik <xarthisius.kk@gmail.com> |
---|---|
date | Tue, 01 Dec 2009 00:49:07 +0100 |
parents | 9ed5f64e3959 |
children | 8d20fb66a0dc |
comparison
equal
deleted
inserted
replaced
9891:1506a17832c9 | 9892:ac69e6f4b33d |
---|---|
629 LIBS="$Z_LDFLAGS $Z_LIBS $LIBS" | 629 LIBS="$Z_LDFLAGS $Z_LIBS $LIBS" |
630 OCTAVE_CHECK_LIBRARY(hdf5, HDF5, | 630 OCTAVE_CHECK_LIBRARY(hdf5, HDF5, |
631 [HDF5 library not found. Octave will not be able to save or load HDF5 data files.], | 631 [HDF5 library not found. Octave will not be able to save or load HDF5 data files.], |
632 [hdf5.h], [H5Gget_num_objs], [], [], | 632 [hdf5.h], [H5Gget_num_objs], [], [], |
633 [warn_hdf5= | 633 [warn_hdf5= |
634 OCTAVE_HDF5_HAS_REQUIRED_API | 634 OCTAVE_HDF5_HAS_ENFORCED_16_API |
635 if test $octave_hdf5_ok = yes; then | 635 TEXINFO_HDF5="@set HAVE_HDF5" |
636 TEXINFO_HDF5="@set HAVE_HDF5" | 636 AC_DEFINE(HAVE_HDF5, 1, [Define if HDF5 is available and newer than version 1.6.]) |
637 AC_DEFINE(HAVE_HDF5, 1, [Define if HDF5 is available.]) | 637 case "$canonical_host_type" in |
638 case "$canonical_host_type" in | 638 *-*-msdosmsvc) |
639 *-*-msdosmsvc) | 639 OCTAVE_HDF5_DLL |
640 OCTAVE_HDF5_DLL | 640 ;; |
641 ;; | 641 esac |
642 esac | 642 ]) |
643 fi]) | |
644 CPPFLAGS="$save_CPPFLAGS" | 643 CPPFLAGS="$save_CPPFLAGS" |
645 LIBS="$save_LIBS" | 644 LIBS="$save_LIBS" |
646 | 645 |
647 | 646 |
648 # Subdirectory of libcruft to build if fftw is not found: | 647 # Subdirectory of libcruft to build if fftw is not found: |