Changed pkg-config detection for OpenSSL support: check only if linker flags are non-empty.
git-svn-id: http://voip.null.ro/svn/yate@5817 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
4de603cda1
commit
7965d7e006
|
@ -1308,7 +1308,7 @@ if [[ "x$ac_cv_use_openssl" = "xyes" ]]; then
|
|||
fi
|
||||
incssl=`(pkg-config --cflags $pkg) 2>/dev/null`
|
||||
libssl=`(pkg-config --libs $pkg) 2>/dev/null`
|
||||
if [[ "x$incssl" != "x" -a "x$libssl" != "x" ]]; then
|
||||
if [[ "x$libssl" != "x" ]]; then
|
||||
HAVE_OPENSSL=yes
|
||||
OPENSSL_VER="$verssl"
|
||||
OPENSSL_INC="$incssl"
|
||||
|
|
Loading…
Reference in New Issue