projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- fix build on Debian systems where access to Curl_* functions is prohibited
[m6w6/ext-http]
/
config.m4
diff --git
a/config.m4
b/config.m4
index 555bbc7185d84f8c7e04e2f36cbb48bc0b4223ce..0339acc3e74177b5cd3f6f71e0a8197cf69b9271 100644
(file)
--- a/
config.m4
+++ b/
config.m4
@@
-159,6
+159,11
@@
dnl ----
[AC_DEFINE([HAVE_CURL_EASY_RESET], [1], [ ])], [ ],
[$CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR]
)
[AC_DEFINE([HAVE_CURL_EASY_RESET], [1], [ ])], [ ],
[$CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR]
)
+ dnl Debian suddenly (>=7.14.1-2) hides all symbols not starting with "curl"
+ PHP_CHECK_LIBRARY(curl, Curl_getFormData,
+ [AC_DEFINE([HAVE_CURL_GETFORMDATA], [1], [ ])], [ ],
+ [$CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR]
+ )
fi
dnl ----
fi
dnl ----