gnuconfig.eclass

Name

gnuconfig.eclass -- Refresh bundled gnuconfig files (config.guess, config.sub)

Description

This eclass is used to automatically update files that typically come with automake to the newest version available on the system. The most common use of this is to update config.guess and config.sub when configure dies from misguessing your canonical system name (CHOST). It can also be used to update other files that come with automake, e.g. depcomp, mkinstalldirs, etc.

Supported EAPIs

5 6 7 8

Functions

gnuconfig_update [file1 file2 ...]

If called without arguments, config.guess and config.sub will be updated. All files in the source tree (${S}) with the given name(s) will be replaced with the newest available versions chosen from the list of locations in gnuconfig_findnewest(), below.

gnuconfig_update should generally be called from src_unpack().

Wrapper function for gnuconfig_do_update. If no arguments are given, update config.sub and config.guess (old default behavior), otherwise update the named files.

Authors

Will Woods <wwoods@gentoo.org>

Maintainers

Sam James <sam@gentoo.org>

Reporting Bugs

Please report bugs via https://bugs.gentoo.org/