[gnome-color-manager] trivial: ensure we link with -ltiff when we compile with tiff support
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: ensure we link with -ltiff when we compile with tiff support
- Date: Fri, 19 Feb 2010 18:55:08 +0000 (UTC)
commit a6f65e526ccbca9ea2ae6041287483a77301efad
Author: Richard Hughes <richard hughsie com>
Date: Fri Feb 19 18:54:43 2010 +0000
trivial: ensure we link with -ltiff when we compile with tiff support
configure.ac | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5a9be0f..35a4b0a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -155,7 +155,10 @@ PKG_CHECK_MODULES(X11, x11)
AC_SUBST(X11_CFLAGS)
AC_SUBST(X11_LIBS)
-AC_CHECK_LIB(tiff, TIFFReadRGBAImageOriented, HAVE_TIFF="yes")
+AC_CHECK_LIB(tiff, TIFFReadRGBAImageOriented,
+ TIFF_CFLAGS=""
+ TIFF_LIBS="-ltiff"
+ HAVE_TIFF="yes")
if test "x$HAVE_TIFF" != "xyes"; then
AC_MSG_ERROR([libtiff-devel is required for gnome-color-manager])
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]