[1113] in arla-drinkers

home help back first fref pref prev next nref lref last post

0.27 autoconf

daemon@ATHENA.MIT.EDU (Gerald Britton)
Sun Aug 29 09:30:14 1999

From owner-arla-drinkers@stacken.kth.se Sun Aug 29 13:30:14 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 4236 invoked from network); 29 Aug 1999 13:30:13 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 29 Aug 1999 13:30:13 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id PAA22604
	for arla-drinkers-list; Sun, 29 Aug 1999 15:21:05 +0200 (MET DST)
Received: from light-brigade.mit.edu (postfix@LIGHT-BRIGADE.MIT.EDU [18.244.1.25])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id PAA22600
	for <arla-drinkers@stacken.kth.se>; Sun, 29 Aug 1999 15:21:00 +0200 (MET DST)
Received: by light-brigade.mit.edu (Postfix, from userid 3499)
	id 9BEA513D05A; Sun, 29 Aug 1999 09:20:58 -0400 (EDT)
Date: Sun, 29 Aug 1999 09:20:58 -0400
From: Gerald Britton <gbritton@mit.edu>
To: arla-drinkers@stacken.kth.se
Subject: 0.27 autoconf
Message-ID: <19990829092058.A5553@light-brigade.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6us
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

the 0.27 autoconf scripts check for "libkrbafs.a" directly instead of
doing a link check.  This doesn't allow for shared libs to be used, and
isn't as good of a check as doing the autoconf link check.  Here is the
quick hack I used to build with shared libs, it ought to be fixed in a
better way though:

--- arla-0.27/configure.in~     Mon Aug  9 13:17:54 1999
+++ arla-0.27/configure.in      Sun Aug 29 09:15:31 1999
@@ -531,9 +531,9 @@
   export RXKAD_LIBS
   MILKO_RXKAD_LIBS=`echo $RXKAD_LIBS | sed s,\.\./,\.\./\.\./,`
   if test "$with_krbafs" != "no"; then
-    if test -f "${with_krbafs}/lib/libkrbafs.a"; then
+    if test -f "${with_krbafs}/lib/libkrbafs.a" -o -f "${with_krbafs}/lib/libkrbafs.so"; then
       KAFS_LIBS="-L${with_krbafs}/lib -lkrbafs"
-    elif test -f "${with_krbafs}/libkrbafs.a"; then
+    elif test -f "${with_krbafs}/libkrbafs.a" -o -f "${with_krbafs}/libkrbafs.so"; then
       KAFS_LIBS="-L${with_krbafs} -lkrbafs"
     else
       AC_MSG_ERROR(didn't find any libkrbafs.a in ${with_krbafs})



home help back first fref pref prev next nref lref last post