Coda File System

Re: lwp and includes, and an rpc2/tcpdump question

From: Greg Troxel <gdt_at_fnord.ir.bbn.com>
Date: 29 Dec 1999 11:22:09 -0500
a minor bug in CVS add lib instead of include to CFLAGS.  Here's a
fix, which enabled configure to finish and the make to start running
happily on a system with lwp and coda both --prefix=/usr/local/coda

Index: coda_macros.m4
===================================================================
RCS file: /coda-src/coda/configs/coda_macros.m4,v
retrieving revision 4.7
diff -u -r4.7 coda_macros.m4
--- coda_macros.m4      1999/12/24 23:41:02     4.7
+++ coda_macros.m4      1999/12/29 16:18:27
@@ -254,7 +254,7 @@
   [saved_CFLAGS="${CFLAGS}" ; saved_LDFLAGS="${LDFLAGS}" ;
saved_LIBS="${LIBS}"
    coda_cv_lwppath=none ; LIBS="-llwp"
    for path in ${prefix} /usr /usr/local /usr/pkg ; do
-     CFLAGS="${CFLAGS} -I${path}/lib"
+     CFLAGS="${CFLAGS} -I${path}/include"
      LDFLAGS="${LDFLAGS} -L${path}/lib"
      AC_TRY_LINK([#include <lwp/lwp.h>], [LWP_Init(0,0,0)],
                 [coda_cv_lwppath=${path} ; break])


        Greg Troxel <gdt_at_ir.bbn.com>
Received on 1999-12-29 11:37:13