]> granicus.if.org Git - sudo/commitdiff
added AFS libs
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 14 Jul 1994 23:11:06 +0000 (23:11 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 14 Jul 1994 23:11:06 +0000 (23:11 +0000)
configure.in

index 72ac2a194d06f7c8f30a03a7b690e1542e47517f..f59df513ea3c1a7b636ad2a68022ca787c7e2ce7 100644 (file)
@@ -34,6 +34,7 @@ echo 'Configuring for C2 security')
 dnl
 dnl --with-AFS
 AC_WITH(AFS, AC_DEFINE(HAVE_AFS)
+AFS=1
 echo 'Configuring for use with AFS')
 dnl
 dnl --with-csops
@@ -69,6 +70,9 @@ case "$OS" in
                if test -z "$GCC"; then
                    STATIC_FLAGS="-bnso -bI:/lib/syscalls.exp -bI:./aixcrypt.exp -liconv -bnodelcsect"
                fi
+               if test -n "$AFS" ; then
+                   LIBS="${LIBS} -ls"
+               fi
                ;;
     "hp-ux")   echo "Looks like HP-UX"
                if test -z "$GCC"; then
@@ -121,6 +125,12 @@ if test -n "$GCC" -a -n "$OS" -a "$OS" != "solaris" ; then
     STATIC_FLAGS="-static"
 fi
 dnl
+dnl extra AFS libs
+dnl
+if test -n "$AFS" ; then
+    LIBS="${LIBS} -L/usr/lib/afs -lkauth -lprot -lauth -lubik -lrxkad -lsys -ldes -lrx -llwp -lcom_err -laudit -lutil"
+fi
+dnl
 dnl C compiler checks (to be done after os checks)
 dnl
 AC_GCC_TRADITIONAL