]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
use internal libtiff instead of system libtiff (please test)
authorMichael Jerris <mike@jerris.com>
Wed, 22 Jul 2009 19:35:11 +0000 (19:35 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 22 Jul 2009 19:35:11 +0000 (19:35 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14321 d0543943-73ff-0310-b7d9-9358b9ac24b2

configure.in
libs/spandsp/configure.gnu
libs/tiff-3.8.2/.update [new file with mode: 0644]
libs/tiff-3.8.2/configure.gnu [new file with mode: 0755]
src/mod/applications/mod_fax/Makefile

index 9c37a741e6b9af2ade4003ee258743c7c89a60ce..8cc7e593e669cbef25ee64c248132557c859b08d 100644 (file)
@@ -832,6 +832,7 @@ AC_CONFIG_SUBDIRS(libs/speex)
 AC_CONFIG_SUBDIRS(libs/portaudio)
 AC_CONFIG_SUBDIRS(libs/openzap)
 AC_CONFIG_SUBDIRS(libs/unimrcp)
-AC_CHECK_LIB([tiff], [TIFFOpen], AC_CONFIG_SUBDIRS(libs/spandsp), , -lm)
+AC_CONFIG_SUBDIRS(libs/tiff-3.8.2)
+AC_CONFIG_SUBDIRS(libs/spandsp)
 
 AC_OUTPUT
index a22f176e74ab17b8d87011008646840209981cb6..3f2f22095f7b2869ca27b05c487cde2685e454eb 100755 (executable)
@@ -1,3 +1,2 @@
 #! /bin/sh
-./configure "$@" --disable-shared --with-pic
-
+./configure "$@" --disable-shared --with-pic --enable-builtin-tiff
diff --git a/libs/tiff-3.8.2/.update b/libs/tiff-3.8.2/.update
new file mode 100644 (file)
index 0000000..5381327
--- /dev/null
@@ -0,0 +1 @@
+Wed Jul 22 15:05:52 EDT 2009
diff --git a/libs/tiff-3.8.2/configure.gnu b/libs/tiff-3.8.2/configure.gnu
new file mode 100755 (executable)
index 0000000..dd7048b
--- /dev/null
@@ -0,0 +1,2 @@
+#! /bin/sh
+./configure "$@" --disable-shared --with-pic
index 355e1ac68d0e9224968f77a9a154c3284ad24b48..a20600c288573119db9dad4063e788eb5fd82570 100644 (file)
@@ -1,5 +1,8 @@
 BASE=../../../..
 
+TIFF_DIR=$(BASE)/libs/tiff-3.8.2
+TIFF_LA=$(TIFF_DIR)/libtiff/libtiff.la
+
 SPANDSP_DIR=$(BASE)/libs/spandsp
 SPANDSP_LA=$(SPANDSP_DIR)/src/libspandsp.la
 
@@ -8,10 +11,14 @@ LOCAL_LIBADD=$(SPANDSP_LA)
 
 include $(BASE)/build/modmake.rules
 
-$(SPANDSP_LA): $(SPANDSP_DIR) $(SPANDSP_DIR)/.update
+$(SPANDSP_LA): $(TIFF_LA) $(SPANDSP_DIR) $(SPANDSP_DIR)/.update
        cd $(SPANDSP_DIR) && $(MAKE)
        $(TOUCH_TARGET)
 
+$(TIFF_LA): $(TIFF_DIR) $(TIFF_DIR)/.update
+       cd $(TIFF_DIR) && $(MAKE)
+       $(TOUCH_TARGET)
+
 
 depend_install: $(DESTDIR)$(libdir)/libspandsp.la