From e05ea5a21fc22aefe147d1ec519c4cfe536d6704 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 28 Apr 2010 11:41:06 +0200 Subject: hdfsee: Add floating point TIFF exporter --- configure | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'configure') 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" -- cgit v1.2.3