From: foobar Date: Tue, 30 Sep 2003 18:08:12 +0000 (+0000) Subject: Fixed bug #25703 (openssl checks failed) X-Git-Tag: RELEASE_1_3b2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f415b2c4b8d19558449066878914bc9bf2bf338;p=php Fixed bug #25703 (openssl checks failed) --- diff --git a/acinclude.m4 b/acinclude.m4 index 8513c3529b..a276567f3b 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1593,7 +1593,7 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[ fi dnl If pkg-config is found try using it - if test "$PHP_OPENSSL" = "yes" && test -x "$PKG_CONFIG"; then + if test "$PHP_OPENSSL" = "yes" && test -x "$PKG_CONFIG" && $PKG_CONFIG --exists openssl; then if $PKG_CONFIG --atleast-version=0.9.6 openssl; then found_openssl=yes OPENSSL_LIBS=`$PKG_CONFIG --libs openssl`