lib/configure.py: do not wait till the end of 'latex wrap_chkconfig.ltx' to display latex class availability info

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14501 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2006-07-27 14:18:47 +00:00
parent c8e5ee867f
commit 3181082c31

View 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