Subject: Configure failure on cygwin/clisp - with patch
From: Billinghurst, David (CALCRTS)
Date: Sat, 14 Feb 2004 21:23:39 +1100
The recent configure changes don't quite work for cygwin/clisp.
The assumption is that the default clisp runtime is
*lib-directory*/base/lisp.run on unix,
*lib-directory*\\lisp.exe on windows
but on cygwin it is
*lib-directory*/base/lisp.exe
The following patch to configure.in does the job. I can commit it
if it meets with your approval, ot test any alternative.
--- configure.in.~1.43.~ 2004-02-09 12:14:37.000000000 +1100
+++ configure.in 2004-02-14 13:10:36.015139200 +1100
@@ -7,12 +7,15 @@
case "$host" in
*mingw*)
win32=true
+ mingw=true
;;
*cygwin*)
win32=true
+ mingw=false
;;
*)
win32=false
+ mingw=false
esac
AC_SUBST(win32)
AM_CONDITIONAL(WIN32, test x$win32 = xtrue)
@@ -322,7 +325,7 @@
if test x"${clisp}" = xtrue; then
if test x"${CLISP_RUNTIME_PATH}" = x"" ; then
- if test x"${win32}" = xtrue ; then
+ if test x"${mingw}" = xtrue ; then
CLISP_RUNTIME_PATH=`${CLISP_NAME} -norc -q -x "(format nil \"~a${CLISP_RUNTIME}\" (namestring *lib-directory*))"|sed 's/\"\\(.*\\)\"/\\1/'`
else
CLISP_RUNTIME_PATH=`${CLISP_NAME} -norc -q -x "(format nil \"~abase/${CLISP_RUNTIME}\" (namestring *lib-directory*))"|sed 's/\"\\(.*\\)\"/\\1/'`