Update of /cvsroot/sbcl/sbcl
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv6939
Modified Files:
version.lisp-expr install.sh
Log Message:
0.9.12.23
install.sh on win32
- installs under c:/Program Files/sbcl, or wherever your Windows
installation believes programs should go
- need to set SBCL_HOME accordingly (e.g. to "c:/Program
Files/sbcl/lib/sbcl") to run it
Index: version.lisp-expr
===================================================================
RCS file: /cvsroot/sbcl/sbcl/version.lisp-expr,v
retrieving revision 1.2818
retrieving revision 1.2819
diff -u -d -r1.2818 -r1.2819
--- version.lisp-expr 13 May 2006 20:02:55 -0000 1.2818
+++ version.lisp-expr 14 May 2006 18:44:01 -0000 1.2819
@@ -17,4 +17,4 @@
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.9.12.22"
+"0.9.12.23"
Index: install.sh
===================================================================
RCS file: /cvsroot/sbcl/sbcl/install.sh,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- install.sh 13 Apr 2006 22:52:55 -0000 1.25
+++ install.sh 14 May 2006 18:44:01 -0000 1.26
@@ -10,7 +10,16 @@
done;
}
-INSTALL_ROOT=${INSTALL_ROOT-/usr/local}
+if [ "$OSTYPE" = "cygwin" -o "$OSTYPE" = "msys" ] ; then
+ DEFAULT_INSTALL_ROOT="$PROGRAMFILES/sbcl"
+ RUNTIME=sbcl.exe
+ OLD_RUNTIME=sbcl_old.exe
+else
+ DEFAULT_INSTALL_ROOT=/usr/local
+ RUNTIME=sbcl
+ OLD_RUNTIME=sbcl.old
+fi
+INSTALL_ROOT=${INSTALL_ROOT-$DEFAULT_INSTALL_ROOT}
MAN_DIR=${MAN_DIR-$INSTALL_ROOT/share/man}
INFO_DIR=${INFO_DIR-$INSTALL_ROOT/share/info}
DOC_DIR=${DOC_DIR-$INSTALL_ROOT/share/doc/sbcl}
@@ -26,7 +35,7 @@
fi
# Before doing anything else, make sure we have an SBCL to install
-if [ -f src/runtime/sbcl ]; then
+if [ -f src/runtime/$RUNTIME ]; then
if [ -f output/sbcl.core ]; then
true
else
@@ -34,7 +43,7 @@
exit 1
fi
else
- echo "src/runtime/sbcl not found, aborting installation."
+ echo "src/runtime/$RUNTIME not found, aborting installation."
exit 1
fi
@@ -48,15 +57,6 @@
$BUILD_ROOT$SBCL_HOME \
$BUILD_ROOT$SBCL_HOME/site-systems
-if [ "$OSTYPE" = "msys" ]
-then
- RUNTIME=sbcl.exe
- OLD_RUNTIME=sbcl_old.exe
-else
- RUNTIME=sbcl
- OLD_RUNTIME=sbcl.old
-fi
-
# move old versions out of the way. Safer than copying: don't want to
# break any running instances that have these files mapped
test -f $BUILD_ROOT$INSTALL_ROOT/bin/$RUNTIME && \
@@ -70,7 +70,7 @@
# installing contrib
-SBCL="`pwd`/src/runtime/sbcl --noinform --core `pwd`/output/sbcl.core --userinit /dev/null --sysinit /dev/null --disable-debugger"
+SBCL="`pwd`/src/runtime/sbcl --noinform --core `pwd`/output/sbcl.core --no-userinit --no-sysinit --disable-debugger"
SBCL_BUILDING_CONTRIB=1
export SBCL SBCL_BUILDING_CONTRIB
@@ -86,7 +86,7 @@
echo
echo "SBCL has been installed:"
-echo " binary $BUILD_ROOT$INSTALL_ROOT/bin/sbcl"
+echo " binary $BUILD_ROOT$INSTALL_ROOT/bin/$RUNTIME"
echo " core and contribs in $BUILD_ROOT$INSTALL_ROOT/lib/sbcl/"
# Installing manual & misc bits of documentation
|