blob: 65d382b92de25719cb678ce961cd6a80a6a59c98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
$NetBSD: patch-ai,v 1.8 2004/03/29 05:47:31 jlam Exp $
--- configure.orig Wed Mar 10 10:56:10 2004
+++ configure
@@ -10762,7 +10762,14 @@ if test $ac_cv_lib_resolv_res_search = y
fi
SASL_MECHS="$SASL_MECHS libgssapiv2.la"
- SASL_STATIC_OBJS="$SASL_STATIC_OBJS ../plugins/gssapi.o"
+ if test "$enable_static" = yes; then
+ SASL_STATIC_OBJS="$SASL_STATIC_OBJS ../plugins/gssapi.o"
+
+cat >>confdefs.h <<\_ACEOF
+#define STATIC_GSSAPIV2
+_ACEOF
+
+ fi
cmu_save_LIBS="$LIBS"
LIBS="$LIBS $GSSAPIBASE_LIBS"
@@ -10896,14 +10903,6 @@ _ACEOF
echo "${ECHO_T}disabled" >&6
fi
-
-if test "$gssapi" != "no"; then
-
-cat >>confdefs.h <<\_ACEOF
-#define STATIC_GSSAPIV2
-_ACEOF
-
-fi
# Check whether --enable-anon or --disable-anon was given.
if test "${enable_anon+set}" = set; then
|