GNUCONFIG.ECLASS

Section: eclass-manpages (5)
Updated: Jun 2024
Index Return to Main Contents

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

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.

ECLASS VARIABLES

GNUCONFIG_DEPEND = "sys-devel/gnuconfig" (GENERATED BY ECLASS)
Contains dependency on gnuconfig in *DEPEND format.
GNUCONFIG_AUTO_DEPEND ?= yes (SET BEFORE INHERIT)
Set to 'no' to disable automatically adding to DEPEND. This lets ebuilds form conditional depends by using ${GNUCONFIG_DEPEND} in their own DEPEND string.

AUTHORS

Will Woods <wwoods@gentoo.org>

MAINTAINERS

Sam James <sam@gentoo.org>

REPORTING BUGS

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

FILES

gnuconfig.eclass

SEE ALSO

ebuild(5)
https://gitweb.gentoo.org/repo/gentoo.git/log/eclass/gnuconfig.eclass


Index

NAME
DESCRIPTION
SUPPORTED EAPIS
FUNCTIONS
ECLASS VARIABLES
AUTHORS
MAINTAINERS
REPORTING BUGS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 03:27:02 GMT, June 23, 2024