Remove obsolete code to set SWIG_V8_VERSION
We've dropped support for the old V8 versions which lacked version macros, and SWIG_V8_VERSION now gets automatically defined by Lib/javascript/v8/javascriptruntime.swg which will #undef it first if it's already defined.
This commit is contained in:
parent
130813b320
commit
48eba82ac8
1 changed files with 1 additions and 7 deletions
|
|
@ -32,12 +32,6 @@ JSCENABLED = @JSCENABLED@
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
|
||||||
|
|
||||||
ifneq (, $(V8_VERSION))
|
|
||||||
JSV8_VERSION=$(V8_VERSION)
|
|
||||||
else
|
|
||||||
JSV8_VERSION=0x031110
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Regenerate Makefile if Makefile.in or config.status have changed.
|
# Regenerate Makefile if Makefile.in or config.status have changed.
|
||||||
Makefile: $(srcdir)/Makefile.in ../../config.status
|
Makefile: $(srcdir)/Makefile.in ../../config.status
|
||||||
cd ../.. && $(SHELL) ./config.status Tools/javascript/Makefile
|
cd ../.. && $(SHELL) ./config.status Tools/javascript/Makefile
|
||||||
|
|
@ -45,7 +39,7 @@ Makefile: $(srcdir)/Makefile.in ../../config.status
|
||||||
# These settings are provided by 'configure' (see '/configure.in')
|
# These settings are provided by 'configure' (see '/configure.in')
|
||||||
ifeq (1, $(JSV8ENABLED))
|
ifeq (1, $(JSV8ENABLED))
|
||||||
JS_INTERPRETER_SRC_V8 = v8_shell.cxx
|
JS_INTERPRETER_SRC_V8 = v8_shell.cxx
|
||||||
JS_INTERPRETER_ENABLE_V8 = -DENABLE_V8 -DSWIG_V8_VERSION=$(JSV8_VERSION) -DV8_DEPRECATION_WARNINGS
|
JS_INTERPRETER_ENABLE_V8 = -DENABLE_V8 -DV8_DEPRECATION_WARNINGS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (1, $(JSCENABLED))
|
ifeq (1, $(JSCENABLED))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue