projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
pre-evaluate constant value on validation
[m6w6/ext-psi]
/
config.m4
diff --git
a/config.m4
b/config.m4
index be38dcf4a6a0f75b1164c5dc696f1ae8377b7c35..68d5c9f464f3c0f1814d82ce6baa8fe160795571 100644
(file)
--- a/
config.m4
+++ b/
config.m4
@@
-149,14
+149,15
@@
if test "$PHP_PSI" != no; then
PHP_PSI_HEADERS=`(cd $PHP_PSI_SRCDIR/src && ls *.h types/*.h)`
# parser* should come first
PHP_PSI_SOURCES=" \
PHP_PSI_HEADERS=`(cd $PHP_PSI_SRCDIR/src && ls *.h types/*.h)`
# parser* should come first
PHP_PSI_SOURCES=" \
- src/parser_proc.c \
- src/parser.c \
+ src/parser_proc.c src/parser.c
`(cd $PHP_PSI_SRCDIR && ls src/*.c src/types/*.c | $EGREP -v '^src/parser')` \
"
`(cd $PHP_PSI_SRCDIR && ls src/*.c src/types/*.c | $EGREP -v '^src/parser')` \
"
+ PHP_PSI_GENERATED="src/parser_proc.y src/parser_proc.c src/parser.c"
PHP_NEW_EXTENSION(psi, $PHP_PSI_SOURCES, $ext_shared)
PHP_INSTALL_HEADERS(ext/psi, php_psi.h $PHP_PSI_HEADERS)
PHP_NEW_EXTENSION(psi, $PHP_PSI_SOURCES, $ext_shared)
PHP_INSTALL_HEADERS(ext/psi, php_psi.h $PHP_PSI_HEADERS)
+ PHP_SUBST(PHP_PSI_GENERATED)
PHP_SUBST(PHP_PSI_HEADERS)
PHP_SUBST(PHP_PSI_SOURCES)
PHP_SUBST(PHP_PSI_HEADERS)
PHP_SUBST(PHP_PSI_SOURCES)