Description: cannot find OpenSSL if --with-openssl=/usr Index: php/acinclude.m4 =================================================================== --- php.orig/acinclude.m4 2013-12-20 15:05:41.188557602 +0400 +++ php/acinclude.m4 2013-12-20 15:22:02.177133300 +0400 @@ -2334,7 +2334,7 @@ fi dnl If pkg-config is found try using it - if test "$PHP_OPENSSL_DIR" = "yes" && test -x "$PKG_CONFIG" && $PKG_CONFIG --exists openssl; then + if 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`