mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
26 lines
812 B
Plaintext
26 lines
812 B
Plaintext
$NetBSD: patch-config.m4,v 1.1 2015/09/03 06:19:26 fhajny Exp $
|
|
|
|
Make sure configure can find our curl.
|
|
|
|
--- config.m4.orig 1970-01-01 09:13:08.000000000 +0000
|
|
+++ config.m4
|
|
@@ -5,6 +5,9 @@ dnl
|
|
PHP_ARG_ENABLE(oauth, for oauth support,
|
|
[ --enable-oauth Include oauth support])
|
|
|
|
+PHP_ARG_WITH([curl], [whether to enable cURL engine support],
|
|
+[ --with-curl[=PATH] Include cURL engine support], $PHP_OAUTH, $PHP_OAUTH)
|
|
+
|
|
if test "$PHP_OAUTH" != "no"; then
|
|
PHP_SUBST(OAUTH_SHARED_LIBADD)
|
|
|
|
@@ -12,7 +15,7 @@ if test "$PHP_OAUTH" != "no"; then
|
|
CFLAGS="$CFLAGS -Wall -g"
|
|
|
|
AC_MSG_CHECKING(for cURL in default path)
|
|
- for i in /usr/local /usr; do
|
|
+ for i in "$PHP_CURL" /usr/local /usr; do
|
|
if test -r $i/include/curl/easy.h; then
|
|
CURL_DIR=$i
|
|
AC_MSG_RESULT(found in $i)
|