summaryrefslogtreecommitdiff
path: root/genfiles
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-30 03:13:21 +0000
committerSascha Schumann <sas@php.net>1999-12-30 03:13:21 +0000
commit7070605a17479b6408789aa6fb1489f0fd42f44c (patch)
treeb27314d6d47730453b9f779a73c81ab74f07b697 /genfiles
parentf2f8d38efa3ccbaa05affaf8fcab24786ef452de (diff)
downloadphp-git-7070605a17479b6408789aa6fb1489f0fd42f44c.tar.gz
Let genfiles work in the new environment
Diffstat (limited to 'genfiles')
-rwxr-xr-xgenfiles17
1 files changed, 15 insertions, 2 deletions
diff --git a/genfiles b/genfiles
index fa79ef092f..9ed7a754f9 100755
--- a/genfiles
+++ b/genfiles
@@ -3,5 +3,18 @@
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")
-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
+
+