X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fconfigure;h=3361f4277640623afee4b7235c8f6fb885bcd7e3;hb=ce5660a75cfebdbbd4ad5913f871c57b2f9b1c9d;hp=a7c567b32f43b206009b3d1115d1699a1f89da70;hpb=5ae1d38208178163819f352161013309a48974dd;p=lyx.git diff --git a/lib/configure b/lib/configure index a7c567b32f..3361f42776 100755 --- a/lib/configure +++ b/lib/configure @@ -72,6 +72,12 @@ if test ! -r ${srcdir}/chkconfig.ltx ; then exit 1 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 #### Create the build directories if necessary for dir in bind clipart doc examples images kbd layouts reLyX \ @@ -522,9 +528,9 @@ fi # Search something to preview dvi echo $ac_n "checking for a DVI previewer""... $ac_c" -echo "$ac_t""(xdvi)" +echo "$ac_t""(xdvi windvi yap)" DVI_VIEWER= -for ac_prog in xdvi +for ac_prog in xdvi windvi yap do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog ; ac_word=$2