On Apr  2, 2000, Erez Zadok <[EMAIL PROTECTED]> wrote:

> Have you tried to make dist in a a build dir that's not srcdir?

A long time ago, I installed a patch in autoconf to make it work.  I
don't know if it has been broken again since then.

> Is it working for you when you start from a clean just-checked-out
> repository?

Nope.  The first problem is that autoconf needs itself to bootstrap.
The second problem is that its aclocal.m4 must not be updated with
automake; instead, you must manually update the various m4 files
within the m4 directory.  I'm not sure I like this setup.

The other problem is that, since automake no longer sees the AC_SUBSTs
in m4/*.m4, it won't automatically define them in the top-level
Makefile.in.  That's why AMTAR is not defined at all :-(

I was able to pass `make dist' by running `make dist AMTAR="/bin/sh
/path/to/missing --run tar"'

However, in my case, the srcdir pathname is absolute.  This may make a
difference.

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

Reply via email to