fix cygwin detection

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4639 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-07-15 11:40:21 +00:00
parent 16b928088f
commit 8308301d05
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2002-07-15 Soeren Pietsch <SPietsch@gmx.de>
* lib/configure.m4: fix the detection of cygwin when the shell is
not bash
2002-07-12 Angus Leeming <leeming@lyx.org>
* lyxpreview2ppm.sh: use the pnmraw device in preference to pnm.

View File

@ -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 \