Browse Source

working on sctp

mom040267 10 years ago
parent
commit
9b754d91f6
1 changed files with 4 additions and 1 deletions
  1. 4 1
      configure

+ 4 - 1
configure

@@ -1178,7 +1178,10 @@ if [ -z "${TURN_NO_SCTP}" ] ; then
     if [ -z "${TURN_SCTP_INCLUDE}" ] ; then
     if [ -z "${TURN_SCTP_INCLUDE}" ] ; then
 		TURN_NO_SCTP="-DTURN_NO_SCTP"
 		TURN_NO_SCTP="-DTURN_NO_SCTP"
 	else
 	else
-		TURN_SCTP_INCLUDE="-DTURN_SCTP_INCLUDE=\"\\\"${TURN_SCTP_INCLUDE}\\\"\""
+		for ip in ${TURN_SCTP_INCLUDE} ; do
+			TURN_SCTP_INCLUDE="-DTURN_SCTP_INCLUDE=\"\\\"${ip}\\\"\""
+			break
+		done
     fi
     fi
 else
 else
     TURN_NO_SCTP="-DTURN_NO_SCTP"
     TURN_NO_SCTP="-DTURN_NO_SCTP"