summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-cannot-find-openssl.patch
blob: e876a2c89f5d910fe3f33724f411e6e9aa19c4f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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`