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

Re: autogen

From: Max Okumoto <okumoto_at_ucsd.edu>
Date: 2001-11-28 04:21:01 CET

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> Michael Mounteney <gate02@landcroft.co.uk> writes:
> > May I make some suggestions about the `autogen.sh' script ?
> >
> > 1. The first line is #!/bin/sh but in fact it uses the Korn shell
> > construction $( ... ). Was the script developed on a system on which the
> > Korn shell is default ? The first line should be #!/bin/ksh
>
> No, the script is intended to be Bourne, not Korn, for maximum
> portability.
>
> Is the construction illegal under Bourne? (I'm wondering why we
> haven't gotten bug reports about this yet, considering that Subversion
> builds are tested on many different Unix platforms...)

I ran into the same problem... but I didn't report it yet. :-)
The same thing happens in buildcheck.sh on line 23.

I also ran into another problem with autogen.sh. When
the script tries to find libtool.m4 it breaks if --prefix and
--exec-prefix are not the same when you build libtool.

    libtool-1.4.2 % ./configure \
                     --prefix=/usr/home/okumoto/Tools \
                --exec-prefix=/usr/home/okumoto/Tools/sparc

The problem lines are:
        ltpath=`dirname $libtoolize`
        ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4

                                Max Okumoto

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:49 2006

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