src_configure

Function src_configure
Purpose Configure the package.
Sandbox Enabled
Privilege user
Called for ebuild
EAPI 2

Default src_configure

src_configure() {
	if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
		econf
	fi
}

Sample src_configure

inherit flag-o-matic

src_configure() {
	use sparc && filter-flags -fomit-frame-pointer
	append-ldflags -Wl,-z,now

	econf \
		$(use_enable ssl) \
		$(use_enable perl perlinterp)
}

src_configure processes

The following subsections cover different topics which often occur when writing src_configure functions.