X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=config.m4;h=01a82a2b7f978eaf9b2b85966958f71f5d1f04e5;hb=c9384515a81cb64d345b299908b2852f51bb8e6e;hp=76c1066a4ff278283446beb05a9e7128dd2e87c9;hpb=6d8fda8d1cd382e6d6626df5353d285176bd9bf2;p=m6w6%2Fext-psi diff --git a/config.m4 b/config.m4 index 76c1066..01a82a2 100644 --- a/config.m4 +++ b/config.m4 @@ -25,6 +25,7 @@ m4_foreach(incfile, [ [posix/stdio.m4], [posix/stdint.m4], [posix/stdlib.m4], + [posix/stdarg.m4], [posix/sys_select.m4], [posix/sys_socket.m4], [posix/sys_stat.m4], @@ -86,7 +87,11 @@ if test "$PHP_PSI" != no; then AC_MSG_RESULT([already defined]) ]) - PSI_LEMON + AC_MSG_CHECKING([psi source dir]) + AC_MSG_RESULT([$PHP_PSI_SRCDIR]) + AC_MSG_CHECKING([psi build dir]) + AC_MSG_RESULT([$PHP_PSI_BUILDDIR]) + PSI_CHECK_LIBJIT PSI_CHECK_LIBFFI @@ -125,6 +130,7 @@ if test "$PHP_PSI" != no; then PSI_CONFIG_POSIX(stdio, stdio.h) PSI_CONFIG_POSIX(stdlib, stdlib.h) PSI_CONFIG_POSIX(unistd, unistd.h) + PSI_CONFIG_POSIX(stdarg, stdarg.h) PSI_CONFIG_POSIX(sys/socket, sys/socket.h, [ PSI_CONFIG_POSIX(netinet/in, netinet/in.h, [ PSI_CONFIG_POSIX(arpa/inet, arpa/inet.h) @@ -158,7 +164,7 @@ if test "$PHP_PSI" != no; then PHP_PSI_HEADERS=" \ src/calc/basic.h src/calc/bin.h src/calc/bool.h src/calc/cast.h \ - src/calc/cmp.h src/calc/oper.h \ + src/calc/unary.h src/calc/cmp.h src/calc/oper.h \ `(cd $PHP_PSI_SRCDIR/src && ls *.h types/*.h)` \ " # parser* should come first @@ -169,9 +175,9 @@ if test "$PHP_PSI" != no; then )` \ " PHP_PSI_GENERATED=" \ - src/parser_proc.y src/parser_proc.c src/parser.c \ + src/parser_proc.c src/parser.c \ src/calc/basic.h src/calc/bin.h src/calc/bool.h src/calc/cast.h \ - src/calc/cmp.h src/calc/oper.h \ + src/calc/unary.h src/calc/cmp.h src/calc/oper.h \ " PHP_NEW_EXTENSION(psi, $PHP_PSI_SOURCES, $ext_shared)