From: Todd C. Miller Date: Thu, 14 Jul 1994 23:11:06 +0000 (+0000) Subject: added AFS libs X-Git-Tag: SUDO_1_3_1~98 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18d1aa1944b52bc29ae3d9f70b399560ba221843;p=sudo added AFS libs --- diff --git a/configure.in b/configure.in index 72ac2a194..f59df513e 100644 --- a/configure.in +++ b/configure.in @@ -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