aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-09 16:34:52 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:19 +0100
commitc57e0ce86d79401b73b8395431c433b7a2d56bad (patch)
tree7abb5608ec2bf35cc6dbc32fa5a68260938bfad7 /configure.ac
parent119608ac2a339aca282812e9cbdc3bb015c1040c (diff)
Fix TIFF test
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c9f410da..e89dd096 100644
--- a/configure.ac
+++ b/configure.ac
@@ -159,7 +159,10 @@ AS_IF([test "x$enable_tiff" != "xno"],
LIBTIFF_LIBS="-L$withval/lib -ltiff"
have_libtiff=true
], [
- AC_CHECK_LIB([tiff], [TIFFOpen], [], [have_libtiff=true])
+ AC_CHECK_LIB([tiff], [TIFFOpen], [
+ have_libtiff=true
+ LIBTIFF_LIBS="-ltiff"
+ ])
])
], [
AC_MSG_RESULT([no])