]> www.fi.muni.cz Git - evince.git/commitdiff
Don't link with ltiff if tiff is disabled.
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Mon, 17 Oct 2005 17:37:10 +0000 (17:37 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Mon, 17 Oct 2005 17:37:10 +0000 (17:37 +0000)
* configure.ac:

Don't link with ltiff if tiff is disabled.

ChangeLog
configure.ac

index a8cf008d31b21e0bd44607c568c568f4e674f213..5df13cc94694a3a6274d24a77be5c8f6deb5446f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-10-17  Daniel Gryniewicz <dang@gentoo.org >
+
+       * configure.ac:
+       
+       Don't link with ltiff if tiff is disabled.
+
 2005-10-14  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
 
        * pdf/GDKSplashOutputDev.cc:
index b280ed366bef69df1cdd416f88c9ff62a477d352..3fd1e9b41f531ad2499526f5838a074bc2ec79e8 100644 (file)
@@ -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