add define when using internal libtiff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14320 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
87c2c0d398
commit
f90d67212b
|
@ -424,6 +424,7 @@ if test "$enable_builtin_tiff" = "yes" ; then
|
||||||
COMP_VENDOR_CFLAGS="-I$abs_tiffdir/libtiff $COMP_VENDOR_CFLAGS"
|
COMP_VENDOR_CFLAGS="-I$abs_tiffdir/libtiff $COMP_VENDOR_CFLAGS"
|
||||||
COMP_VENDOR_LDFLAGS="-L$abs_tiffdir/libtiff $COMP_VENDOR_LDFLAGS"
|
COMP_VENDOR_LDFLAGS="-L$abs_tiffdir/libtiff $COMP_VENDOR_LDFLAGS"
|
||||||
LIBS="$LIBS $abs_tiffdir/libtiff/libtiff.la"
|
LIBS="$LIBS $abs_tiffdir/libtiff/libtiff.la"
|
||||||
|
AC_DEFINE([HAVE_LIBTIFF], [1], [Define to 1 if you have the `tiff' library (-ltiff).])
|
||||||
else
|
else
|
||||||
AC_CHECK_HEADERS([tiffio.h])
|
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)
|
AC_CHECK_LIB([tiff], [TIFFOpen], , AC_MSG_ERROR("Can't build without libtiff (does your system require a libtiff-devel package?)"), -lm)
|
||||||
|
|
Loading…
Reference in New Issue