Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o
Cc: mgorny@g.o, multilib@g.o
Subject: Re: [gentoo-dev] [PATCH multilib-build] Add multilib_is_native_abi() helper.
Date: Sat, 29 Jun 2013 19:47:19
Message-Id: 20130629154705.4341dcc5@gentoo.org
In Reply to: [gentoo-dev] [PATCH multilib-build] Add multilib_is_native_abi() helper. by "Michał Górny"
1 On Sat, 29 Jun 2013 10:35:45 +0200
2 Michał Górny <mgorny@g.o> wrote:
3
4 > +# @FUNCTION: multilib_is_native_abi
5 > +# @DESCRIPTION:
6 > +# Determine whether the currently built ABI is the profile native.
7 > +# Return true status (0) if that is true, otherwise false (1).
8 > +#
9 > +# This is often useful for configure calls when some of the options
10 > are +# supposed to be disabled for multilib ABIs (like those used for
11 > +# executables only).
12 > +multilib_is_native_abi() {
13 > + debug-print-function ${FUNCNAME} "${@}"
14 > +
15 > + [[ ${#} -eq 0 ]] || die "${FUNCNAME}: too many arguments"
16
17
18 Just add @USAGE and stop babysitting people I'd say :)
19
20
21 Looks good, thanks
22
23 Alexis.