diff options
author | Thomas White <taw@physics.org> | 2010-04-28 11:41:06 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-04-28 11:41:06 +0200 |
commit | e05ea5a21fc22aefe147d1ec519c4cfe536d6704 (patch) | |
tree | 565de60bdf19d9d4b6e2d70153ebf5c9ea4fcd05 /configure | |
parent | 094d92718b28d35444292bd30306761a91a2f6c8 (diff) |
hdfsee: Add floating point TIFF exporter
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -739,6 +739,7 @@ with_gsl enable_opencl enable_gtk enable_gtktest +with_libtiff ' ac_precious_vars='build_alias host_alias @@ -1388,6 +1389,7 @@ Optional Packages: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-hdf5 specify location of HDF5 library --with-gsl specify location of GSL + --with-libtiff specify location of libTIFF library Some influential environment variables: CC C compiler command @@ -5719,8 +5721,21 @@ $as_echo "$as_me: error: fi + +# Check whether --with-libtiff was given. +if test "${with_libtiff+set}" = set; then + withval=$with_libtiff; LIBTIFF_CFLAGS="-I$withval/include" + LIBTIFF_LIBS="-L$withval/lib -ltiff" +else + LIBTIFF_LIBS="-ltiff" +fi + + + CFLAGS="$CFLAGS $HDF5_CFLAGS $GTK_CFLAGS $GSL_CFLAGS $OPENCL_CFLAGS -pthread" +CFLAGS="$CFLAGS $LIBTIFF_CFLAGS" LIBS="$LIBS $HDF5_LIBS -lm -lz $GSL_LIBS $GTK_LIBS $OPENCL_LIBS -pthread" +LIBS="$LIBS $LIBTIFF_LIBS" ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile" |