- CURL:
. Fixed bug #79033 (Curl timeout error with specific url and post). (cmb)
+ . Fixed bug #79063 (curl openssl does not respect PKG_CONFIG_PATH). (Nikita)
- Date:
. Fixed bug #79015 (undefined-behavior in php_date.c). (cmb)
esac
if test "$CURL_SSL" = yes; then
- save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $CURL_CFLAGS"
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $CURL_LIBS"
]])],[
AC_MSG_RESULT([yes])
AC_DEFINE([HAVE_CURL_OPENSSL], [1], [Have cURL with OpenSSL support])
- AC_CHECK_HEADERS([openssl/crypto.h])
+ PKG_CHECK_MODULES([OPENSSL], [openssl], [
+ PHP_EVAL_LIBLINE($OPENSSL_LIBS, CURL_SHARED_LIBADD)
+ PHP_EVAL_INCLINE($OPENSSL_CFLAGS)
+ AC_CHECK_HEADERS([openssl/crypto.h])
+ ], [])
], [
AC_MSG_RESULT([no])
], [
AC_MSG_RESULT([no])
])
- CFLAGS="$save_CFLAGS"
LDFLAGS="$save_LDFLAGS"
else
AC_MSG_RESULT([no])