Fix openssl detect

This commit is contained in:
pancake 2013-03-26 13:50:05 +01:00
parent 3b31026bbc
commit 1be6f3ded5
2 changed files with 2 additions and 2 deletions

2
configure vendored
View file

@ -421,7 +421,7 @@ tmp=`pkg-config --libs openssl 2>/dev/null`
if [ $? = 0 ]; then
echo yes; HAVE_PKGCFG_OPENSSL=1;
SSL_LDFLAGS=$tmp; fi; fi
if [ ! "$SSL_CFLAGS" = "" ]; then
if [ ! "$SSL_LDFLAGS" = "" ]; then
HAVE_OPENSSL="1"; fi
if [ 11 = "$WANT_OPENSSL$HAVE_OPENSSL" ]; then

View file

@ -43,7 +43,7 @@ HAVE_GMP = 0 ;
CHKLIB ssl
PKGCFG SSL_CFLAGS SSL_LDFLAGS openssl
IFNOTNULL SSL_CFLAGS {
IFNOTNULL SSL_LDFLAGS {
HAVE_OPENSSL = 1 ;
}
(( ARG_WITHOUT HAVE_OPENSSL ssl disable openssl dependency ; ))