Lines 1-5
Link Here
|
1 |
--- cvsunix/configure.in.orig Wed Nov 22 16:09:07 2006 |
1 |
--- cvsunix/configure.in.orig 2001-03-06 20:23:49.000000000 +0100 |
2 |
+++ cvsunix/configure.in Wed Nov 22 16:10:02 2006 |
2 |
+++ cvsunix/configure.in 2007-11-14 00:25:06.000000000 +0100 |
3 |
@@ -178,7 +178,7 @@ |
3 |
@@ -178,7 +178,7 @@ |
4 |
# the user's setting for LDFLAGS |
4 |
# the user's setting for LDFLAGS |
5 |
hold_ldflags=$LDFLAGS |
5 |
hold_ldflags=$LDFLAGS |
Lines 9-15
Link Here
|
9 |
LDFLAGS=$hold_ldflags |
9 |
LDFLAGS=$hold_ldflags |
10 |
if test -n "$krb_incdir"; then |
10 |
if test -n "$krb_incdir"; then |
11 |
includeopt="${includeopt} -I$krb_incdir" |
11 |
includeopt="${includeopt} -I$krb_incdir" |
12 |
@@ -212,7 +212,7 @@ |
12 |
@@ -202,27 +202,22 @@ |
|
|
13 |
|
14 |
hold_cppflags=$CPPFLAGS |
15 |
CPPFLAGS="$CPPFLAGS -I$GSSAPI/include " |
16 |
-AC_CHECK_HEADERS(krb5.h gssapi.h gssapi/gssapi.h gssapi/gssapi_generic.h) |
17 |
+AC_CHECK_HEADERS(krb5.h gssapi/gssapi.h gssapi/gssapi_generic.h) |
18 |
CPPFLAGS=$hold_cppflags |
19 |
|
20 |
if test "$ac_cv_header_krb5_h" = "yes" && |
21 |
- (test "$ac_cv_header_gssapi_h" = "yes" || |
22 |
- test "$ac_cv_header_gssapi_gssapi_h" = "yes"); then |
23 |
+ test "$ac_cv_header_gssapi_gssapi_h" = "yes"; then |
24 |
AC_DEFINE(HAVE_GSSAPI) |
13 |
includeopt="${includeopt} -I$GSSAPI/include" |
25 |
includeopt="${includeopt} -I$GSSAPI/include" |
14 |
# FIXME: This is ugly, but these things don't seem to be standardized. |
26 |
# FIXME: This is ugly, but these things don't seem to be standardized. |
15 |
if test "$ac_cv_header_gssapi_h" = "yes"; then |
27 |
if test "$ac_cv_header_gssapi_h" = "yes"; then |
Lines 18-20
Link Here
|
18 |
else |
30 |
else |
19 |
LIBS="$LIBS -L$GSSAPI/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err" |
31 |
LIBS="$LIBS -L$GSSAPI/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err" |
20 |
fi |
32 |
fi |
|
|
33 |
save_CPPFLAGS=$CPPFLAGS |
34 |
CPPFLAGS="-I$GSSAPI/include $CPPFLAGS" |
35 |
- if test "$ac_cv_header_gssapi_h" = "yes"; then |
36 |
- AC_EGREP_HEADER(GSS_C_NT_HOSTBASED_SERVICE, gssapi.h, AC_DEFINE(HAVE_GSS_C_NT_HOSTBASED_SERVICE)) |
37 |
- else |
38 |
- AC_EGREP_HEADER(GSS_C_NT_HOSTBASED_SERVICE, gssapi/gssapi.h, AC_DEFINE(HAVE_GSS_C_NT_HOSTBASED_SERVICE)) |
39 |
- fi |
40 |
+ AC_EGREP_HEADER(GSS_C_NT_HOSTBASED_SERVICE, gssapi/gssapi.h, AC_DEFINE(HAVE_GSS_C_NT_HOSTBASED_SERVICE)) |
41 |
CPPFLAGS=$save_CPPFLAGS |
42 |
# This is necessary on Irix 5.3, in order to link against libkrb5 -- |
43 |
# there, an_to_ln.o refers to things defined only in -lgen. |