mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Let genfiles work in the new environment
This commit is contained in:
parent
f2f8d38efa
commit
7070605a17
1 changed files with 15 additions and 2 deletions
17
genfiles
17
genfiles
|
@ -3,5 +3,18 @@
|
||||||
STD='make -f Makefile.am LEX=flex YACC="bison -y" srcdir=.'
|
STD='make -f Makefile.am LEX=flex YACC="bison -y" srcdir=.'
|
||||||
|
|
||||||
(cd Zend && eval "$STD zend-parser.c zend-scanner.c zend-scanner-cc.cc")
|
(cd Zend && eval "$STD zend-parser.c zend-scanner.c zend-scanner-cc.cc")
|
||||||
eval "$STD configuration-parser.c configuration-scanner.c"
|
|
||||||
(cd ext/standard && eval "$STD parsedate.c")
|
files="Makefile ext/standard/Makefile"
|
||||||
|
sh build/fastgen.sh . yes $files
|
||||||
|
|
||||||
|
cat > config_vars.mk <<EOF
|
||||||
|
LEX=flex
|
||||||
|
YACC=bison -y
|
||||||
|
EOF
|
||||||
|
|
||||||
|
make configuration-parser.c configuration-scanner.c
|
||||||
|
(cd ext/standard && make parsedate.c)
|
||||||
|
|
||||||
|
rm config_vars.mk $files
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue