summaryrefslogtreecommitdiff
path: root/ext/curl/config.m4
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2017-08-18 14:52:43 +0200
committerRemi Collet <remi@php.net>2017-08-18 14:52:43 +0200
commitef96411f608c61b9afc68d49b75af193f07e1e1c (patch)
tree6a64484dfa76276138587acbbb737b157a7abc80 /ext/curl/config.m4
parentef90e37bd15db5ecea57e03ad72a53acd844b706 (diff)
parentde0b816b49544cfdcbdf4add86db4427559b6989 (diff)
downloadphp-git-ef96411f608c61b9afc68d49b75af193f07e1e1c.tar.gz
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: NEWS NEWS Fixed bug #75093 OpenSSL support not detected
Diffstat (limited to 'ext/curl/config.m4')
-rw-r--r--ext/curl/config.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/curl/config.m4 b/ext/curl/config.m4
index 7c649157e9..0ef9869d2b 100644
--- a/ext/curl/config.m4
+++ b/ext/curl/config.m4
@@ -73,6 +73,8 @@ if test "$PHP_CURL" != "no"; then
save_CFLAGS="$CFLAGS"
CFLAGS="`$CURL_CONFIG --cflags`"
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="`$CURL_CONFIG --libs`"
AC_PROG_CPP
AC_MSG_CHECKING([for openssl support in libcurl])
@@ -132,6 +134,7 @@ int main(int argc, char *argv[])
])
CFLAGS="$save_CFLAGS"
+ LDFLAGS="$save_LDFLAGS"
else
AC_MSG_RESULT([no])
fi