> Rick Scott wrote:
> >
> > On 30-Apr-00 at 19:17, Ralf Corsepius ([EMAIL PROTECTED]) wrote:
>
> > > The behavior you describe is the default behavior, but it can be
> > > overriden with AC_CONFIG_AUX_DIR. Adding AC_CONFIG_AUX_DIR(.) to the
> > > toplevel configure.in should force automake to look into . and
> > > $srcdir/. only.
> > >
> > > You already seemed to have trying this, but AC_CONFIG_AUX_DIR(.) is
> > > invoked too late . This will force some other macro to pull in
> > > AC_CONFIG_AUX_DIR_DEFAULT which will cause the default rules to take
> > > effect instead of the desired ones. (search for install-sh in configure
> > > and you will see).
> >
> > Yes, that was my first thought, and I was a little surprized when it
> > didn't work. It does make sense that something like that should be done
> > very early, now that you mention it.
> >
> > > Another, similar flaky spot in the toplevel configure.in is not using
> > > an argument in the call to AC_INIT().
> > > The argument is used to detect srcdir - not setting it can cause nasty
> > > effects. The observation of having to set ac_aux_dir=test could be an
> > > indication of such a side-effect.
> > >
> > > Please try the patch below.
> >
> > Certainly will, thanks.
>
> The patch below contains some more analogous fixes.
>
> It also contains a patch to lib/Makefile.am which will add the lib/Xlt
> and lib/Xbae subdirectories into a lesstif tarball generated by make
> dist, regardless which configuration options have been used to configure
> lesstif before a "make dist" - I am not sure if this is desired, but I
> think it should be done.
Yes it is desired. In the ideal world I would like to be able to "make dist"
without having to configure at all. However we wouldn't even have a makefile at
that point.
>
> BTW: Setting AC_CONFIG_AUX_DIR(.) in subdirectory configure.ins isn't
> really necessary. This only forces automake -a to put automake -a add
> files into this directories. If the AC_CONFIG_AUX_DIR(.) lines were
> removed, automake would use the toplevel automake -a added files
> instead. However these AC_CONFIG_AUX_DIR(.) lines also don't desturb, so
> it doesn't really matter.
The main reason for this is so that the Xlt and Xbae can be made as separate
distributions. Without the AC_CONFIG_AUX_DIR(.) all those files don't make it
into a make dist, again because it assumes they are up a couple levels.
>
> Ralf
>
> --
> Ralf Corsepius
> Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW)
> Helmholtzstr. 16, 89081 Ulm, Germany Tel: +49/731/501-8690
> mailto:[EMAIL PROTECTED] FAX: +49/731/501-999
> http://www.faw.uni-ulm.de