mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
Allow CYGWIN directory to be specified as via environment variable
This commit is contained in:
parent
51ea5cc70a
commit
a29baa30c8
@ -806,7 +806,8 @@ SOURCE=".\configuration-parser.y"
|
||||
InputPath=".\configuration-parser.y"
|
||||
|
||||
BuildCmds= \
|
||||
bison --output=configuration-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p cfg configuration-parser.y
|
||||
if not "X%CYGWIN%"=="X" bison --output=configuration-parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p cfg configuration-parser.y \
|
||||
if "X%CYGWIN%"=="X" bison --output=configuration-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p cfg configuration-parser.y
|
||||
|
||||
"configuration-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
$(BuildCmds)
|
||||
@ -821,7 +822,8 @@ BuildCmds= \
|
||||
InputPath=".\configuration-parser.y"
|
||||
|
||||
BuildCmds= \
|
||||
bison --output=configuration-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p cfg configuration-parser.y
|
||||
if not"X%CYGWIN%"=="X" bison --output=configuration-parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p cfg configuration-parser.y \
|
||||
if "X%CYGWIN%"=="X" bison --output=configuration-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p cfg configuration-parser.y
|
||||
|
||||
"configuration-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
$(BuildCmds)
|
||||
@ -844,7 +846,8 @@ InputPath=.\ext\standard\parsedate.y
|
||||
|
||||
"ext\standard\parsedate.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ext\standard
|
||||
bison --output=parsedate.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" parsedate.y
|
||||
if not "X%CYGWIN%"=="X" bison --output=parsedate.c -v -d -S "%CYGWIN%\share\bison.simple" parsedate.y \
|
||||
if "X%CYGWIN%"=="X" bison --output=parsedate.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" parsedate.y
|
||||
|
||||
# End Custom Build
|
||||
|
||||
|
@ -778,7 +778,8 @@ SOURCE=".\configuration-parser.y"
|
||||
InputPath=".\configuration-parser.y"
|
||||
|
||||
BuildCmds= \
|
||||
bison --output=configuration-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p cfg configuration-parser.y
|
||||
if not "X%CYGWIN%"=="X" bison --output=configuration-parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p cfg configuration-parser.y \
|
||||
if "X%CYGWIN%"=="X" bison --output=configuration-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p cfg configuration-parser.y
|
||||
|
||||
"configuration-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
$(BuildCmds)
|
||||
@ -793,7 +794,8 @@ BuildCmds= \
|
||||
InputPath=".\configuration-parser.y"
|
||||
|
||||
BuildCmds= \
|
||||
bison --output=configuration-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p cfg configuration-parser.y
|
||||
if not"X%CYGWIN%"=="X" bison --output=configuration-parser.c -v -d -S "%CYGWIN%\share\bison.simple" -p cfg configuration-parser.y \
|
||||
if "X%CYGWIN%"=="X" bison --output=configuration-parser.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" -p cfg configuration-parser.y
|
||||
|
||||
"configuration-parser.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
$(BuildCmds)
|
||||
@ -816,7 +818,8 @@ InputPath=.\ext\standard\parsedate.y
|
||||
|
||||
"ext\standard\parsedate.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
cd ext\standard
|
||||
bison --output=parsedate.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" parsedate.y
|
||||
if not "X%CYGWIN%"=="X" bison --output=parsedate.c -v -d -S "%CYGWIN%\share\bison.simple" parsedate.y \
|
||||
if "X%CYGWIN%"=="X" bison --output=parsedate.c -v -d -S "C:\Program Files\Cygnus\share\bison.simple" parsedate.y
|
||||
|
||||
# End Custom Build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user