mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-01 19:04:47 +00:00
more bsd fixes
This commit is contained in:
parent
99765fbd9a
commit
7af0618620
@ -520,6 +520,13 @@ x86_64-* | i386-* | i686-*)
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$host" in
|
||||
*bsd*)
|
||||
CFLAGS="$CFLAGS -I/usr/local/include"
|
||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||
;;
|
||||
esac
|
||||
|
||||
if test "$enable_builtin_tiff" = "yes" ; then
|
||||
abs_tiffdir="`cd $srcdir/../tiff-4.0.2/ && pwd`"
|
||||
save_CFLAGS=$CFLAGS
|
||||
@ -533,12 +540,6 @@ if test "$enable_builtin_tiff" = "yes" ; then
|
||||
TIFF_LIBS="$abs_tiffdir/libtiff/libtiff.la"
|
||||
AC_DEFINE([HAVE_LIBTIFF], [1], [Define to 1 if you have the `tiff' library (-ltiff).])
|
||||
else
|
||||
case "$host" in
|
||||
*bsd*)
|
||||
CFLAGS="$CFLAGS -I/usr/local/include"
|
||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||
;;
|
||||
esac
|
||||
AC_CHECK_HEADERS([tiffio.h])
|
||||
AC_CHECK_LIB([tiff], [TIFFOpen], , AC_MSG_ERROR("Cannot build without libtiff (does your system require a libtiff-devel package?)"), -lm)
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user