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:
oana 2014-04-07 13:49:39 +00:00
parent 4de603cda1
commit 7965d7e006
1 changed files with 1 additions and 1 deletions

View File

@ -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"