| 1 | # Copyright 1999-2003 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2003 Gentoo Technologies, Inc. |
| 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/gnuconfig.eclass,v 1.5 2003/02/18 09:00:45 carpaski Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.6 2003/02/28 09:15:04 vapier Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Will Woods <wwoods@gentoo.org> |
5 | # Author: Will Woods <wwoods@gentoo.org> |
| 6 | # |
6 | # |
| 7 | # This eclass updates config.guess and config.sub. This is useful if |
7 | # This eclass updates config.guess and config.sub. This is useful if |
| 8 | # configure dies from misguessing your canonical system name (CHOST). |
8 | # configure dies from misguessing your canonical system name (CHOST). |
| … | |
… | |
| 10 | ECLASS=gnuconfig |
10 | ECLASS=gnuconfig |
| 11 | INHERITED="$INHERITED $ECLASS" |
11 | INHERITED="$INHERITED $ECLASS" |
| 12 | |
12 | |
| 13 | newdepend sys-devel/automake |
13 | newdepend sys-devel/automake |
| 14 | |
14 | |
| 15 | [ -z "$DESCRIPTION" ] && DESCRIPTION="Based on the ${ECLASS} eclass" |
15 | DESCRIPTION="Based on the ${ECLASS} eclass" |
| 16 | |
16 | |
| 17 | # Copy the newest available config.{guess|sub} on the system over any old |
17 | # Copy the newest available config.{guess|sub} on the system over any old |
| 18 | # ones in the source dir |
18 | # ones in the source dir |
| 19 | gnuconfig_update() { |
19 | gnuconfig_update() { |
| 20 | local configsubs_dir="$(gnuconfig_findnewest)" |
20 | local configsubs_dir="$(gnuconfig_findnewest)" |