aboutsummaryrefslogtreecommitdiffstats
path: root/wince
diff options
context:
space:
mode:
Diffstat (limited to 'wince')
-rw-r--r--wince/Makefile.sub3
-rwxr-xr-xwince/configure.bat7
-rw-r--r--wince/setup.mak3
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"