]> git.lyx.org Git - lyx.git/blobdiff - lib/configure.m4
Remove the OS/2 relic lib/configure.cmd.
[lyx.git] / lib / configure.m4
index e1ed8e5f2111fe5b43b4a66555bff3f684ced574..d47a25bf62b52912187c05c7cf8efe4de58cada8 100644 (file)
@@ -219,19 +219,6 @@ else
   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
@@ -267,7 +254,7 @@ SEARCH_PROG([for a raster image viewer], RASTERIMAGE_VIEWER, xv kview gimp)
 
 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}
@@ -536,11 +523,6 @@ changequote(,)dnl
 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"