summaryrefslogtreecommitdiff
path: root/security/sudo/patches/patch-af
blob: 50124074b24c58da476f0bbf43781378d6c5bece (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-af,v 1.3 1999/05/09 14:10:28 frueauf Exp $

--- configure.in.orig	Mon Mar 29 06:05:07 1999
+++ configure.in	Sun May  9 14:50:26 1999
@@ -52,8 +52,8 @@
 dnl
 test "$mandir" = '${prefix}/man' && mandir='$(prefix)/man'
 test "$bindir" = '${exec_prefix}/bin' && bindir='$(exec_prefix)/bin'
-test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/sbin'
-test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc'
+test "$sbindir" = '${exec_prefix}/sbin' || sbindir='$(exec_prefix)/sbin'
+test "$sysconfdir" = '${prefix}/etc' || sysconfdir='/etc'
 
 dnl
 dnl Options for --with
@@ -139,6 +139,19 @@
     no)		;;
     *)		echo "Ignoring unknown argument to --with-csops: $with_csops"
 		;;
+esac])
+
+AC_ARG_WITH(nbsdops,[  --with-nbsdops         add NetBSD standard options],
+[case $with_nbsdops in
+    yes)        OPTIONS="${OPTIONS} -DIGNORE_DOT_PATH -DENV_EDITOR -DUSE_TTY_TI
+CKETS"
+		sbindir='$(exec_prefix)/sbin'
+		echo 'nbsdops--adding options: IGNORE_DOT_PATH ENV_EDITOR USE_T
+TY_TICKETS'
+		;;
+    no)         ;;
+    *)          echo "Ignoring unknown argument to --with-nbsdops: $with-nbsdop
+s"
 esac])
 
 AC_ARG_WITH(skey, [  --with-skey             enable S/Key support ],