mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (enable-debug-env): option for RUBY_DEBUG env.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8508e37b51
commit
967e3a3598
4 changed files with 23 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Jun 26 13:07:09 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (enable-debug-env): option for RUBY_DEBUG env.
|
||||
|
||||
Sat Jun 26 11:56:31 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* common.mk (clear-installed-list): put redirection before set
|
||||
|
|
|
@ -2277,6 +2277,10 @@ AS_CASE(["$THREAD_MODEL"],
|
|||
[""], [AC_MSG_ERROR(thread model is missing)],
|
||||
[AC_MSG_ERROR(unknown thread model $THREAD_MODEL)])
|
||||
|
||||
AC_ARG_ENABLE(debug-env,
|
||||
AS_HELP_STRING([--enable-debug-env], [enable RUBY_DEBUG environment variable]),
|
||||
[AC_DEFINE(RUBY_DEBUG_ENV)])
|
||||
|
||||
AS_CASE(["$FIRSTMAKEFILE"], [*GNUmakefile:*], [gnumake=yes], [
|
||||
AC_MSG_CHECKING([for if ${MAKE-make} is GNU make])
|
||||
mkdir conftest.dir
|
||||
|
|
|
@ -584,6 +584,9 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
|
|||
!endif
|
||||
#define CANONICALIZATION_FOR_MATHN 1
|
||||
#define DEFAULT_KCODE KCODE_NONE
|
||||
!if "$(ENABLE_DEBUG_ENV)" == "yes"
|
||||
#define RUBY_DEBUG_ENV 1
|
||||
!endif
|
||||
#define LOAD_RELATIVE 1
|
||||
#define DLEXT ".so"
|
||||
#define EXECUTABLE_EXTS $(EXECUTABLE_EXTS)
|
||||
|
|
|
@ -27,6 +27,8 @@ if "%1" == "--enable-install-doc" goto :enable-rdoc
|
|||
if "%1" == "--disable-install-doc" goto :disable-rdoc
|
||||
if "%1" == "--enable-win95" goto :enable-win95
|
||||
if "%1" == "--disable-win95" goto :disable-win95
|
||||
if "%1" == "--enable-debug-env" goto :enable-debug-env
|
||||
if "%1" == "--disable-debug-env" goto :disable-debug-env
|
||||
if "%1" == "--extout" goto :extout
|
||||
if "%1" == "--path" goto :path
|
||||
if "%1" == "--with-baseruby" goto :baseruby
|
||||
|
@ -114,6 +116,16 @@ goto :loop
|
|||
echo>>confargs.tmp %1 \
|
||||
shift
|
||||
goto :loop
|
||||
:enable-debug-env
|
||||
echo>> ~tmp~.mak "ENABLE_DEBUG_ENV=yes" \
|
||||
echo>>confargs.tmp %1 \
|
||||
shift
|
||||
goto :loop
|
||||
:disable-debug-env
|
||||
echo>> ~tmp~.mak "ENABLE_DEBUG_ENV=no" \
|
||||
echo>>confargs.tmp %1 \
|
||||
shift
|
||||
goto :loop
|
||||
:ntver
|
||||
echo>> ~tmp~.mak "NTVER=%2" \
|
||||
echo>>confargs.tmp %1=%2 \
|
||||
|
|
Loading…
Reference in a new issue