From 1eb6a9cbfef4f0ad5151b4850d81141b7a535be6 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 17 Apr 2012 15:58:51 -0400 Subject: configure: avoid linking against libssl We're not linking to libssl, only libcrypto. -Wl,--as-needed will get rid of this, but there's no sense in checking for and linking against a library we don't need. Signed-off-by: Dave Reisner Signed-off-by: Dan McGee --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index eccf425b..8898f146 100644 --- a/configure.ac +++ b/configure.ac @@ -164,7 +164,7 @@ PKG_CHECK_MODULES(LIBARCHIVE, [libarchive >= 2.8.0], , # Check for OpenSSL have_openssl=no if test "x$with_openssl" != "xno"; then - PKG_CHECK_MODULES(LIBSSL, [libssl libcrypto], + PKG_CHECK_MODULES(LIBSSL, [libcrypto], [AC_DEFINE(HAVE_LIBSSL, 1, [Define if libcrypto is available]) have_openssl=yes], have_openssl=no) if test "x$have_openssl" = xno -a "x$with_openssl" = xyes; then AC_MSG_ERROR([*** openssl support requested but libraries not found]) -- cgit v1.2.3-70-g09d2