LATEX=
ac_result="not useable"
fi
-# Grab the list of languages avaliable to LaTeX by parsing the LaTeX log file, chklatex.log.
-LANGUAGES=`sed -n '/hyphenation patterns/{
-:loop
-/loaded\.$/!{
-$!{
-N
-s/\n//
-s/^.*for\ //
-tloop
-}
-}
-/loaded\.$/p
-}' chklatex.log`
rm -f chklatex.ltx chklatex.log])dnl
dnl
# Search LaTeX2e
SEARCH_PROG([for a raster image editor], RASTERIMAGE_EDITOR, gimp)
-SEARCH_PROG([for a text editor], TEXT_EDITOR, xemacs gvim kedit kwrite kate nedit gedit)
+SEARCH_PROG([for a text editor], TEXT_EDITOR, xemacs gvim kedit kwrite kate nedit gedit notepad)
# Search for an installed reLyX or a ready-to-install one
save_PATH=${PATH}
echo "creating doc/LaTeXConfig.lyx"
echo "s/@chk_linuxdoc@/$chk_linuxdoc/g" >> chkconfig.sed
echo "s/@chk_docbook@/$chk_docbook/g" >> chkconfig.sed
-# Add a line to chkconfig.sed so that the placeholder in
-# LaTeXConfig.lyx.in will be replaced by the list of available
-# languages.
-test "${LANGUAGES}" != "" && \
- echo "s/@chk_languages@/${LANGUAGES}/g" >> chkconfig.sed
sed -f chkconfig.sed "${srcdir}"/doc/LaTeXConfig.lyx.in >doc/LaTeXConfig.lyx
echo "creating $outfile"