Mercurial > octave
comparison configure.in @ 3687:b5a285d1c1f4
[project @ 2000-06-29 21:33:00 by jwe]
author | jwe |
---|---|
date | Thu, 29 Jun 2000 21:33:01 +0000 |
parents | e0b46234555e |
children | 8aea513ff224 |
comparison
equal
deleted
inserted
replaced
3686:9507d6de9bbd | 3687:b5a285d1c1f4 |
---|---|
19 ### You should have received a copy of the GNU General Public License | 19 ### You should have received a copy of the GNU General Public License |
20 ### along with Octave; see the file COPYING. If not, write to the Free | 20 ### along with Octave; see the file COPYING. If not, write to the Free |
21 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA | 21 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
22 ### 02111-1307, USA. | 22 ### 02111-1307, USA. |
23 | 23 |
24 AC_REVISION($Revision: 1.327 $) | 24 AC_REVISION($Revision: 1.328 $) |
25 AC_PREREQ(2.9) | 25 AC_PREREQ(2.9) |
26 AC_INIT(src/octave.cc) | 26 AC_INIT(src/octave.cc) |
27 AC_CONFIG_HEADER(config.h) | 27 AC_CONFIG_HEADER(config.h) |
28 | 28 |
29 AC_DEFINE(OCTAVE_SOURCE, 1) | 29 AC_DEFINE(OCTAVE_SOURCE, 1) |
317 ;; | 317 ;; |
318 *) | 318 *) |
319 AC_CHECK_LIB(m, sin) | 319 AC_CHECK_LIB(m, sin) |
320 ;; | 320 ;; |
321 esac | 321 esac |
322 | |
323 # ---------------------------------------------------------------------- | |
324 # Check for HDF5 library | |
325 AC_ARG_WITH(hdf5, [ --without-hdf5 don't use HDF5 output], ok=$withval, ok=yes) | |
326 if test "$ok" = "yes"; then | |
327 AC_CHECK_LIB(z, deflate) | |
328 AC_CHECK_LIB(hdf5, H5Pcreate, [ | |
329 AC_CHECK_HEADERS(hdf5.h, [LIBS="-lhdf5 $LIBS" | |
330 AC_DEFINE(HAVE_HDF5)])]) | |
331 fi | |
332 | |
333 # ---------------------------------------------------------------------- | |
322 | 334 |
323 ### We need these before trying to find libf2c. | 335 ### We need these before trying to find libf2c. |
324 | 336 |
325 OCTAVE_PROG_AR | 337 OCTAVE_PROG_AR |
326 | 338 |