From 9a39e0d33f98d861644a99f3032da1cdc7ab9210 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 15 Jul 2002 11:41:57 +0000 Subject: [PATCH] fix cygwin detection git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@4640 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/ChangeLog | 5 +++++ lib/configure.m4 | 11 ++++++----- src/ChangeLog | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index bce221eaba..4859924f3f 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2002-07-15 Soeren Pietsch + + * lib/configure.m4: fix the detection of cygwin when the shell is + not bash + 2002-07-10 Andrew Zabolotny * bind/emacs.bind: diff --git a/lib/configure.m4 b/lib/configure.m4 index ecbe17841b..b567087fe1 100644 --- a/lib/configure.m4 +++ b/lib/configure.m4 @@ -164,11 +164,12 @@ if test ! -r ${srcdir}/chkconfig.ltx ; then fi #### Adjust PATH for Win32 (Cygwin) -if test "x$OSTYPE" = xcygwin; then - echo "configure: cygwin detected; path correction" - srcdir=`cygpath -w "${srcdir}" | tr '\\\\' /` - echo "srcdir=${srcdir}" -fi +case `uname -s` in + CYGWIN*) + echo "configure: cygwin detected; path correction" + srcdir=`cygpath -w "${srcdir}" | tr '\\\\' /` + echo "srcdir=${srcdir}" ;; +esac #### Create the build directories if necessary for dir in bind clipart doc examples help images kbd layouts reLyX \ diff --git a/src/ChangeLog b/src/ChangeLog index 9693921e20..351edb9c49 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,4 +1,4 @@ -2002-07-10 Jean-Marc Lasgouttes +2002-07-10 Andrew Zabolotny * minibuffer.C (peek_event): support keypad keys