Hallo Ralf,

Ralf Wildenhues wrote:
The first three subproject.at tests fail within `make distcheck':

- during the `check' (not installcheck!) phase within distcheck, the
  source tree is readonly,
- libtoolize either symlinks or copies with kept permissions the
  ltdl files (use of tar!),
- `autoreconf --force', seeing the sub/ltdl subproject, enters the
  sub/ltdl directory, in there, aclocal tries to write
  sub/ltdl/aclocal.m4 (without removing it first).  If we remove the
  `--force', still autoconf fails, because it tries to write to
  `sub/ltdl/configure'.

AARGH!

I'm not quite sure about the best way to handle this.  We could
replace autoreconf with calling aclocal, automake, and autoconf by
hand to prevent recursing.  Proposed patch below ok?

Sure.  Looks good to me.

        * tests/testsuite.at (LT_AT_AUTOMAKE): New macro.
        * tests/subproject.at: Use it.  Do not call `autoreconf' in
        tests, since it will try to reconfigure `sub/ltdl', which
        breaks `make check' during `distcheck' because of a readonly
        source tree.

Cheers,
        Gary.
--
Gary V. Vaughan      ())_.  [EMAIL PROTECTED],gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to