https://savannah.nongnu.org/patch/index.php?7090 --- configure.in 2010-02-11 18:29:40 +0000 +++ configure.in 2010-02-11 18:30:26 +0000 @@ -192,8 +192,6 @@ AC_CHECK_LIB(socket,sendto,[EXOSIP_LIB="$EXOSIP_LIB -lsocket"]) AC_CHECK_LIB(rt,clock_gettime,[EXOSIP_LIB="$EXOSIP_LIB -lrt"]) -AC_CHECK_LIB(ssl,SSL_CTX_new,[EXOSIP_LIB="$EXOSIP_LIB -lssl"]) - case $OS in openbsd*) ;; @@ -363,6 +361,7 @@ if test "$enable_openssl" = "yes" ; then AC_CHECK_HEADERS(openssl/ssl.h) + AC_CHECK_LIB(ssl,SSL_CTX_new,[EXOSIP_LIB="$EXOSIP_LIB -lssl"]) fi AC_ARG_ENABLE(srvrec,