File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -558,7 +558,12 @@ ACTIONS_ENDGROUP = @::
558558
559559ABI_VERSION_HDR = $(hdrdir ) /ruby/internal/abi.h
560560
561+ !if defined(DUMP_AST)
562+ DUMP_AST_TARGET = no
563+ !else
561564DUMP_AST = dump_ast$(EXEEXT )
565+ DUMP_AST_TARGET = $(DUMP_AST )
566+ !endif
562567
563568!include $(srcdir)/common.mk
564569
Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ goto :loop ;
183183 if " %opt% " == " --with-gmp-dir" goto :opt-dir
184184 if " %opt% " == " --with-gmp" goto :gmp
185185 if " %opt% " == " --with-destdir" goto :destdir
186+ if " %opt% " == " --with-dump-ast" goto :dump-ast
186187goto :loop ;
187188:ntver
188189 :: - For version constants, see
@@ -232,6 +233,9 @@ goto :loop ;
232233:destdir
233234 echo>> %config_make% DESTDIR = %arg%
234235goto :loop ;
236+ :dump-ast
237+ echo>> %config_make% DUMP_AST = %arg%
238+ goto :loop ;
235239:opt-dir
236240 if " %arg% " == " " (
237241 echo 1 >& 2 %configure% : missing argument for %opt%
You can’t perform that action at this time.
0 commit comments