in tsqa/environment.py [0:0]
def autoreconf(self):
'''
Autoreconf to make the configure script
'''
kwargs = {
'cwd': self.source_dir,
'env': self.default_env,
'stdout': subprocess.PIPE,
'stderr': subprocess.PIPE
}
if log.isEnabledFor(logging.DEBUG):
# if this is debug, lets not capture the output and let it go to
# stdout and stderr
kwargs['stdout'] = None
kwargs['stderr'] = None
tsqa.utils.run_sync_command(['autoreconf', '-if'], **kwargs)