A bit of a Yahoo'ism, but it makes adding pecl/http to our automatic pecl
[m6w6/ext-http] / 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], [ ])