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:
authorRaja R Harinath <harinath@hurrynot.org>2005-12-18 06:37:32 +0300
committerRaja R Harinath <harinath@hurrynot.org>2005-12-18 06:37:32 +0300
commit906448f1d3f4ee6d197f0e61178a6e39455b670f (patch)
tree140df49632e4101896921f16f4635b89a0c43a32 /configure.in
parentf6ce484bf8bf689d0f66f5b3991c69814d348971 (diff)
* configure.in (config.make): Don't blindly copy over $INSTALL,
since it can be relative to the mono tree. Use the same trick as ac_INSTALL, but against an absolute path. svn path=/trunk/mono/; revision=54570
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 8fc912a7efd..d49badeccb7 100644
--- a/configure.in
+++ b/configure.in
@@ -1851,7 +1851,13 @@ fi
echo 'IL_FLAGS = /debug' >> $srcdir/$mcsdir/build/config.make
echo "RUNTIME = $mono_build_root/runtime/mono-wrapper" >> $srcdir/$mcsdir/build/config.make
echo "ILDISASM = $mono_build_root/runtime/monodis-wrapper" >> $srcdir/$mcsdir/build/config.make
- echo "INSTALL = $INSTALL" >> $srcdir/$mcsdir/build/config.make
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) mcs_INSTALL=$INSTALL ;;
+ *) mcs_INSTALL=$mono_build_root/$INSTALL ;;
+ esac
+
+ echo "INSTALL = $mcs_INSTALL" >> $srcdir/$mcsdir/build/config.make
export VERSION
[myver=$($AWK 'BEGIN {