From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 174741381F3 for ; Sat, 29 Jun 2013 19:47:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6CD3AE09C9; Sat, 29 Jun 2013 19:47:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4D61EE09A9 for ; Sat, 29 Jun 2013 19:47:13 +0000 (UTC) Received: from localhost (pc-145-111-101-190.cm.vtr.net [190.101.111.145]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aballier) by smtp.gentoo.org (Postfix) with ESMTPSA id 8B88433E834; Sat, 29 Jun 2013 19:47:10 +0000 (UTC) Date: Sat, 29 Jun 2013 15:47:05 -0400 From: Alexis Ballier To: gentoo-dev@lists.gentoo.org Cc: mgorny@gentoo.org, multilib@gentoo.org Subject: Re: [gentoo-dev] [PATCH multilib-build] Add multilib_is_native_abi() helper. Message-ID: <20130629154705.4341dcc5@gentoo.org> In-Reply-To: <1372494945-19681-1-git-send-email-mgorny@gentoo.org> References: <1372494945-19681-1-git-send-email-mgorny@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.19; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 5cf20d49-27ad-4666-b531-3f59cb68dc5d X-Archives-Hash: 0e37057943eca0b71d5b9cd5b896aec7 On Sat, 29 Jun 2013 10:35:45 +0200 Micha=C5=82 G=C3=B3rny 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.