[17] in arla-drinkers
Re: with_krbafs broken
daemon@ATHENA.MIT.EDU (Love)
Sun Jun 21 15:36:21 1998
From arla-drinkers-request@sundance.stacken.kth.se Sun Jun 21 19:36:20 1998
Return-Path: <arla-drinkers-request@sundance.stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 16880 invoked from network); 21 Jun 1998 19:36:19 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
by bloom-picayune.mit.edu with SMTP; 21 Jun 1998 19:36:19 -0000
Received: from elixir.e.kth.se (sendmail@elixir.e.kth.se [130.237.48.5])
by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id VAA01418
for <arla-drinkers@stacken.kth.se>; Sun, 21 Jun 1998 21:31:22 +0200 (MET DST)
Received: from zafir.e.kth.se (zafir.e.kth.se [130.237.48.6])
by elixir.e.kth.se (8.8.7/8.8.7) with ESMTP id VAA12756;
Sun, 21 Jun 1998 21:31:21 +0200 (MET DST)
Received: (e96_lho@localhost) by zafir.e.kth.se (8.8.7/8.6.6) id VAA13153; Sun, 21 Jun 1998 21:31:19 +0200 (MET DST)
From: Love <lha@stacken.kth.se>
To: Mark Eichin <eichin@kitten.gen.ma.us>
Cc: arla-drinkers@stacken.kth.se
Subject: Re: with_krbafs broken
References: <E0yn3ba-0004cN-00@swat.thok.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Date: 21 Jun 1998 21:31:19 +0200
In-Reply-To: Mark Eichin's message of Fri, 19 Jun 1998 12:01:35 -0400
Message-ID: <yxb2d8c25z7c.fsf@zafir.e.kth.se>
Lines: 44
X-Mailer: Gnus v5.5/Emacs 20.2
Mark Eichin <eichin@kitten.gen.ma.us> writes:
> Note that with_krbafs is *where the path is stored* - so that when you
> set it to "yes" you obliterate the argument. This has the amusing but
> regrettable side effect of introducing -Lyes into the compile command
> lines...
>
> Untested but likely patch follows - just diverts the string to another
> variable. It might be cleaner to just ditch the else clause
> altogether and change the later test to a case...
Oops, wrong of me. Not that well tested.
Your patch is applied (you were missing a _). Thanks.
Love
Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/arla/configure.in,v
retrieving revision 1.121
diff -u -w -u -w -r1.121 configure.in
--- configure.in 1998/06/17 15:04:42 1.121
+++ configure.in 1998/06/21 19:27:33
@@ -180,6 +180,7 @@
[if test "X$with_krbafs" = "X"; then
AC_MSG_ERROR([You have to give the path to krbafs lib])
else
+ krb_afs_path=${with_krbafs}
with_krbafs=yes
fi]
)
@@ -284,7 +285,7 @@
RXKAD="rxkad"
RXKAD_LIBS="-L../rxkad -lrxkad $KRB_LIB_FLAGS"
if test "X$with_krbafs" = "Xyes"; then
- KAFS_LIBS="-L${with_krbafs} -lkafs"
+ KAFS_LIBS="-L${krb_afs_path} -lkafs"
else
KAFS_LIBS="-L${KRB_LIB_DIR} -lkafs"
fi