Commit ecf71eea authored by Pekka Pessi's avatar Pekka Pessi

Added --with-sigcomp to tport.

darcs-hash:20050915065625-65a35-888533e79cdad62169499e2dde180ce78ea76810.gz
parent 7caff3f9
......@@ -2,6 +2,27 @@ dnl ======================================================================
dnl SAC_TPORT - perform checks for tport
dnl ======================================================================
AC_DEFUN([SAC_TPORT], [
AC_ARG_WITH(sigcomp,
[ --with-sigcomp=dir use Sofia SigComp package (not used by default)],,
with_sigcomp=no)
if test -n "${with_sigcomp}" ; then
if test "${with_sigcomp}" != yes ; then
CPPFLAGS="-I${with_sigcomp}/include $CPPFLAGS"
LIBS="-L${with_sigcomp}/lib -lsigcomp $LIBS"
else
LIBS="-lsigcomp $LIBS"
fi
AC_CHECK_HEADERS(sigcomp.h,,AC_MSG_ERROR([cannot find Sofia SigComp includes]))
AC_CHECK_FUNC(sigcomp_library_2_5,
[AC_DEFINE([HAVE_SIGCOMP], 1, [Define this as 1 if you have Sofia sigcomp >= 2.5])
AC_DEFINE([HAVE_SOFIA_SIGCOMP], 2.5, [Define this as 1 if you have Sofia sigcomp >= 2.5])],
AC_MSG_ERROR(Sofia SigComp API >= 2.5 was not found))
fi
# Check for features used by tport.
AC_SYS_IP_RECVERR
AC_SYS_IPV6_RECVERR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment