1 $NetBSD: patch-ag,v 1.12 2008/03/11 15:52:51 taca Exp $
3 --- configure.orig 2008-12-10 06:04:36.000000000 +0900
5 @@ -1451,7 +1451,7 @@ Fine tuning of the installation director
6 --bindir=DIR user executables [EPREFIX/bin]
7 --sbindir=DIR system admin executables [EPREFIX/sbin]
8 --libexecdir=DIR program executables [EPREFIX/libexec]
9 - --sysconfdir=DIR read-only single-machine data [etc]
10 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
11 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
12 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
13 --libdir=DIR object code libraries [EPREFIX/lib]
14 @@ -1523,6 +1523,7 @@ Optional Packages:
15 --with-devel add development options
16 --with-efence link with -lefence for malloc() debugging
17 --with-csops add CSOps standard options
18 + --with-nbsdops add NetBSD standard options
19 --without-passwd don't use passwd/shadow file for authentication
20 --with-skey=DIR enable S/Key support
21 --with-opie=DIR enable OPIE support
22 @@ -2163,7 +2164,6 @@ else
24 test "$bindir" = '${exec_prefix}/bin' && bindir='$(exec_prefix)/bin'
25 test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/sbin'
26 -test "$sysconfdir" = '${prefix}/etc' -a X"$with_stow" != X"yes" && sysconfdir='/etc'
30 @@ -2356,6 +2356,23 @@ fi
34 +# Check whether --with-nbsdops or --without-nbsdops was given.
35 +if test "${with_nbsdops+set}" = set; then
36 + withval="$with_nbsdops"
37 + case $with_nbsdops in
38 + yes) echo 'Adding NetBSD standard options'
42 + with_tty_tickets=yes
45 + *) echo "Ignoring unknown argument to --with-nbsdops: $with_nbsdops"
51 # Check whether --with-passwd was given.
52 if test "${with_passwd+set}" = set; then
53 withval=$with_passwd; case $with_passwd in
54 @@ -14091,7 +14108,7 @@ if test `eval echo '${'$as_ac_Header'}'`
56 LOGINCAP_USAGE='[-c class|-] '; LCMAN=""
58 - freebsd|netbsd) SUDO_LIBS="${SUDO_LIBS} -lutil"
59 + dragonfly*|freebsd*|netbsd*) SUDO_LIBS="${SUDO_LIBS} -lutil"
63 @@ -21080,11 +21098,12 @@ fi
65 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66 AUTH_OBJS="$AUTH_OBJS kerb5.o"
68 - LIBS="${LIBS} ${SUDO_LIBS}"
73 +if test ${with_kerb5-'no'} != "no"; then
75 +LIBS="${LIBS} ${SUDO_LIBS}"
76 for ac_func in krb5_verify_user krb5_init_secure_context krb5_get_init_creds_opt_alloc
78 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`