aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 97131afe..5bdbe34d 100644
--- a/configure.in
+++ b/configure.in
@@ -258,11 +258,11 @@ then
LDEFLAGS="$LDEFLAGS -L$with_kerberos/lib"
LIBS="$LIBS -lkrb -ldes"
else
- for dir in /usr/include/kerberosIV /usr/kerberos/include /usr/kerberosIV/include /usr/athena/include
+ for dir in /usr/kerberos /usr/kerberosIV /usr/athena
do
- if test -f "$dir/krb.h"
+ if test -f "$dir/include/krb.h"
then
- CEFLAGS="$CEFLAGS -DKERBEROS_V4 -I$dir"
+ CEFLAGS="$CEFLAGS -DKERBEROS_V4 -I$dir/include"
LDEFLAGS="$LDEFLAGS -L$dir/lib"
LIBS="$LIBS -lkrb -ldes"
break