$NetBSD: patch-af,v 1.2 1998/12/13 11:34:33 frueauf Exp $ --- configure.in.orig Tue Nov 24 05:40:24 1998 +++ configure.in Sun Dec 13 11:50:25 1998 @@ -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,16 @@ 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_TICKETS" + sbindir='$(exec_prefix)/sbin' + echo 'nbsdops--adding options: IGNORE_DOT_PATH ENV_EDITOR USE_TTY_TICKETS' + ;; + no) ;; + *) echo "Ignoring unknown argument to --with-nbsdops: $with-nbsdops" esac]) AC_ARG_WITH(skey, [ --with-skey enable S/Key support ],