This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Re: Patch: runtime part of gcj -D
- To: Anthony Green <green at cygnus dot com>
- Subject: Re: Patch: runtime part of gcj -D
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Date: Sat, 16 Oct 1999 10:21:55 -0700 (PDT)
- Cc: tromey at cygnus dot com, java-patches at sourceware dot cygnus dot com
- References: <87d7ug4lep.fsf@cygnus.com><199910160507.WAA20239@fencer.cygnus.com>
Anthony Green writes:
> Very very cool. We'll also need this patch in order to build libgcj.
> When building shared libraries, libtool will often compile files using
> -DPIC. Gcj used to ignore this, but it can't anymore.
> + if test "`basename $srcfile .java`" != "`basename $srcfile`" && test "`basename $srcfile .class`" != "`basename $srcfile`"; then
Actually, I think the `&&' should be replaced by `||'. `!=' tests that
the file has the provided extension.
./A