[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] [PATCH multilib-build] Add multilib_is_native_abi() helper.
From:       Alexis Ballier <aballier () gentoo ! org>
Date:       2013-06-29 19:47:05
Message-ID: 20130629154705.4341dcc5 () gentoo ! org
[Download RAW message or body]

On Sat, 29 Jun 2013 10:35:45 +0200
Micha=C5=82 G=C3=B3rny <mgorny@gentoo.org> wrote:

> +# @FUNCTION: multilib_is_native_abi
> +# @DESCRIPTION:
> +# Determine whether the currently built ABI is the profile native.
> +# Return true status (0) if that is true, otherwise false (1).
> +#
> +# This is often useful for configure calls when some of the options
> are +# supposed to be disabled for multilib ABIs (like those used for
> +# executables only).
> +multilib_is_native_abi() {
> +	debug-print-function ${FUNCNAME} "${@}"
> +
> +	[[ ${#} -eq 0 ]] || die "${FUNCNAME}: too many arguments"


Just add @USAGE and stop babysitting people I'd say :)


Looks good, thanks

Alexis.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic