From: Zac Medico Date: Thu, 31 Jan 2008 09:32:13 +0000 (-0000) Subject: Make the autotools.eclass functions exempt from the autotools X-Git-Tag: v2.1.4.1~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7b302c493eff70b0dd981076bdc970cb1aab837d;p=portage.git Make the autotools.eclass functions exempt from the autotools QA Notice. (trunk r9249) svn path=/main/branches/2.1.2/; revision=9250 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 8bcb3dd2b..61799ad88 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1608,8 +1608,13 @@ if [[ -n ${QA_INTERCEPTORS} ]] ; then }" elif hasq ${BIN} autoconf automake aclocal libtoolize ; then FUNC_SRC="${BIN}() { - eqawarn \"QA Notice: '${BIN}' called by \${FUNCNAME[1]}: \${CATEGORY}/\${PF}\" - eqawarn \"Use autotools.eclass instead of calling '${BIN}' directly.\" + if ! hasq \${FUNCNAME[1]} eautoreconf eaclocal _elibtoolize \\ + eautoheader eautoconf eautomake autotools_run_tool \\ + autotools_check_macro autotools_get_subdirs \\ + autotools_get_auxdir ; then + eqawarn \"QA Notice: '${BIN}' called by \${FUNCNAME[1]}: \${CATEGORY}/\${PF}\" + eqawarn \"Use autotools.eclass instead of calling '${BIN}' directly.\" + fi ${BODY} }" else