[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fixes for builddir != srcdir
From: |
Raja R Harinath |
Subject: |
Fixes for builddir != srcdir |
Date: |
12 Oct 2000 15:31:32 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Hi,
The following patch makes it possible to use the testsuite in a
non-srcdir build.
While testing autoupdate:
* autoupdate calls 'autoconf -i --trace ...'
* autoconf looks for autoconf.m4
* $autoconf_dir = .., which is in the build directory, and so
autoconf cannot find autoconf.m4
Part 1 of solution: Use $top_srcdir as $autoconf_dir
However,
* autoconf.m4 includes acversion.m4, which is not in the source dir
* acversion.m4 needs only be built by the maintainer
* The current Makefiles will fail on distcheck due to acversion.m4
being in the builddir.
Part 2 of solution: Put acversion.m4 in $srcdir. (While at it, put
created INSTALL.txt in $srcdir too.)
With these changes, the testsuite has only 5 fails. 4 are the
expected failures with autoupdate. The other is a g77 problem for
which I'll file a separate bugreport.
autoconf.diff
Description: Fixes for builddir != srcdir
- Hari
--
Raja R Harinath ------------------------------ address@hidden
"When all else fails, read the instructions." -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing." -- Roy L Ash
- Fixes for builddir != srcdir,
Raja R Harinath <=