From ec8ae50f54013892f68c663703558ebe862e6445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Mon, 31 Dec 2012 18:37:45 +0100 Subject: [PATCH] configure.py: fix major part of bug #8477 configure.py needn't to hide the status of the LaTeX package checking --- lib/configure.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/configure.py b/lib/configure.py index a1fa57a800..c1584e5616 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -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