X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fconfigure.m4;h=6cfa32a414bbb2f687d471e792ba447f465f0109;hb=ce5660a75cfebdbbd4ad5913f871c57b2f9b1c9d;hp=1e564869ef09b4f8be53fec830efbfb26266fb95;hpb=d467c47d318e04350eefc23711c97b089a0c7621;p=lyx.git diff --git a/lib/configure.m4 b/lib/configure.m4 index 1e564869ef..6cfa32a414 100644 --- a/lib/configure.m4 +++ b/lib/configure.m4 @@ -148,6 +148,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 \ @@ -219,7 +225,7 @@ SEARCH_PROG([for a Postscript previewer],GHOSTVIEW,gv ghostview) SEARCH_PROG([for a PDF preview],PDF_VIEWER,acroread gv ghostview xpdf) # Search something to preview dvi -SEARCH_PROG([for a DVI previewer],DVI_VIEWER, xdvi) +SEARCH_PROG([for a DVI previewer],DVI_VIEWER, xdvi windvi yap) # Search something to preview html SEARCH_PROG([for a HTML previewer],HTML_VIEWER, netscape) @@ -232,6 +238,10 @@ test $ps_to_pdf_command = "ps2pdf" && ps_to_pdf_command="ps2pdf \$\$i" SEARCH_PROG([for a DVI to PS converter],dvi_to_ps_command,dvips) test $dvi_to_ps_command = "dvips" && dvi_to_ps_command="dvips -o \$\$o \$\$i" +# Search for a program to convert dvi to pdf +SEARCH_PROG([for a DVI to PDF converter],dvi_to_pdf_command,dvipdfm) +test $dvi_to_pdf_command = "dvipdfm" && dvi_to_pdf_command="dvipdfm \$\$i" + # Search a *roff program (used to translate tables in ASCII export) SEARCH_PROG([for a *roff formatter],ROFF,groff nroff) ascii_roff_command=$ROFF @@ -407,6 +417,7 @@ cat >lyxrc.defaults <lyxrc.defaults <