aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
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)