代码拉取完成,页面将自动刷新
同步操作将从 上帝禁区/PHP class fetch_url 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
dnl $Id$
dnl config.m4 for extension fetch_url
dnl Comments in this file start with the string 'dnl'.
dnl Remove where necessary. This file will not work
dnl without editing.
dnl If your extension references something external, use with:
dnl PHP_ARG_WITH(fetch_url, for fetch_url support,
dnl Make sure that the comment is aligned:
dnl [ --with-fetch_url Include fetch_url support])
dnl Otherwise use enable:
PHP_ARG_ENABLE(fetch_url, whether to enable fetch_url support,
dnl Make sure that the comment is aligned:
[ --enable-fetch_url Enable fetch_url support])
SEARCH_PATH="/usr/local/include /usr/include"
LIB_SEARCH_PATH="/usr/lib /usr/local/lib"
if test "$PHP_FETCH_URL" != "no"; then
dnl 验证curl头文件
for i in $SEARCH_PATH ; do
if test -f $i/curl/curl.h; then
CURL_DIR=$i
fi
done
if test -z "$CURL_DIR"; then
AC_MSG_ERROR([curl.h not found])
fi
dnl 验证libcurl.so文件
for i in $LIB_SEARCH_PATH ; do
if test -f $i/libcurl.so; then
LIB_CURL_DIR=$i
fi
done
if test -z "$LIB_CURL_DIR"; then
AC_MSG_ERROR([libcurl.so not found])
fi
PHP_ADD_INCLUDE($CURL_DIR)
PHP_ADD_LIBRARY_WITH_PATH(curl, $LIB_CURL_DIR, FETCH_URL_SHARED_LIBADD)
PHP_NEW_EXTENSION(fetch_url, fetch_url.c, $ext_shared)
fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。