[asterisk-dev] Why -lnsl in IKSEMEL_LIB ?

Matt O'Gorman mogorman at digium.com
Mon Nov 6 15:49:40 MST 2006


the encryption tools are only needed if you want a secure connection between asterisk and the jabber server.

Mog
----- Original Message -----
From: Luigi Rizzo <rizzo at icir.org>
To: Asterisk Developers Mailing List <asterisk-dev at lists.digium.com>
Sent: Monday, November 6, 2006 3:58:11 PM GMT-0600 US/Central
Subject: [asterisk-dev] Why -lnsl in IKSEMEL_LIB ?

we have this block in configure.ac:

	AST_EXT_LIB_CHECK([IKSEMEL], [iksemel], [iks_start_sasl], [iksemel.h])

	if test "${PBX_IKSEMEL}" = 1; then
	   AST_EXT_LIB_CHECK([GNUTLS], [gnutls], [gnutls_bye])
	   if test "${PBX_GNUTLS}" = 1; then
	       IKSEMEL_LIB="${IKSEMEL_LIB} -lgnutls -lz -lgcrypt -lnsl -lgpg-error"
	   fi
	fi


now, -lnsl doesn't seem to be necessary on FreeBSD (in fact it is
problematic because the library is not there). Furthermore,
the checks for IKSEMEL and GNUTLS just a few lines above succeed without
additional libraries, so i wonder why we need to add

	 -lz -lgcrypt -lnsl -lgpg-error

there. Unfortunately i dont have access to a suitable linux box
(with iksemel and gnutls installed). so could someone either
explain why we need them or whether the thing (i suppose it is
for gtalk/jabber support) works well even without or more of them ?

	cheers
	luigi
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list