From 92035b9fb6354091add11626314f712d6366beee Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Sun, 17 Jun 2007 22:54:00 +0000 Subject: [PATCH] Do not invoke pkg-config to check that openssl is present, PKG_CHECK_MODULES does it for us. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4567 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index a89b285e..d0a8e4f8 100644 --- a/configure.in +++ b/configure.in @@ -338,8 +338,8 @@ LIBS="$LIBS $GLIB_LIBS" have_openssl=no if test "$enable_ssl" = "yes"; then - if pkg-config --exists openssl; then - PKG_CHECK_MODULES(SSL, openssl) + PKG_CHECK_MODULES(SSL, openssl, :, :) + if test "$SSL_LIBS"; then CFLAGS="$CFLAGS $SSL_CFLAGS" have_openssl=yes else