summaryrefslogtreecommitdiff
blob: 96bde05460979eb8455dc9920d3d50e825c543f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- configure.in.orig   2006-03-31 15:09:06.000000000 -0800
+++ configure.in        2006-03-31 15:08:16.000000000 -0800
@@ -466,8 +466,12 @@
          AC_DEFINE(AFSPTS_USE_KRB5,[],[Should the AFS PTS plugin use krb5?])])

 if test "x$with_afs" != "xno"; then
-    if test ! -d $with_afs; then
-        $with_afs=/usr/local
+    if test "x$with_afs" != "xyes"; then
+        if test ! -d $with_afs; then
+            with_afs=/usr/local
+        fi
+    else
+        with_afs=/usr
     fi
     CFLAGS="${CFLAGS} -I${with_afs}/include"
     AFS_LIBS="${with_afs}/lib/afs/libkauth.a
${with_afs}/lib/afs/libprot.a  ${with_afs}/lib/afs/libauth.a
${with_afs}/lib/afs/libsys.a ${with_afs}/lib/librxkad.a
${with_afs}/lib/librx.a ${with_afs}/lib/afs/libsys.a
${with_afs}/lib/libubik.a  ${with_afs}/lib/liblwp.a
${with_afs}/lib/afs/util.a"