configure.py: fix major part of bug #8477

configure.py needn't to hide the status of the LaTeX package checking
This commit is contained in:
Uwe Stöhr 2012-12-31 18:37:45 +01:00
parent 8f2c474234
commit ec8ae50f54

View File

@ -1174,8 +1174,11 @@ def checkLatexConfig(check_config, bool_docbook):
#
# we have chklayouts.tex, then process it
ret = 1
latex_out = cmdOutput(LATEX + ' wrap_chkconfig.ltx')
for line in latex_out.splitlines():
latex_out = os.popen(LATEX + ' wrap_chkconfig.ltx')
while True:
line = latex_out.readline()
if not line:
break;
if re.match('^\+', line):
logger.info(line.strip())
# return None if the command succeeds