From f2e946c79c3d5cd72b343b964e88be002fe37bd0 Mon Sep 17 00:00:00 2001 From: foobar Date: Wed, 26 Oct 2005 11:33:17 +0000 Subject: [PATCH] Fix configure --- ext/curl/config.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/curl/config.m4 b/ext/curl/config.m4 index e0ef2b388f..94baf6af22 100644 --- a/ext/curl/config.m4 +++ b/ext/curl/config.m4 @@ -36,7 +36,7 @@ if test "$PHP_CURL" != "no"; then CURL_CONFIG=${CURL_DIR}/bin/curl-config else if ${CURL_DIR}/curl-config --libs > /dev/null 2>&1; then - CURL_CONFIG=${CURL_DIR}/curl-config + CURL_CONFIG=${CURL_DIR}/curl-config fi fi @@ -51,20 +51,20 @@ if test "$PHP_CURL" != "no"; then AC_MSG_CHECKING([for SSL support in libcurl]) CURL_SSL=`$CURL_CONFIG --features | $EGREP SSL` - if test "$CURL_SSL" == "SSL"; then + if test "$CURL_SSL" = "SSL"; then AC_MSG_RESULT([yes]) AC_DEFINE([HAVE_CURL_SSL], [1], [Have cURL with SSL support]) 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"; then CURL_SSL_FLAVOUR="openssl" AC_MSG_RESULT([openssl]) AC_DEFINE([HAVE_CURL_OPENSSL], [1], [Have cURL with OpenSSL support]) AC_CHECK_HEADERS([openssl/crypto.h]) break - elif test "$i" == "-lgnutls"; then + elif test "$i" = "-lgnutls"; then CURL_SSL_FLAVOUR="gnutls" AC_MSG_RESULT([gnutls]) AC_DEFINE([HAVE_CURL_GNUTLS], [1], [Have cURL with GnuTLS support]) -- 2.50.1