summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index b11679d..8282dc7 100755
--- a/configure
+++ b/configure
@@ -45,6 +45,12 @@ case "$(uname)" in
 		config libcrypto libtls ncursesw
 		defvar OPENSSL_BIN openssl exec_prefix /bin/openssl
 		;;
+	(Darwin)
+		cflags -D__STDC_WANT_LIB_EXT1__=1
+		cflags "-D'explicit_bzero(b,l)=memset_s((b),(l),0,(l))'"
+		config libcrypto libtls ncursesw
+		defvar OPENSSL_BIN openssl exec_prefix /bin/openssl
+		;;
 	(*)
 		config libcrypto libtls ncursesw
 		defvar OPENSSL_BIN openssl exec_prefix /bin/openssl