[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Building JavaHL fails with Red Hat "alternatives"

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2006-01-26 19:34:11 CET

On Sun, Jan 15, 2006 at 07:09:41AM -0600, Peter Samuelson wrote:
> [Kenneth Porter]
> > > the find command used doesn't follow the symlink to find its
> > > subdirectories. To fix this, invocations of find in java.m4 should
> > > include the -follow switch.
>
> I suggest just putting a trailing "/" after the pathname in the find
> command.
>
> - list="`find "$JNI_INCLUDEDIR" -type d -print`"
> + list="`find "$JNI_INCLUDEDIR/" -type d -print`"
>
> That does end up printing $JNI_INCLUDEDIR/ itself with the trailing
> slash, but trailing slashes on dirs never hurt anybody in Unix.
>

This sounds like a reasonable course of action. Could anyone check that
this doesn't cause any problems for a javahl build?

Note that this may cause the include paths to contain double-slashes,
specifically on Darwin, where the output from 'find /usr/' includes
paths like '/usr//bin'. That shouldn't be a problem either, but, again,
it would be nice if someone could check.

Regards,
Malcolm

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 26 19:50:37 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.