]> git.lyx.org Git - features.git/commitdiff
lib/configure.py: do not wait till the end of 'latex wrap_chkconfig.ltx' to display...
authorBo Peng <bpeng@lyx.org>
Thu, 27 Jul 2006 14:18:47 +0000 (14:18 +0000)
committerBo Peng <bpeng@lyx.org>
Thu, 27 Jul 2006 14:18:47 +0000 (14:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14501 a592a061-630c-0410-9148-cb99ea01b6c8

lib/configure.py

index 3d59b1cd967abf517e55a75db6e9f2867a31d1bc..84253fa8b80e08e1494463c3c249e99ca637dcb2 100644 (file)
@@ -553,9 +553,14 @@ def checkLatexConfig(check_config, bool_docbook, bool_linuxdoc):
         cl.close()
         #
         # we have chklayouts.tex, then process it
-        for line in cmdOutput(LATEX + ' wrap_chkconfig.ltx').splitlines():
+        fout = os.popen(LATEX + ' wrap_chkconfig.ltx')
+        while True:
+            line = fout.readline()
+            if not line:
+                break;
             if re.match('^\+', line):
-                print line
+                print line,
+        fout.close()
         #
         # currently, values in chhkconfig are only used to set
         # \font_encoding