From f90d67212b107633ad18c65ee3f5825f46198e1d Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 22 Jul 2009 19:33:55 +0000 Subject: [PATCH] add define when using internal libtiff git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14320 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/spandsp/configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/spandsp/configure.ac b/libs/spandsp/configure.ac index d01237690c..508eb71b37 100644 --- a/libs/spandsp/configure.ac +++ b/libs/spandsp/configure.ac @@ -424,6 +424,7 @@ if test "$enable_builtin_tiff" = "yes" ; then COMP_VENDOR_CFLAGS="-I$abs_tiffdir/libtiff $COMP_VENDOR_CFLAGS" COMP_VENDOR_LDFLAGS="-L$abs_tiffdir/libtiff $COMP_VENDOR_LDFLAGS" LIBS="$LIBS $abs_tiffdir/libtiff/libtiff.la" + AC_DEFINE([HAVE_LIBTIFF], [1], [Define to 1 if you have the `tiff' library (-ltiff).]) else AC_CHECK_HEADERS([tiffio.h]) AC_CHECK_LIB([tiff], [TIFFOpen], , AC_MSG_ERROR("Can't build without libtiff (does your system require a libtiff-devel package?)"), -lm)