Coda File System

Re: build nits with lwp, autotools versions

From: Greg Troxel <gdt_at_ir.bbn.com>
Date: 24 Feb 2004 08:38:37 -0500
  Ehh, afaik it is 'non-run-them-all-yourself'.

  CVS/Entries looks like the following on my machine,

Sounds good.

In lwp, with all non-cvs files nuked, I get when running ./bootstrap.sh:

autoheader: error: AC_CONFIG_HEADERS not found in configure.in

Reading what ends up in aclocla, is says AM_CONFIG_HEADER is obsolete.
The following patch makes bootstrap work without errors (just
underquoting warnings).
configure runs ok
trying to compile results in 
../libtool: ../libtool: No such file or directory


So, with the following I get a correct build (by which I mean the
following succeeds, starting from only what's in CVS):

./bootstrap.sh; ./configure --prefix=/usr/local/coda; make; src/testlwp 2

Index: bootstrap.sh
===================================================================
RCS file: /coda-src/lwp/bootstrap.sh,v
retrieving revision 1.4
diff -u -r1.4 bootstrap.sh
--- a/bootstrap.sh	31 Jan 2000 16:38:12 -0000	1.4
+++ b/bootstrap.sh	24 Feb 2004 13:37:37 -0000
@@ -14,4 +14,5 @@
 autoheader
 aclocal
 automake --copy --add-missing
+libtoolize
 autoconf
Index: configure.in
===================================================================
RCS file: /coda-src/lwp/configure.in,v
retrieving revision 1.35
diff -u -r1.35 configure.in
--- a/configure.in	23 Feb 2004 20:35:05 -0000	1.35
+++ b/configure.in	24 Feb 2004 13:37:37 -0000
@@ -6,7 +6,7 @@
 AC_CONFIG_SRCDIR(src/lwp.c)
 CODA_SETUP_BUILD
 AM_INIT_AUTOMAKE(lwp, 1.10)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 
 dnl For library version updates, follow these steps in order.
 dnl - when any library source has changed, increment first



-- 
        Greg Troxel <gdt_at_ir.bbn.com>
Received on 2004-02-24 08:44:50