From 0c56e0840f68b6594dd54040a99440d94286a5e6 Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Mon, 17 Oct 2005 17:37:10 +0000 Subject: Don't link with ltiff if tiff is disabled. * configure.ac: Don't link with ltiff if tiff is disabled. --- diff --git a/ChangeLog b/ChangeLog index a8cf008..5df13cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-10-17 Daniel Gryniewicz + + * configure.ac: + + Don't link with ltiff if tiff is disabled. + 2005-10-14 Nickolay V. Shmyrev * pdf/GDKSplashOutputDev.cc: diff --git a/configure.ac b/configure.ac index b280ed3..3fd1e9b 100644 --- a/configure.ac +++ b/configure.ac @@ -81,12 +81,12 @@ if test "x$enable_dbus" = "xyes" ; then fi SHELL_CFLAGS="$SHELL_CORE_CFLAGS $DBUS_CFLAGS" -SHELL_LIBS="$SHELL_CORE_LIBS $DBUS_LIBS -ltiff -lz" +SHELL_LIBS="$SHELL_CORE_LIBS $DBUS_LIBS -lz" AC_SUBST(SHELL_CFLAGS) AC_SUBST(SHELL_LIBS) FRONTEND_CFLAGS="$FRONTEND_CORE_CFLAGS" -FRONTEND_LIBS="$FRONTEND_CORE_LIBS -ltiff -lz" +FRONTEND_LIBS="$FRONTEND_CORE_LIBS -lz" AC_SUBST(FRONTEND_CFLAGS) AC_SUBST(FRONTEND_LIBS) @@ -176,6 +176,8 @@ if test "x$enable_tiff" = "xyes"; then fi if test "x$enable_tiff" = "xyes"; then AC_DEFINE([ENABLE_TIFF], [1], [Enable multipage tiff support.]) + FRONTEND_LIBS="$FRONTEND_LIBS -ltiff" + SHELL_LIBS="$SHELL_LIBS -ltiff" else AC_MSG_WARN("Tiff support is disabled since tiff library version 3.6 or newer not found") fi -- cgit v0.9.1