Commit Diff


commit - 2c495a1fe7c25494248204b725afaffc8c71411a
commit + b1893e740e745cc5081ef59719bb10bc5f729fdb
blob - 899d00f762eb4e957bef2d6268691acbe0d4eccb
blob + 367c2f0cc59a9c386d11c2fab3f5239a30aba22f
--- configure.ng
+++ configure.ng
@@ -465,7 +465,8 @@ AC_ARG_WITH(openssl,
 				LDFLAGS="-L$withval/lib $LDFLAGS"
 			fi
 			PKG_CHECK_MODULES([OPENSSL], [libssl libcrypto],
-				[LIBS="$LIBS $OPENSSL_LIBS" CFLAGS="$CFLAGS $OPENSSL_CFLAGS"],
+				[LIBS="$LIBS $OPENSSL_LIBS" CFLAGS="$CFLAGS $OPENSSL_CFLAGS"
+				AC_DEFINE(HAVE_LIBSSL, 1)],
 				[AC_CHECK_LIB(crypto, BIO_s_mem)
 				AC_CHECK_LIB(ssl, SSL_new)]
 			)