From 1155a7735a273c13456876e82ac15f8ad98028a0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 21 Jun 2008 10:53:58 +0000 Subject: [PATCH] Exclude calls to autoheader and makeinfo from the automake "maintainer mode" check (filter some false positives). Thanks to Flameeyes. svn path=/main/trunk/; revision=10752 --- pym/portage/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index b3c37d60d..3741685d8 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -4197,9 +4197,12 @@ def spawnebuild(mydo,actionmap,mysettings,debug,alwaysdep=0,logfile=None): configure_opts_warn_re = re.compile( r'^configure: WARNING: Unrecognized options: .*') am_maintainer_mode_re = re.compile(r'.*/missing --run .*') + am_maintainer_mode_exclude_re = \ + re.compile(r'.*/missing --run (autoheader|makeinfo)') try: for line in f: - if am_maintainer_mode_re.search(line) is not None: + if am_maintainer_mode_re.search(line) is not None and \ + am_maintainer_mode_exclude_re.search(line) is None: am_maintainer_mode.append(line.rstrip("\n")) if configure_opts_warn_re.match(line) is not None: configure_opts_warn.append(line.rstrip("\n")) -- 2.26.2