[cyrus-sasl-2.1.22] autoconf should detect -lsocket for openssl

Olaf Flebbe o.flebbe at science-computing.de
Wed Nov 29 07:16:06 EST 2006


Hi,

autoconf should detect and include -lsocket into the LIBS variable.
This is an issue for a static openssl on Solaris 8/sparc.

The attached patch works as follows:

IMHO CMU_SOCKET should modify the global $LIBS variable because it would 
be tedious to include LIB_SOCKET into every library which depends on it. 
  It does no harm to be included unnessesarily. Without this mod some 
other tests in cyrus-sasl failed, too.

The OpenSSL test requires the CMU_SOCKET test to be run before the 
detection routine.  OpenSSL detection fails without -lsocket LIBS.

Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: socket.diff
Type: text/x-patch
Size: 966 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/cyrus-sasl/attachments/20061129/d14f8fc9/socket.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: o.flebbe.vcf
Type: text/x-vcard
Size: 371 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/cyrus-sasl/attachments/20061129/d14f8fc9/o.flebbe.vcf


More information about the Cyrus-sasl mailing list