Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132957 - x11-terms/eterm-9999: stop autogen.sh from running configure
Summary: x11-terms/eterm-9999: stop autogen.sh from running configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-10 15:30 UTC by Peter Hyman
Modified: 2006-05-10 20:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Hyman 2006-05-10 15:30:25 UTC
This ebuild runs configure twice because autogen does it during the src_unpack function, then econf is run with parameters in the src_compile function. While not a bug, it's wasteful.

Autogen does check for a variable NOCONFIGURE, and if set, will cause autogen to bypass running configure. This is preferred.

The following line in the src_unpack function in the ebuild sets NOCONFIGURE and forces autogen to skip configure.

	# keep autogen from running configure.
	NOCONFIGURE=true ./autogen.sh || die "autogen failed"

Just cleaner this way.

Here's the snippet from autogen.sh that I referenced.

# Run configure.
if test x"$NOCONFIGURE" = x; then
(set -x && ./configure "$@")
fi
Comment 1 SpanKY gentoo-dev 2006-05-10 20:22:56 UTC
fixed in cvs