aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-04-28 11:41:06 +0200
committerThomas White <taw@physics.org>2010-04-28 11:41:06 +0200
commite05ea5a21fc22aefe147d1ec519c4cfe536d6704 (patch)
tree565de60bdf19d9d4b6e2d70153ebf5c9ea4fcd05 /configure
parent094d92718b28d35444292bd30306761a91a2f6c8 (diff)
hdfsee: Add floating point TIFF exporter
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure b/configure
index b85ee57e..4b07d22c 100755
--- a/configure
+++ b/configure
@@ -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"