Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixed finding CURL on systems with multiarch support #2632
this should fix https://bugs.php.net/bug.php?id=74125 tested on debian stretch.
This commit makes the cURL config script aware of debian/ubuntu multiarch support which installs architecture specific headers in a different location.
It checks whether the
https://github.com/php/php-src/blob/master/CONTRIBUTING.md says to send the PR against PHP 7.0. Hope its correct now.
Works for me on Debian Buster.
My previous local quick-hack:
--- a/ext/curl/config.m4 +++ b/ext/curl/config.m4 @@ -11,7 +11,7 @@ if test "$PHP_CURL" != "no"; then else AC_MSG_CHECKING(for cURL in default path) for i in /usr/local /usr; do - if test -r $i/include/curl/easy.h; then + if test -r $i/include/x86_64-linux-gnu/curl/easy.h; then CURL_DIR=$i AC_MSG_RESULT(found in $i) break