summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-12-14 00:33:10 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-12-14 00:33:10 +0000
commit6dd26c6ae4b024535017fe9fd620429c1fc593e4 (patch)
treebc136f9ba6fd27b4562bec80d5f63da3c856c8c5 /eclass
parentVersion bump for 1.6 JRE. (diff)
downloadgentoo-2-6dd26c6ae4b024535017fe9fd620429c1fc593e4.tar.gz
gentoo-2-6dd26c6ae4b024535017fe9fd620429c1fc593e4.tar.bz2
gentoo-2-6dd26c6ae4b024535017fe9fd620429c1fc593e4.zip
As autoheader is as bugged a cellphone, don't fail even if it fails... it treats warnings as error even if you tell him not to.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 9c4aadd24434..26b6b7192321 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.56 2006/11/01 10:58:46 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.57 2006/12/14 00:33:10 flameeyes Exp $
#
# Author: Diego Pettenò <flameeyes@gentoo.org>
# Enhancements: Martin Schlemmer <azarah@gentoo.org>
@@ -143,7 +143,7 @@ eautoheader() {
# Check if we should run autoheader
[[ -n $(autotools_check_macro "AC_CONFIG_HEADERS") ]] || return 0
autotools_set_versions
- autotools_run_tool autoheader "$@"
+ NOFAIL=1 autotools_run_tool autoheader "$@"
}
eautoconf() {
@@ -231,7 +231,7 @@ autotools_run_tool() {
ris=$?
eend ${ris}
- if [[ ${ris} != 0 ]]; then
+ if [[ ${ris} != 0 && ${NO_FAIL} != 1 ]]; then
echo
eerror "Failed Running $1 !"
eerror