From: Jean-Marc Lasgouttes Date: Mon, 15 Jul 2002 11:40:21 +0000 (+0000) Subject: fix cygwin detection X-Git-Tag: 1.6.10~18868 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8308301d0566025a5199a4beb21b84c0a90717e5;p=features.git fix cygwin detection git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4639 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 6d6cc37791..6d75616a2d 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-12 Angus Leeming * lyxpreview2ppm.sh: use the pnmraw device in preference to pnm. diff --git a/lib/configure.m4 b/lib/configure.m4 index 1675d00730..25d8440d93 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 \