Mercurial > octave
comparison configure.ac @ 21211:2cf8bc5c7017
use "#if defined (HAVE_FOO)" instead of "#if HAVE_FOO" for feature tests
* configure.ac (HAVE_HDF5_INT2FLOAT_CONVERSIONS): AC_DEFINE here.
* ls-hdf5.cc (HAVE_HDF5_INT2FLOAT_CONVERSION): Delete definition.
* ls-hdf5.cc, ls-hdf5.h, ccolamd.cc, dmperm.cc, ov-base-int.cc,
ov-bool-mat.cc, ov-bool-sparse.cc, ov-bool.cc, ov-cell.cc,
ov-class.cc, ov-complex.cc, ov-cx-mat.cc, ov-cx-sparse.cc,
ov-fcn-handle.cc, ov-fcn-inline.cc, ov-float.cc, ov-flt-complex.cc,
ov-flt-cx-mat.cc, ov-flt-re-mat.cc, ov-java.cc, ov-range.cc,
ov-re-mat.cc, ov-re-sparse.cc, ov-scalar.cc, ov-str-mat.cc,
ov-struct.cc, pt-eval.cc:
Use #if defined (HAVE_FOO) instead of #if HAVE_FOO.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 06 Feb 2016 08:48:47 -0500 |
parents | f569ba0ee237 |
children | a83e7a384ee0 |
comparison
equal
deleted
inserted
replaced
21210:4f7d3989c462 | 21211:2cf8bc5c7017 |
---|---|
897 OCTAVE_CHECK_LIB_HDF5_DLL | 897 OCTAVE_CHECK_LIB_HDF5_DLL |
898 fi | 898 fi |
899 ]) | 899 ]) |
900 CPPFLAGS="$save_CPPFLAGS" | 900 CPPFLAGS="$save_CPPFLAGS" |
901 LIBS="$save_LIBS" | 901 LIBS="$save_LIBS" |
902 | |
903 dnl Should we check for this now, or wait until some version of | |
904 dnl HDF5 actually supports this feature? | |
905 have_hdf5_int2float_conversions=no | |
906 if test "$have_hdf5_int2float_conversions" = yes; then | |
907 AC_DEFINE(HAVE_HDF5_INT2FLOAT_CONVERSIONS, 1, | |
908 [Define to 1 if/when HDF5 supports automatic conversion between integer and floating-point binary data.]) | |
909 fi | |
902 | 910 |
903 ### Check for FFTW library. Default to Fortran FFTPACK if it is not available. | 911 ### Check for FFTW library. Default to Fortran FFTPACK if it is not available. |
904 | 912 |
905 ## Check for FFTW header and library. | 913 ## Check for FFTW header and library. |
906 OCTAVE_CHECK_LIB(fftw3, FFTW3, | 914 OCTAVE_CHECK_LIB(fftw3, FFTW3, |