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 | b69642052686971d0694732ee02d742f11982deb (patch) | |
tree | 67ab16e42050bfcabecbbfa8be63132bbf2038c8 /wince | |
parent | 06720d45c74de5b0a000ebb04148623e4bb03fc2 (diff) | |
download | ruby-b69642052686971d0694732ee02d742f11982deb.tar.gz |
* 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
Diffstat (limited to 'wince')
-rw-r--r-- | wince/Makefile.sub | 3 | ||||
-rwxr-xr-x | wince/configure.bat | 7 | ||||
-rw-r--r-- | wince/setup.mak | 3 |
3 files changed, 13 insertions, 0 deletions
diff --git a/wince/Makefile.sub b/wince/Makefile.sub index fff533f1e1..5f9cffd749 100644 --- a/wince/Makefile.sub +++ b/wince/Makefile.sub @@ -45,6 +45,9 @@ AR = lib -nologo PURIFY = AUTOCONF = autoconf RM = $(srcdir)\win32\rm.bat +!if !defined(BASERUBY) +BASERUBY = ruby +!endif !if !defined(PROCESSOR_ARCHITECTURE) PROCESSOR_ARCHITECTURE = x86 diff --git a/wince/configure.bat b/wince/configure.bat index 2c4a88fa16..dadfb2fa83 100755 --- a/wince/configure.bat +++ b/wince/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
if "%1" == "CC" goto :define
@@ -83,6 +84,11 @@ goto :loop shift
shift
goto :loop
+:baseruby
+ echo>> ~tmp~.mak "BASERUBY=%2" \
+ shift
+ shift
+goto :loop
:help
echo Configuration:
echo --help display this help
@@ -92,6 +98,7 @@ goto :loop echo System types:
echo --target=TARGET configure for TARGET [i386-mswin32]
echo Optional Package:
+ echo --with-baseruby=RUBY use RUBY as baseruby [ruby]
echo --with-static-linked-ext link external modules statically
echo --enable-install-doc install rdoc indexes during install
del ~tmp~.mak
diff --git a/wince/setup.mak b/wince/setup.mak index d2dbad2317..838441e669 100644 --- a/wince/setup.mak +++ b/wince/setup.mak @@ -58,6 +58,9 @@ RDOCTARGET = $(RDOCTARGET) !if defined(EXTOUT) EXTOUT = $(EXTOUT) !endif +!if defined(BASERUBY) +BASERUBY = $(BASERUBY) +!endif << @$(CPP) -I$(srcdir) -DRUBY_EXTERN="//" <<"Creating $(MAKEFILE)" >> $(MAKEFILE) #include "version.h" |