Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Molaro <lupus@oddwiz.org>2003-01-15 18:05:13 +0300
committerPaolo Molaro <lupus@oddwiz.org>2003-01-15 18:05:13 +0300
commite8db8da7ba126b5050888b0a1ddee509e6a10b53 (patch)
tree32b33197b6e5afc0ebe414b72e6cc499355156e3 /scripts
parenta06259edc852c3603e51e3667c44cc5c8330791c (diff)
Wed Jan 15 16:02:34 CET 2003 Paolo Molaro <lupus@ximian.com>
Define the correct runtime depending on the availability of the jit (from Benjamin Reed). svn path=/trunk/mono/; revision=10541
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.am8
-rw-r--r--scripts/mcs.in2
2 files changed, 8 insertions, 2 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index e43f643e445..83adcebc03f 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -4,6 +4,12 @@ bin_SCRIPTS = mcs
CLEANFILES = mcs
+if X86
+MONO_INTERP = mono
+else
+MONO_INTERP = mint
+endif
+
mcs: mcs.in
- sed -e 's^\@bindir\@^$(bindir)^g' < $(srcdir)/mcs.in > mcs.tmp \
+ sed -e 's^\@bindir\@^$(bindir)^g' -e 's^\@mono_interp\@^$(MONO_INTERP)^g' < $(srcdir)/mcs.in > mcs.tmp \
&& mv mcs.tmp mcs
diff --git a/scripts/mcs.in b/scripts/mcs.in
index 2528d81d52d..87f82dfeee1 100644
--- a/scripts/mcs.in
+++ b/scripts/mcs.in
@@ -1,2 +1,2 @@
#!/bin/sh
-@bindir@/mono @bindir@/mcs.exe "$@"
+@bindir@/@mono_interp@ @bindir@/mcs.exe "$@"