]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add define when using internal libtiff
authorMichael Jerris <mike@jerris.com>
Wed, 22 Jul 2009 19:33:55 +0000 (19:33 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 22 Jul 2009 19:33:55 +0000 (19:33 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14320 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/spandsp/configure.ac

index d01237690c0578a8de18a88cdf8064d0d1b4713b..508eb71b37324176a83e60b10ed2ae0607c8ef64 100644 (file)
@@ -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)