Add rtp timestamp configure option + debug option

Update oRTP & mediastreamer2
This commit is contained in:
Yann Diorcet 2012-05-15 17:08:57 +02:00
parent 7fcaf449af
commit e74d43779c
3 changed files with 23 additions and 2 deletions

View file

@ -245,6 +245,24 @@ if test x$ipv6 = xtrue ; then
fi
AC_SUBST(IPV6_CFLAGS)
dnl enable timestamp support
AC_ARG_ENABLE(rtp-timestamp,
[ --enable-rtp-timestamp Turn on RTP packet timestamp],
[case "${enableval}" in
yes) rtptimestamp=true;;
no) rtptimestamp=false;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-rtp-timestamp) ;;
esac],[rtptimestamp=false])
AC_ARG_ENABLE(debug,
[ --enable-debug=[yes/no] enables the display of traces showing the execution of the library. [default=yes]],
[case "${enableval}" in
yes) debug_enabled=yes;;
no) debug_enabled=no;;
*) AC_MSG_ERROR("Bad value for --enable-debug");;
esac],
[debug_enabled=no])
dnl enable truespeech codec support
AC_ARG_ENABLE(truespeech,
[ --enable-truespeech Turn on TrueSpeech support (x86 only)],
@ -562,6 +580,9 @@ else
if test x$ac_cv_c_bigendian = xyes ; then
ORTP_CFLAGS="$ORTP_CFLAGS -DORTP_BIGENDIAN"
fi
if test x$rtptimestamp = xtrue ; then
ORTP_CFLAGS="$ORTP_CFLAGS -DORTP_TIMESTAMP"
fi
ORTP_DIR=oRTP
changequote(<<, >>)
ORTP_VERSION=`grep -E ^[AC]+_INIT ${top_srcdir}/oRTP/configure.ac | sed -e 's:^.*_INIT(.*,\[\(.*\)\]):\1:g'`

@ -1 +1 @@
Subproject commit b2b50e9fd7c946f9bd49fc02f98579794a63a14b
Subproject commit 2413338721f9ac82249a47b333ccca53fb7d3359

2
oRTP

@ -1 +1 @@
Subproject commit f7861fa0e1204091e3bb9aa2f05643f819d1a2b1
Subproject commit 9d8e0cc62b8da06d596f4ed2b62e2c98dad990b3