<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>47771</bug_id>
          
          <creation_ts>2004-04-13 16:53 0000</creation_ts>
          <short_desc>_LT_AC_SHARED_EXT breaks GCJ libtool-1.5.2 tags</short_desc>
          <delta_ts>2004-09-01 19:44:18 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>csm@gnu.org</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>csm@gnu.org</who>
            <bug_when>2004-04-13 16:53:36 0000</bug_when>
            <thetext>_LT_AC_SHARED_EXT, patched by `libtool-1.5.2-libtool_m4-shared_ext.patch&apos;, is somewhat bogus. The line that reads:

   if test -z `grep -e &apos;shared_ext.*shrext&apos; $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&apos; 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 &quot;GCJ&quot; to libtool
...
./configure: line 19231: test: too many arguments

Expected Results:  
Normal configure.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-09-01 06:33:04 0000</bug_when>
            <thetext>ah ive seen this a lot ...  the clean solution is tto just  put &quot;&quot; arrround the grep right ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-09-01 19:44:18 0000</bug_when>
            <thetext>that fixed it on my machine, thanks</thetext>
          </long_desc>
      
    </bug>

</bugzilla>