mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Kayvan's cygwin textex patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7705 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4c6e0fe422
commit
d7e913da9e
@ -1,3 +1,10 @@
|
||||
2003-09-07 Kayvan Sylvan <kayvan@sylvan.com>
|
||||
|
||||
* configure.m4 - Do an additional test in the Cygwin case to
|
||||
see if the path correction is necessary. If running with newer
|
||||
cygwin tetex packages, the path correction actually appears to
|
||||
fail.
|
||||
|
||||
2003-09-05 Johnathan Burchill <jkerrb@shaw.ca>
|
||||
|
||||
* external_templates: Write a message to the latex log file if the
|
||||
|
@ -176,9 +176,22 @@ fi
|
||||
#### Adjust PATH for Win32 (Cygwin)
|
||||
case `uname -s` in
|
||||
CYGWIN*)
|
||||
echo "configure: cygwin detected; path correction"
|
||||
srcdir=`cygpath -w "${srcdir}" | tr '\\\\' /`
|
||||
echo "srcdir=${srcdir}" ;;
|
||||
tmpfname="/tmp/x$$.ltx";
|
||||
echo "\\documentstyle{article}" > $tmpfname
|
||||
echo "\\begin{document}\\end{document}" >> $tmpfname
|
||||
inpname=`cygpath -w $tmpfname | tr '\\\\' /`
|
||||
echo "\\input{$inpname}" > wrap_temp$$.ltx
|
||||
check_err=`latex wrap_temp$$.ltx 2>&1 < /dev/null | grep Error`
|
||||
rm -f wrap_temp$$.* /tmp/x$$.*
|
||||
if [ x"$check_err" = "x" ]
|
||||
then
|
||||
echo "configure: cygwin detected; path correction"
|
||||
srcdir=`cygpath -w "${srcdir}" | tr '\\\\' /`
|
||||
echo "srcdir=${srcdir}"
|
||||
else
|
||||
echo "configure: cygwin detected; path correction is not needed"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
#### Create the build directories if necessary
|
||||
|
Loading…
Reference in New Issue
Block a user