diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure index 9465b77..1fd4ad2 100755 --- a/configure +++ b/configure @@ -29,6 +29,7 @@ for opt; do (--prefix=*) echo "PREFIX = ${opt#*=}" ;; (--bindir=*) echo "BINDIR = ${opt#*=}" ;; (--mandir=*) echo "MANDIR = ${opt#*=}" ;; + (--enable-sandman) echo 'BINS += sandman' ;; (*) echo "warning: unsupported option ${opt}" >&2 ;; esac done @@ -53,6 +54,13 @@ case "$(uname)" in config libtls ncursesw defvar OPENSSL_BIN openssl exec_prefix /bin/openssl ;; + (NetBSD) + cflags "-D'explicit_bzero(b,l)=explicit_memset((b),0,(l))'" + config libtls ncurses + echo 'LDADD.ncursesw = ${LDADD.ncurses}' + echo 'OBJS += compat_readpassphrase.o' + defstr OPENSSL_BIN /usr/bin/openssl + ;; (*) config libtls ncursesw defvar OPENSSL_BIN openssl exec_prefix /bin/openssl |