0.27 autoconf

Gerald Britton gbritton at mit.edu
Sun Aug 29 15:21:05 CEST 1999


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})







More information about the Arla-drinkers mailing list