Revision
14320
Author
mikej
Date
2009-07-22 14:33:55 -0500 (Wed, 22 Jul 2009)

Log Message

add define when using internal libtiff

Modified Paths

Diff

Modified: freeswitch/trunk/libs/spandsp/configure.ac (14319 => 14320)


--- freeswitch/trunk/libs/spandsp/configure.ac	2009-07-22 19:14:47 UTC (rev 14319)
+++ freeswitch/trunk/libs/spandsp/configure.ac	2009-07-22 19:33:55 UTC (rev 14320)
@@ -424,6 +424,7 @@
   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)