aboutsummaryrefslogtreecommitdiffstats
path: root/net/openafs/files/patch-acinclude.m4
blob: 38262ac48c4e5994a4dfc7c17e403d6045aa9ff6 (plain) (blame)
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
--- ./acinclude.m4.orig 2012-03-26 19:03:34.000000000 -0400
+++ ./acinclude.m4  2012-12-30 21:23:20.000000000 -0500
@@ -158,6 +158,14 @@
     , 
     [enable_transarc_paths="no"])
 
+dnl Deprecated crypto
+AC_ARG_ENABLE([kauth],
+    [AS_HELP_STRING([--disable-kauth],
+        [do not install the deprecated kauth server and utilities (defaults to
+         enabled)])],
+    ,
+    [enable_kauth="yes"])
+
 dnl Optimization and debugging flags.
 AC_ARG_ENABLE([strip-binaries],
     [AS_HELP_STRING([--disable-strip-binaries],
@@ -1315,6 +1323,13 @@
 fi
 AC_SUBST(BUILD_LOGIN)
 
+if test "$enable_kauth" = yes; then
+   INSTALL_KAUTH="yes"
+else
+   INSTALL_KAUTH="no"
+fi
+AC_SUBST(INSTALL_KAUTH)
+
 AC_CHECK_FUNCS(snprintf strlcat strlcpy flock getrlimit strnlen tsearch)
 AC_CHECK_FUNCS(setprogname getprogname sigaction mkstemp vsnprintf strerror strcasestr)
 AC_CHECK_FUNCS(setvbuf vsyslog getcwd)