The Wayback Machine - https://web.archive.org/web/20230422210720/https://github.com/AOP-PHP/AOP/blob/master/config.m4
Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
PHP_ARG_ENABLE(AOP, whether to enable AOP support,
[ --enable-AOP Enable AOP support])
AC_MSG_CHECKING([for PCRE headers location])
for i in /usr/include /usr/include/pcre /usr/local/include; do
test -f $i/pcre.h && PCRE_INCDIR=$i
done
if test -z "$PCRE_INCDIR"; then
AC_MSG_ERROR([Could not find pcre.h in $PHP_PCRE_REGEX])
fi
AC_MSG_RESULT([$PCRE_INCDIR])
if test "$PHP_AOP" = "yes"; then
AC_DEFINE(HAVE_AOP, 1, [aop])
PHP_NEW_EXTENSION(aop, aop.c Lexer.c aop_joinpoint.c, $ext_shared)
fi