with_krbafs broken

Love lha at stacken.kth.se
Sun Jun 21 21:31:22 CEST 1998


Mark Eichin <eichin at 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





More information about the Arla-drinkers mailing list