]> granicus.if.org Git - php/commitdiff
Fixed bug #25703 (openssl checks failed)
authorfoobar <sniper@php.net>
Tue, 30 Sep 2003 18:08:12 +0000 (18:08 +0000)
committerfoobar <sniper@php.net>
Tue, 30 Sep 2003 18:08:12 +0000 (18:08 +0000)
acinclude.m4

index 8513c3529b9dbb4b1efa3e4eac722cb5aee29583..a276567f3b34bd08d8278bb73a93153fb4f136f3 100644 (file)
@@ -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`