aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
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.ac
parent094d92718b28d35444292bd30306761a91a2f6c8 (diff)
hdfsee: Add floating point TIFF exporter
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9fb61bc2..17caaaae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -104,7 +104,16 @@ else
fi
+AC_ARG_WITH(libtiff,
+[AS_HELP_STRING([--with-libtiff], [specify location of libTIFF library])],
+[LIBTIFF_CFLAGS="-I$withval/include"
+ LIBTIFF_LIBS="-L$withval/lib -ltiff"],
+[LIBTIFF_LIBS="-ltiff"])
+
+
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_OUTPUT(Makefile src/Makefile data/Makefile)