Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47771 - _LT_AC_SHARED_EXT breaks GCJ libtool-1.5.2 tags
Summary: _LT_AC_SHARED_EXT breaks GCJ libtool-1.5.2 tags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-13 16:53 UTC by csm
Modified: 2004-09-01 19:44 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 csm 2004-04-13 16:53:36 UTC
_LT_AC_SHARED_EXT, patched by `libtool-1.5.2-libtool_m4-shared_ext.patch', is somewhat bogus. The line that reads:

   if test -z `grep -e 'shared_ext.*shrext' $ofile`; then

Will fail if there is more than one shared_ext.*shrext match in libtool. This occurs when (e.g.) using `AM_PROG_GCJ' to compile Java packages.

Reproducible: Always
Steps to Reproduce:
1. aclocal, libtoolize, automake, autoconf a Java package (like GNU Crypto).
2. ./configure
3.

Actual Results:  
Configure outputs:

appending configuration tag "GCJ" to libtool
...
./configure: line 19231: test: too many arguments

Expected Results:  
Normal configure.
Comment 1 SpanKY gentoo-dev 2004-09-01 06:33:04 UTC
ah ive seen this a lot ...  the clean solution is tto just  put "" arrround the grep right ?
Comment 2 SpanKY gentoo-dev 2004-09-01 19:44:18 UTC
that fixed it on my machine, thanks