use internal libtiff instead of system libtiff (please test)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14321 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-07-22 19:35:11 +00:00
parent f90d67212b
commit 01dec7254b
5 changed files with 14 additions and 4 deletions

View 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

View File

@ -1,3 +1,2 @@
#! /bin/sh
./configure "$@" --disable-shared --with-pic
./configure "$@" --disable-shared --with-pic --enable-builtin-tiff

1
libs/tiff-3.8.2/.update Normal file
View File

@ -0,0 +1 @@
Wed Jul 22 15:05:52 EDT 2009

2
libs/tiff-3.8.2/configure.gnu Executable file
View File

@ -0,0 +1,2 @@
#! /bin/sh
./configure "$@" --disable-shared --with-pic

View 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