Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 275725 | Differences between
and this patch

Collapse All | Expand All

(-)a/configure.ac (-2 / +2 lines)
Lines 327-334 echo "int main(void) { return 0; }" > libctest.c Link Here
327
$CC $CFLAGS $CPPFLAGS $LDFLAGS -o libctest libctest.c
327
$CC $CFLAGS $CPPFLAGS $LDFLAGS -o libctest libctest.c
328
LIBC_VERSION=$(
328
LIBC_VERSION=$(
329
	$READELF -d libctest | \
329
	$READELF -d libctest | \
330
	$EGREP NEEDED.*libc\\.so | \
330
	$EGREP 'NEEDED.* \@<:@libc\.so' | \
331
	$AWK '{print $NF}' | sed -e ['s:\[::' -e 's:\]::']
331
	$AWK '{print $NF}' | [sed -e 's:\[::' -e 's:\]::']
332
)
332
)
333
rm -f libctest*
333
rm -f libctest*
334
if test "$LIBC_VERSION"x = x ; then
334
if test "$LIBC_VERSION"x = x ; then

Return to bug 275725