| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.47 2006/01/07 04:40:45 eradicator Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.48 2006/03/09 16:30:50 blubb Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Jeremy Huddleston <eradicator@gentoo.org> |
5 | # Author: Jeremy Huddleston <eradicator@gentoo.org> |
| 6 | # |
6 | # |
| 7 | # This eclass is for all functions pertaining to handling multilib. |
7 | # This eclass is for all functions pertaining to handling multilib. |
| 8 | # configurations. |
8 | # configurations. |
| … | |
… | |
| 100 | export LDFLAGS_default |
100 | export LDFLAGS_default |
| 101 | export CHOST_default=${CHOST_default:-${CHOST}} |
101 | export CHOST_default=${CHOST_default:-${CHOST}} |
| 102 | export CTARGET_default=${CTARGET_default:-${CTARGET:-${CHOST_default}}} |
102 | export CTARGET_default=${CTARGET_default:-${CTARGET:-${CHOST_default}}} |
| 103 | export LIBDIR_default=${CONF_LIBDIR:-"lib"} |
103 | export LIBDIR_default=${CONF_LIBDIR:-"lib"} |
| 104 | export CDEFINE_default="__unix__" |
104 | export CDEFINE_default="__unix__" |
|
|
105 | export KERNEL_ABI=${KERNEL_ABI:-${DEFAULT_ABI}} |
| 105 | |
106 | |
| 106 | # has_multilib_profile() |
107 | # has_multilib_profile() |
| 107 | has_multilib_profile() { |
108 | has_multilib_profile() { |
| 108 | [ -n "${MULTILIB_ABIS}" -a "${MULTILIB_ABIS}" != "${MULTILIB_ABIS/ /}" ] |
109 | [ -n "${MULTILIB_ABIS}" -a "${MULTILIB_ABIS}" != "${MULTILIB_ABIS/ /}" ] |
| 109 | } |
110 | } |