Fixed bug #26461 (-lssl missing from LIBS)

This commit is contained in:
foobar 2003-12-12 05:19:30 +00:00
parent fb7f1aa71e
commit c3ea5b122e

View File

@ -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