>>>>> "Soeren" == Soeren Pietsch <[EMAIL PROTECTED]> writes:

>>>>>>> "Soeren" == Soeren Pietsch <[EMAIL PROTECTED]> writes:
Soeren> Hi, I had a bit of a problem with the lyx configure script on
Soeren> a cygwin environment. The following check only works if the sh
Soeren> shell points to the bash shell.

Soeren> ### Adjust PATH for Win32 (Cygwin) if test "x$OSTYPE" =
Soeren> xcygwin; then echo "configure: cygwin detected; path
Soeren> correction" srcdir=`cygpath -w "${srcdir}" | tr '\\\\' /` echo
Soeren> "srcdir=${srcdir}" fi

Soeren> To my knowledge there is no OSTYPE defined on the sh shell
Soeren> that is something specific to bash. Perhaps that should be
Soeren> mentioned somewhere. Alternatively the following check should
Soeren> be sufficient for both bash and sh. if test -f
Soeren> /bin/cygwin1.dll; then

Jean-Marc> What does "uname -s" return? I guess this is the most
Jean-Marc> usable information.

Soeren> CYGWIN_NT-5.0

Soeren> I think uname -s should work.

Can you come up with a patch?

JMarc

Reply via email to