1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/365690485-php-benchmark

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
В этом репозитории не указан файл с открытой лицензией (LICENSE). При использовании обратитесь к конкретному описанию проекта и его зависимостям в коде.
Клонировать/Скачать
config.m4 2 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
上帝禁区 Отправлено 17.05.2013 20:30 cc227c7
dnl $Id$
dnl config.m4 for extension slowlog
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(slowlog, for slowlog support,
dnl Make sure that the comment is aligned:
dnl [ --with-slowlog Include slowlog support])
dnl Otherwise use enable:
PHP_ARG_ENABLE(slowlog, whether to enable slowlog support,
dnl Make sure that the comment is aligned:
[ --enable-slowlog Enable slowlog support])
if test "$PHP_SLOWLOG" != "no"; then
dnl Write more examples of tests here...
dnl # --with-slowlog -> check with-path
dnl SEARCH_PATH="/usr/local /usr" # you might want to change this
dnl SEARCH_FOR="/include/slowlog.h" # you most likely want to change this
dnl if test -r $PHP_SLOWLOG/$SEARCH_FOR; then # path given as parameter
dnl SLOWLOG_DIR=$PHP_SLOWLOG
dnl else # search default path list
dnl AC_MSG_CHECKING([for slowlog files in default path])
dnl for i in $SEARCH_PATH ; do
dnl if test -r $i/$SEARCH_FOR; then
dnl SLOWLOG_DIR=$i
dnl AC_MSG_RESULT(found in $i)
dnl fi
dnl done
dnl fi
dnl
dnl if test -z "$SLOWLOG_DIR"; then
dnl AC_MSG_RESULT([not found])
dnl AC_MSG_ERROR([Please reinstall the slowlog distribution])
dnl fi
dnl # --with-slowlog -> add include path
dnl PHP_ADD_INCLUDE($SLOWLOG_DIR/include)
dnl # --with-slowlog -> check for lib and symbol presence
dnl LIBNAME=slowlog # you may want to change this
dnl LIBSYMBOL=slowlog # you most likely want to change this
dnl PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL,
dnl [
dnl PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $SLOWLOG_DIR/lib, SLOWLOG_SHARED_LIBADD)
dnl AC_DEFINE(HAVE_SLOWLOGLIB,1,[ ])
dnl ],[
dnl AC_MSG_ERROR([wrong slowlog lib version or lib not found])
dnl ],[
dnl -L$SLOWLOG_DIR/lib -lm
dnl ])
dnl
dnl PHP_SUBST(SLOWLOG_SHARED_LIBADD)
PHP_NEW_EXTENSION(slowlog, slowlog.c, $ext_shared)
fi

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/365690485-php-benchmark.git
git@api.gitlife.ru:oschina-mirror/365690485-php-benchmark.git
oschina-mirror
365690485-php-benchmark
365690485-php-benchmark
master