diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-23 06:41:22 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-23 06:41:22 +0000 |
| commit | e633201bad09dfc9bd34c0dd5aa7fdb9fcb80178 (patch) | |
| tree | 67ab16e42050bfcabecbbfa8be63132bbf2038c8 /bcc32 | |
| parent | 6cedeef9dc39fdbde93367c57adbb69a6630b5db (diff) | |
| download | ruby-e633201bad09dfc9bd34c0dd5aa7fdb9fcb80178.tar.gz ruby-e633201bad09dfc9bd34c0dd5aa7fdb9fcb80178.tar.xz ruby-e633201bad09dfc9bd34c0dd5aa7fdb9fcb80178.zip | |
* Makefile.in, common.mk, configure.in, */{Makefile.sub, configure.bat,
setup.mak}: add --with-baseruby configure option.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bcc32')
| -rw-r--r-- | bcc32/Makefile.sub | 3 | ||||
| -rwxr-xr-x | bcc32/configure.bat | 7 | ||||
| -rw-r--r-- | bcc32/setup.mak | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub index baff3e394..8f32b4c93 100644 --- a/bcc32/Makefile.sub +++ b/bcc32/Makefile.sub @@ -55,6 +55,9 @@ YFLAGS = -o y.tab.c !ifndef AR AR = tlib !endif +!ifndef BASERUBY +BASERUBY = ruby +!endif PURIFY = AUTOCONF = autoconf diff --git a/bcc32/configure.bat b/bcc32/configure.bat index 6e3056ff3..6e32df6fc 100755 --- a/bcc32/configure.bat +++ b/bcc32/configure.bat @@ -21,6 +21,7 @@ if "%1" == "--program-name" goto :progname if "%1" == "--enable-install-doc" goto :enable-rdoc
if "%1" == "--disable-install-doc" goto :disable-rdoc
if "%1" == "--extout" goto :extout
+if "%1" == "--with-baseruby" goto :baseruby
if "%1" == "-h" goto :help
if "%1" == "--help" goto :help
echo>> ~tmp~.mak "%1" \
@@ -73,6 +74,11 @@ goto :loop shift
shift
goto :loop
+:baseruby
+ echo>> ~tmp~.mak -D"BASERUBY=%2" \
+ shift
+ shift
+goto :loop
:help
echo Configuration:
echo --help display this help
@@ -82,6 +88,7 @@ goto :loop echo System types:
echo --target=TARGET configure for TARGET [i386-bccwin32]
echo Optional Package:
+ echo --with-baseruby=RUBY use RUBY as baseruby [ruby]
echo --with-static-linked-ext link external modules statically
echo --disable-install-doc do not install rdoc indexes during install
del ~tmp~.mak
diff --git a/bcc32/setup.mak b/bcc32/setup.mak index 8f73b4f9f..d52fc4b95 100644 --- a/bcc32/setup.mak +++ b/bcc32/setup.mak @@ -53,6 +53,11 @@ $(BANG)ifndef EXTOUT EXTOUT = $(EXTOUT) $(BANG)endif !endif +!if defined(BASERUBY) +$(BANG)ifndef BASERUBY +BASERUBY = $(BASERUBY) +$(BANG)endif +!endif | @type > usebormm.bat &&| @echo off |
