aboutsummaryrefslogtreecommitdiff
path: root/lang/php53/files/patch-acinclude.m4
blob: 32a0ca4c79c9b578755f62dd9ed669b0acb0620f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- acinclude.m4.orig	Tue Jan 25 14:02:45 2005
+++ acinclude.m4	Mon Apr  4 11:09:25 2005
@@ -1681,9 +1681,9 @@
   unset OPENSSL_LIBDIR
 
   dnl Fallbacks for different configure options
-  if test "$PHP_OPENSSL" != "no"; then
+  if test -n "$PHP_OPENSSL" && test "$PHP_OPENSSL" != "no"; then
     PHP_OPENSSL_DIR=$PHP_OPENSSL
-  elif test "$PHP_IMAP_SSL" != "no"; then
+  elif test -n "$PHP_IMAP_SSL" && test "$PHP_IMAP_SSL" != "no"; then
     PHP_OPENSSL_DIR=$PHP_IMAP_SSL
   fi