summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-12-12 05:19:30 +0000
committerfoobar <sniper@php.net>2003-12-12 05:19:30 +0000
commitc3ea5b122e5debe4f43e696dce5c97f8dd17a82e (patch)
tree9dc23919d21aa4c4627375abe72228888bfc2dd6 /acinclude.m4
parentfb7f1aa71e9990c4bb42375e0490aef15b27b02f (diff)
downloadphp-git-c3ea5b122e5debe4f43e696dce5c97f8dd17a82e.tar.gz
Fixed bug #26461 (-lssl missing from LIBS)
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 29bd492f60..19961397fc 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1663,7 +1663,6 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[
old_LIBS=$LIBS
LIBS="$LIBS -lcrypto"
PHP_CHECK_LIBRARY(ssl, SSL_CTX_set_ssl_version, [
- PHP_ADD_LIBRARY(ssl,,$1)
found_openssl=yes
],[
AC_MSG_ERROR([libssl not found!])
@@ -1671,6 +1670,7 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[
-L$OPENSSL_LIBDIR
])
LIBS=$old_LIBS
+ PHP_ADD_LIBRARY(ssl,,$1)
fi
dnl For apache 1.3.x static build