]> sjero.net Git - linphone/commitdiff
fix exosip dscp api detection
authorSimon Morlat <simon.morlat@linphone.org>
Wed, 20 Mar 2013 11:36:13 +0000 (12:36 +0100)
committerSimon Morlat <simon.morlat@linphone.org>
Wed, 20 Mar 2013 11:36:13 +0000 (12:36 +0100)
configure.ac
m4/exosip.m4
mediastreamer2

index 4957eeb58ce4c83b26f990d438293a334900d872..7bc526bbb288f379be0ad3ceae3f86cf1930a86b 100644 (file)
@@ -444,19 +444,6 @@ fi
 dnl setup flags for exosip library
 LP_SETUP_EXOSIP
 
-dnl check exosip support of DSCP in exosip
-AC_MSG_CHECKING([for DSCP support in exosip])
-AC_TRY_COMPILE([#include <eXosip2/eXosip.h>],
-       [int dscp=0;eXosip_set_option(EXOSIP_OPT_SET_DSCP,&dscp);],
-       has_exosip_dscp=yes,
-       has_exosip_dscp=no
-)
-AC_MSG_RESULT($has_exosip_dscp)
-if test "$has_exosip_dscp" = "yes" ; then
-       AC_DEFINE( HAVE_EXOSIP_DSCP, 1, [Define if exosip dscp available] )
-fi
-
-
 if test "$console_ui" = "true" ; then
        dnl check gnu readline
        LP_CHECK_READLINE
@@ -684,7 +671,6 @@ AC_ARG_ENABLE(msg-storage,
        [enable_msg_storage=auto]
 )
 
-echo "enable_msg_storage = $enable_msg_storage"
 
 AM_CONDITIONAL(BUILD_MSG_STORAGE, test x$enable_msg_storage = xtrue)
 if test x$enable_msg_storage != xfalse; then
index 31769e00da95f21065f0f10cea816d978b2b87a6..e7c72647dff2ddd0b8fe6bab3926705f198cada5 100644 (file)
@@ -20,6 +20,19 @@ EXOSIP_LIBS="$OSIP_LIBS -leXosip2  "
 CPPFLAGS_save=$CPPFLAGS
 CPPFLAGS="$OSIP_CFLAGS $CPPFLAGS"
 AC_CHECK_HEADER([eXosip2/eXosip.h], ,AC_MSG_ERROR([Could not find eXosip2 headers !]))
+
+dnl check exosip support of DSCP in exosip
+AC_MSG_CHECKING([for DSCP support in exosip])
+AC_TRY_COMPILE([#include <eXosip2/eXosip.h>],
+       [int dscp=0;eXosip_set_option(EXOSIP_OPT_SET_DSCP,&dscp);],
+       has_exosip_dscp=yes,
+       has_exosip_dscp=no
+)
+AC_MSG_RESULT($has_exosip_dscp)
+if test "$has_exosip_dscp" = "yes" ; then
+       AC_DEFINE( HAVE_EXOSIP_DSCP, 1, [Define if exosip dscp available] )
+fi
+
 CPPFLAGS=$CPPFLAGS_save
 
 
index 45c9c65168a9912bd2aa97344b396771ff1cdaf0..430cc1376d68b1a8d82799357abea9e3e1c536f8 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 45c9c65168a9912bd2aa97344b396771ff1cdaf0
+Subproject commit 430cc1376d68b1a8d82799357abea9e3e1c536f8