r3548 - trunk/libmnetutil

mikma at minisip.org mikma at minisip.org
Mon Dec 3 00:54:44 CET 2007


Author: mikma
Date: 2007-12-03 00:54:44 +0100 (Mon, 03 Dec 2007)
New Revision: 3548

Modified:
   trunk/libmnetutil/Makefile.am
Log:
Build SCTP sources only when enabled...


Modified: trunk/libmnetutil/Makefile.am
===================================================================
--- trunk/libmnetutil/Makefile.am	2007-12-02 21:48:22 UTC (rev 3547)
+++ trunk/libmnetutil/Makefile.am	2007-12-02 23:54:44 UTC (rev 3548)
@@ -31,6 +31,11 @@
 		    source/IP6Address.cxx
 endif
 
+if ENABLE_SCTP
+sctp_src =	    source/SctpSocket.cxx \
+		    source/SctpServerSocket.cxx
+endif ENABLE_SCTP
+
 ldap_src = \
 		    source/LdapConnection.cxx \
                     source/LdapEntry.cxx \
@@ -52,8 +57,7 @@
 		    source/SocketServer.cxx \
 		    source/TCPSocket.cxx \
 		    source/TcpServerSocket.cxx \
-		    source/SctpSocket.cxx \
-		    source/SctpServerSocket.cxx \
+		    $(sctp_src) \
 		    source/NetUtil.cxx \
 		    source/UDPSocket.cxx \
 		    source/DatagramSocket.cxx \



More information about the Minisip-devel mailing list