Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Ralf Wildenhues (Ralf.Wildenhues_at_[hidden])
Date: 2005-08-27 03:54:02


Hi Troy,

* Troy Benjegerdes wrote on Sat, Aug 27, 2005 at 04:38:02AM CEST:
> On Fri, Aug 26, 2005 at 12:35:07PM -0400, Jeff Squyres wrote:
> > On Aug 26, 2005, at 12:19 PM, Ralf Wildenhues wrote:
> >
> > > (It would be good to augment the autogen.sh script so that it honored
> > > a setting like ACLOCAL="path/to/aclocal -I ..." (in Bourne shell speak)
> > > and similarly for AUTOMAKE, AUTOCONF, LIBTOOLIZE).
> >
> > I have no objections to this... :-)
>
> how's this? (I spent waaay to much time learning obscure shell stuff for
> this)

You beat me to it! :)

> I allows me to do
> ACLOCAL='aclocal -I /usr/local/share/aclocal' ./autogen.sh
>
> and it works a little better.. waiting for a build now.

*snip*
> +if [ -z "$ACLOCAL" ]; then ompi_aclocal_search="aclocal"
> +else ompi_aclocal_search=$ACLOCAL
> +fi

If you want to be even more obscure, you can replace these three lines
with this single line:
 : ${ACLOCAL=aclocal}

Cheers,
Ralf