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