projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- CRLF -> LF; dammit
[m6w6/ext-http]
/
config.m4
diff --git
a/config.m4
b/config.m4
index 62dcb4f04b1a116be03684e41424d43a920444db..ec5b519e701ae60cd64d688900f5cb15cbbb80cd 100644
(file)
--- a/
config.m4
+++ b/
config.m4
@@
-3,7
+3,7
@@
dnl $Id$
PHP_ARG_ENABLE([http], [whether to enable extended HTTP support],
[ --enable-http Enable extended HTTP support])
PHP_ARG_ENABLE([http], [whether to enable extended HTTP support],
[ --enable-http Enable extended HTTP support])
-PHP_ARG_WITH([http-curl-requests], [wheter to enable cURL HTTP requests],
+PHP_ARG_WITH([http-curl-requests], [whet
h
er to enable cURL HTTP requests],
[ --with-http-curl-requests[=CURLDIR]
With cURL HTTP request support])
PHP_ARG_WITH([http-mhash-etags], [whether to enable mhash ETag generator],
[ --with-http-curl-requests[=CURLDIR]
With cURL HTTP request support])
PHP_ARG_WITH([http-mhash-etags], [whether to enable mhash ETag generator],
@@
-62,7
+62,7
@@
dnl ----
fi
CURL_SSL=`$CURL_CONFIG --features | $EGREP SSL`
fi
CURL_SSL=`$CURL_CONFIG --features | $EGREP SSL`
- if test
CURL_SSL
== "SSL"; then
+ if test
"$CURL_SSL"
== "SSL"; then
AC_DEFINE([HTTP_HAVE_SSL], [1], [ ])
fi
AC_CHECK_HEADERS([openssl/crypto.h])
AC_DEFINE([HTTP_HAVE_SSL], [1], [ ])
fi
AC_CHECK_HEADERS([openssl/crypto.h])
@@
-82,6
+82,10
@@
dnl ----
[AC_DEFINE([HAVE_CURL_EASY_STRERROR], [1], [ ])], [ ],
[$CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR]
)
[AC_DEFINE([HAVE_CURL_EASY_STRERROR], [1], [ ])], [ ],
[$CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR]
)
+ PHP_CHECK_LIBRARY(curl, curl_easy_reset,
+ [AC_DEFINE([HAVE_CURL_EASY_RESET], [1], [ ])], [ ],
+ [$CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR]
+ )
fi
dnl ----
fi
dnl ----