From 0b19e15a1239bff9ae854f522f954206ec910cf8 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sat, 20 Oct 2018 08:00:42 +0000 Subject: rename configure option `--disable-mjit` to `--disable-mjit-support` * configure.ac: rename configure option `--disable-mjit` to `--disable-mjit-support` because `--disable-mjit` is ambiguous that runtime MJIT default enable option or supporting MJIT features. `ENABLE_MJIT` is also renamed to `MJIT_SUPPORT` * Makefile.in: catch up this fix. * common.mk: ditto. * test/ruby/test_jit.rb: ditto. * win32/Makefile.sub: catch up this fix on mswin. * tool/mkconfig.rb: fix to pass `MJIT_SUPPORT` key. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.ac | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 5191a91eee..70d8ed9cc3 100644 --- a/configure.ac +++ b/configure.ac @@ -3325,16 +3325,16 @@ AC_SUBST(CAPITARGET) AS_CASE(["$RDOCTARGET:$CAPITARGET"],[nodoc:nodoc],[INSTALLDOC=nodoc],[INSTALLDOC=all]) AC_SUBST(INSTALLDOC) -AC_ARG_ENABLE(mjit, - AS_HELP_STRING([--disable-mjit], [disable MJIT features]), - [ENABLE_MJIT=$enableval - AS_IF([test x"$enable_mjit" = "xyes"], +AC_ARG_ENABLE(mjit-support, + AS_HELP_STRING([--disable-mjit-support], [disable MJIT features]), + [MJIT_SUPPORT=$enableval + AS_IF([test x"$enable_mjit_support" = "xyes"], [AC_DEFINE(USE_MJIT, 1)], [AC_DEFINE(USE_MJIT, 0)])], - [ENABLE_MJIT=yes + [MJIT_SUPPORT=yes AC_DEFINE(USE_MJIT, 1)]) -AC_SUBST(ENABLE_MJIT) +AC_SUBST(MJIT_SUPPORT) AC_ARG_ENABLE(install-static-library, AS_HELP_STRING([--disable-install-static-library], [do not install static ruby library]), @@ -3997,7 +3997,7 @@ config_summary "debugflags" "$debugflags" config_summary "warnflags" "$warnflags" config_summary "strip command" "$STRIP" config_summary "install doc" "$install_doc" -config_summary "enable MJIT" "$ENABLE_MJIT" +config_summary "MJIT support" "$MJIT_SUPPORT" config_summary "man page type" "$MANTYPE" config_summary "search path" "$search_path" config_summary "static-linked-ext" ${EXTSTATIC:+"yes"} -- cgit v1.2.3