mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* Makefile.in, common.mk, configure.in, */{Makefile.sub, configure.bat,
setup.mak}: add --with-baseruby configure option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
06720d45c7
commit
b696420526
14 changed files with 68 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Jan 23 15:39:25 2007 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* Makefile.in, common.mk, configure.in, */{Makefile.sub, configure.bat,
|
||||||
|
setup.mak}: add --with-baseruby configure option.
|
||||||
|
|
||||||
Mon Jan 22 14:57:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Mon Jan 22 14:57:25 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* ext/socket/socket.c: fix errors in socket sample code.
|
* ext/socket/socket.c: fix errors in socket sample code.
|
||||||
|
|
|
@ -12,6 +12,7 @@ PURIFY =
|
||||||
AUTOCONF = autoconf
|
AUTOCONF = autoconf
|
||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
MKFILES = @MAKEFILES@
|
MKFILES = @MAKEFILES@
|
||||||
|
BASERUBY = @BASERUBY@
|
||||||
|
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
exec_prefix = @exec_prefix@
|
exec_prefix = @exec_prefix@
|
||||||
|
|
|
@ -55,6 +55,9 @@ YFLAGS = -o y.tab.c
|
||||||
!ifndef AR
|
!ifndef AR
|
||||||
AR = tlib
|
AR = tlib
|
||||||
!endif
|
!endif
|
||||||
|
!ifndef BASERUBY
|
||||||
|
BASERUBY = ruby
|
||||||
|
!endif
|
||||||
|
|
||||||
PURIFY =
|
PURIFY =
|
||||||
AUTOCONF = autoconf
|
AUTOCONF = autoconf
|
||||||
|
|
|
@ -21,6 +21,7 @@ if "%1" == "--program-name" goto :progname
|
||||||
if "%1" == "--enable-install-doc" goto :enable-rdoc
|
if "%1" == "--enable-install-doc" goto :enable-rdoc
|
||||||
if "%1" == "--disable-install-doc" goto :disable-rdoc
|
if "%1" == "--disable-install-doc" goto :disable-rdoc
|
||||||
if "%1" == "--extout" goto :extout
|
if "%1" == "--extout" goto :extout
|
||||||
|
if "%1" == "--with-baseruby" goto :baseruby
|
||||||
if "%1" == "-h" goto :help
|
if "%1" == "-h" goto :help
|
||||||
if "%1" == "--help" goto :help
|
if "%1" == "--help" goto :help
|
||||||
echo>> ~tmp~.mak "%1" \
|
echo>> ~tmp~.mak "%1" \
|
||||||
|
@ -73,6 +74,11 @@ goto :loop
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
goto :loop
|
goto :loop
|
||||||
|
:baseruby
|
||||||
|
echo>> ~tmp~.mak -D"BASERUBY=%2" \
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
goto :loop
|
||||||
:help
|
:help
|
||||||
echo Configuration:
|
echo Configuration:
|
||||||
echo --help display this help
|
echo --help display this help
|
||||||
|
@ -82,6 +88,7 @@ goto :loop
|
||||||
echo System types:
|
echo System types:
|
||||||
echo --target=TARGET configure for TARGET [i386-bccwin32]
|
echo --target=TARGET configure for TARGET [i386-bccwin32]
|
||||||
echo Optional Package:
|
echo Optional Package:
|
||||||
|
echo --with-baseruby=RUBY use RUBY as baseruby [ruby]
|
||||||
echo --with-static-linked-ext link external modules statically
|
echo --with-static-linked-ext link external modules statically
|
||||||
echo --disable-install-doc do not install rdoc indexes during install
|
echo --disable-install-doc do not install rdoc indexes during install
|
||||||
del ~tmp~.mak
|
del ~tmp~.mak
|
||||||
|
|
|
@ -53,6 +53,11 @@ $(BANG)ifndef EXTOUT
|
||||||
EXTOUT = $(EXTOUT)
|
EXTOUT = $(EXTOUT)
|
||||||
$(BANG)endif
|
$(BANG)endif
|
||||||
!endif
|
!endif
|
||||||
|
!if defined(BASERUBY)
|
||||||
|
$(BANG)ifndef BASERUBY
|
||||||
|
BASERUBY = $(BASERUBY)
|
||||||
|
$(BANG)endif
|
||||||
|
!endif
|
||||||
|
|
|
|
||||||
@type > usebormm.bat &&|
|
@type > usebormm.bat &&|
|
||||||
@echo off
|
@echo off
|
||||||
|
|
|
@ -524,7 +524,6 @@ debug.$(OBJEXT): {$(VPATH)}debug.h
|
||||||
blockinlining.$(OBJEXT): {$(VPATH)}yarv.h {$(VPATH)}yarvcore.h vm_opts.h
|
blockinlining.$(OBJEXT): {$(VPATH)}yarv.h {$(VPATH)}yarvcore.h vm_opts.h
|
||||||
|
|
||||||
|
|
||||||
BASERUBY = ruby
|
|
||||||
MATZRUBY = $(MATZRUBYDIR)ruby
|
MATZRUBY = $(MATZRUBYDIR)ruby
|
||||||
|
|
||||||
INSNS2VMOPT = $(CPPFLAGS) --srcdir=$(srcdir)
|
INSNS2VMOPT = $(CPPFLAGS) --srcdir=$(srcdir)
|
||||||
|
|
17
configure.in
17
configure.in
|
@ -1606,6 +1606,23 @@ if test -z "$MANTYPE"; then
|
||||||
fi
|
fi
|
||||||
AC_SUBST(MANTYPE)
|
AC_SUBST(MANTYPE)
|
||||||
|
|
||||||
|
AC_ARG_WITH(baseruby,
|
||||||
|
[ --with-baseruby=RUBY use RUBY as baseruby; RUBY is the pathname of ruby],
|
||||||
|
[
|
||||||
|
case "$withval" in
|
||||||
|
*ruby*)
|
||||||
|
BASERUBY=$withval
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
AC_MSG_ERROR(need ruby)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
],
|
||||||
|
[
|
||||||
|
BASERUBY="ruby"
|
||||||
|
])
|
||||||
|
AC_SUBST(BASERUBY)
|
||||||
|
|
||||||
if test -f config.h && tr -d '\015' < confdefs.h | cmp -s config.h -; then
|
if test -f config.h && tr -d '\015' < confdefs.h | cmp -s config.h -; then
|
||||||
echo "config.h unchanged"
|
echo "config.h unchanged"
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#define RUBY_VERSION "1.9.0"
|
#define RUBY_VERSION "1.9.0"
|
||||||
#define RUBY_RELEASE_DATE "2007-01-22"
|
#define RUBY_RELEASE_DATE "2007-01-23"
|
||||||
#define RUBY_VERSION_CODE 190
|
#define RUBY_VERSION_CODE 190
|
||||||
#define RUBY_RELEASE_CODE 20070122
|
#define RUBY_RELEASE_CODE 20070123
|
||||||
#define RUBY_PATCHLEVEL 0
|
#define RUBY_PATCHLEVEL 0
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#define RUBY_VERSION_TEENY 0
|
#define RUBY_VERSION_TEENY 0
|
||||||
#define RUBY_RELEASE_YEAR 2007
|
#define RUBY_RELEASE_YEAR 2007
|
||||||
#define RUBY_RELEASE_MONTH 1
|
#define RUBY_RELEASE_MONTH 1
|
||||||
#define RUBY_RELEASE_DAY 22
|
#define RUBY_RELEASE_DAY 23
|
||||||
|
|
||||||
RUBY_EXTERN const char ruby_version[];
|
RUBY_EXTERN const char ruby_version[];
|
||||||
RUBY_EXTERN const char ruby_release_date[];
|
RUBY_EXTERN const char ruby_release_date[];
|
||||||
|
|
|
@ -51,6 +51,9 @@ AR = lib -nologo
|
||||||
PURIFY =
|
PURIFY =
|
||||||
AUTOCONF = autoconf
|
AUTOCONF = autoconf
|
||||||
RM = $(COMSPEC) /C $(srcdir:/=\)\win32\rm.bat
|
RM = $(COMSPEC) /C $(srcdir:/=\)\win32\rm.bat
|
||||||
|
!if !defined(BASERUBY)
|
||||||
|
BASERUBY = ruby
|
||||||
|
!endif
|
||||||
|
|
||||||
!if !defined(PROCESSOR_ARCHITECTURE)
|
!if !defined(PROCESSOR_ARCHITECTURE)
|
||||||
PROCESSOR_ARCHITECTURE = x86
|
PROCESSOR_ARCHITECTURE = x86
|
||||||
|
|
|
@ -26,6 +26,7 @@ if "%1" == "--enable-install-doc" goto :enable-rdoc
|
||||||
if "%1" == "--disable-install-doc" goto :disable-rdoc
|
if "%1" == "--disable-install-doc" goto :disable-rdoc
|
||||||
if "%1" == "--extout" goto :extout
|
if "%1" == "--extout" goto :extout
|
||||||
if "%1" == "--path" goto :path
|
if "%1" == "--path" goto :path
|
||||||
|
if "%1" == "--with-baseruby" goto :baseruby
|
||||||
if "%1" == "-h" goto :help
|
if "%1" == "-h" goto :help
|
||||||
if "%1" == "--help" goto :help
|
if "%1" == "--help" goto :help
|
||||||
echo>>confargs.tmp %1 \
|
echo>>confargs.tmp %1 \
|
||||||
|
@ -94,6 +95,12 @@ goto :loop
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
goto :loop
|
goto :loop
|
||||||
|
:baseruby
|
||||||
|
echo>> ~tmp~.mak "BASERUBY=%2" \
|
||||||
|
echo>>confargs.tmp %1=%2 \
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
goto :loop
|
||||||
:help
|
:help
|
||||||
echo Configuration:
|
echo Configuration:
|
||||||
echo --help display this help
|
echo --help display this help
|
||||||
|
@ -103,6 +110,7 @@ goto :loop
|
||||||
echo System types:
|
echo System types:
|
||||||
echo --target=TARGET configure for TARGET [i386-mswin32]
|
echo --target=TARGET configure for TARGET [i386-mswin32]
|
||||||
echo Optional Package:
|
echo Optional Package:
|
||||||
|
echo --with-baseruby=RUBY use RUBY as baseruby [ruby]
|
||||||
echo --with-static-linked-ext link external modules statically
|
echo --with-static-linked-ext link external modules statically
|
||||||
echo --disable-install-doc do not install rdoc indexes during install
|
echo --disable-install-doc do not install rdoc indexes during install
|
||||||
del *.tmp
|
del *.tmp
|
||||||
|
|
|
@ -47,6 +47,9 @@ RDOCTARGET = $(RDOCTARGET)
|
||||||
!if defined(EXTOUT)
|
!if defined(EXTOUT)
|
||||||
EXTOUT = $(EXTOUT)
|
EXTOUT = $(EXTOUT)
|
||||||
!endif
|
!endif
|
||||||
|
!if defined(BASERUBY)
|
||||||
|
BASERUBY = $(BASERUBY)
|
||||||
|
!endif
|
||||||
<<
|
<<
|
||||||
|
|
||||||
-system-vars-: -osname- -runtime-
|
-system-vars-: -osname- -runtime-
|
||||||
|
|
|
@ -45,6 +45,9 @@ AR = lib -nologo
|
||||||
PURIFY =
|
PURIFY =
|
||||||
AUTOCONF = autoconf
|
AUTOCONF = autoconf
|
||||||
RM = $(srcdir)\win32\rm.bat
|
RM = $(srcdir)\win32\rm.bat
|
||||||
|
!if !defined(BASERUBY)
|
||||||
|
BASERUBY = ruby
|
||||||
|
!endif
|
||||||
|
|
||||||
!if !defined(PROCESSOR_ARCHITECTURE)
|
!if !defined(PROCESSOR_ARCHITECTURE)
|
||||||
PROCESSOR_ARCHITECTURE = x86
|
PROCESSOR_ARCHITECTURE = x86
|
||||||
|
|
|
@ -21,6 +21,7 @@ if "%1" == "--program-name" goto :progname
|
||||||
if "%1" == "--enable-install-doc" goto :enable-rdoc
|
if "%1" == "--enable-install-doc" goto :enable-rdoc
|
||||||
if "%1" == "--disable-install-doc" goto :disable-rdoc
|
if "%1" == "--disable-install-doc" goto :disable-rdoc
|
||||||
if "%1" == "--extout" goto :extout
|
if "%1" == "--extout" goto :extout
|
||||||
|
if "%1" == "--with-baseruby" goto :baseruby
|
||||||
if "%1" == "-h" goto :help
|
if "%1" == "-h" goto :help
|
||||||
if "%1" == "--help" goto :help
|
if "%1" == "--help" goto :help
|
||||||
if "%1" == "CC" goto :define
|
if "%1" == "CC" goto :define
|
||||||
|
@ -83,6 +84,11 @@ goto :loop
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
goto :loop
|
goto :loop
|
||||||
|
:baseruby
|
||||||
|
echo>> ~tmp~.mak "BASERUBY=%2" \
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
goto :loop
|
||||||
:help
|
:help
|
||||||
echo Configuration:
|
echo Configuration:
|
||||||
echo --help display this help
|
echo --help display this help
|
||||||
|
@ -92,6 +98,7 @@ goto :loop
|
||||||
echo System types:
|
echo System types:
|
||||||
echo --target=TARGET configure for TARGET [i386-mswin32]
|
echo --target=TARGET configure for TARGET [i386-mswin32]
|
||||||
echo Optional Package:
|
echo Optional Package:
|
||||||
|
echo --with-baseruby=RUBY use RUBY as baseruby [ruby]
|
||||||
echo --with-static-linked-ext link external modules statically
|
echo --with-static-linked-ext link external modules statically
|
||||||
echo --enable-install-doc install rdoc indexes during install
|
echo --enable-install-doc install rdoc indexes during install
|
||||||
del ~tmp~.mak
|
del ~tmp~.mak
|
||||||
|
|
|
@ -58,6 +58,9 @@ RDOCTARGET = $(RDOCTARGET)
|
||||||
!if defined(EXTOUT)
|
!if defined(EXTOUT)
|
||||||
EXTOUT = $(EXTOUT)
|
EXTOUT = $(EXTOUT)
|
||||||
!endif
|
!endif
|
||||||
|
!if defined(BASERUBY)
|
||||||
|
BASERUBY = $(BASERUBY)
|
||||||
|
!endif
|
||||||
<<
|
<<
|
||||||
@$(CPP) -I$(srcdir) -DRUBY_EXTERN="//" <<"Creating $(MAKEFILE)" >> $(MAKEFILE)
|
@$(CPP) -I$(srcdir) -DRUBY_EXTERN="//" <<"Creating $(MAKEFILE)" >> $(MAKEFILE)
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
Loading…
Add table
Reference in a new issue