A bit of a Yahoo'ism, but it makes adding pecl/http to our automatic pecl
authorRasmus Lerdorf <rasmus@php.net>
Fri, 30 Jun 2006 11:13:44 +0000 (11:13 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Fri, 30 Jun 2006 11:13:44 +0000 (11:13 +0000)
extension builds so much easier.  I hope you don't mind.  It shouldn't
break anything elsewhere.

config9.m4

index 09e31c54158c5248dca4fc2bf7a8d93bb65050d5..67d47a0fb707aa7d7c6c7f5b4b8161b123e11c2f 100644 (file)
@@ -181,7 +181,7 @@ dnl ----
                        AC_MSG_CHECKING([for SSL library used])
                        CURL_SSL_FLAVOUR=
                        for i in $CURL_LIBS; do
-                               if test "$i" = "-lssl"; then
+                               if test "$i" = "-lssl" -o "$i" = "-lssl_unversion"; then
                                        CURL_SSL_FLAVOUR="openssl"
                                        AC_MSG_RESULT([openssl])
                                        AC_DEFINE([HTTP_HAVE_OPENSSL], [1], [ ])