提交 f90d6721 authored 作者: Michael Jerris's avatar Michael Jerris

add define when using internal libtiff

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14320 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 87c2c0d3
......@@ -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)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论