Commit: Configure and peer trees


Subject: Commit: Configure and peer trees
From: Frodo Looijaard (frodol@dds.nl)
Date: Sun Jun 10 2001 - 07:57:14 CDT


(Frodo) Peer trees are now fully integrated into the autoconf build system

It works as follows:
* In the ac-helpers configure fragments, variables PEERS, PEERDIRS and
  *_PEERDIR are set. PEERS will contain a list of peer names (for example
  `wv psiconv'), PEERDIRS will contain a list of peer directories
  (for example `../wv ../psiconv') and *_PEERDIR will contain the name
  of each peer directory (for example WV_PEERDIR equals `../wv').
  If a peer is not needed, the corresponding variable is not set.
* In the main configure.in script, we run configure in each of the
  directories in PEERDIRS
* In the GNUMakefile.am, we add dependencies for PEERS to the all-recursive
  target (we can't use the all target itself, because this will break
  parallel builds; we can't use all-local, because automake won't use it
  in this case). For each possible PEER, we have a rule that does a
  make in the corresponding PEERDIR.

In the ac-helper scripts I also fixed occurrences of `-a -a' in some test
statements, I removed the local_* variables, and I made the paths to
peer directories absolute.

CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: GNUmakefile.am configure.in ac-helpers/abi-libpng.m4
CVS: ac-helpers/abi-psiconv.m4 ac-helpers/abi-wv.m4
CVS: ac-helpers/abi-xml-parser.m4
CVS: ----------------------------------------------------------------------

-- 
Frodo Looijaard <frodol@dds.nl>  PGP key and more: http://huizen.dds.nl/~frodol
Defenestration n. (formal or joc.):
  The act of removing Windows from your computer in disgust, usually followed
  by the installation of Linux or some other Unix-like operating system.



This archive was generated by hypermail 2b25 : Sun Jun 10 2001 - 07:57:43 CDT