aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-12-07 08:24:41 -0600
committerBrent Cook <bcook@openbsd.org>2015-12-07 08:24:41 -0600
commit4db1ad6797de0e64183833f04670bd99df25b2c5 (patch)
tree4eadf73243aa0da8aefeed2cd50feba10b378dac /m4
parent28aaab43234226b2885d66d1e70f536cd7e438f0 (diff)
downloadportable-4db1ad6797de0e64183833f04670bd99df25b2c5.tar.gz
portable-4db1ad6797de0e64183833f04670bd99df25b2c5.tar.bz2
portable-4db1ad6797de0e64183833f04670bd99df25b2c5.zip
installing nc(1) should imply building, even if not whitelisted
Diffstat (limited to 'm4')
-rw-r--r--m4/check-os-options.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4
index cbb8c45..b85516c 100644
--- a/m4/check-os-options.m4
+++ b/m4/check-os-options.m4
@@ -72,7 +72,11 @@ case $host_os in
72 *) ;; 72 *) ;;
73esac 73esac
74 74
75AM_CONDITIONAL([BUILD_NC], [test x$BUILD_NC = xyes]) 75AC_ARG_ENABLE([nc],
76 AS_HELP_STRING([--enable-nc], [Enable installing TLS-enabled nc(1)]))
77AM_CONDITIONAL([ENABLE_NC], [test "x$enable_nc" = xyes])
78AM_CONDITIONAL([BUILD_NC], [test x$BUILD_NC = xyes -o "x$enable_nc" = xyes])
79
76AM_CONDITIONAL([HOST_AIX], [test x$HOST_OS = xaix]) 80AM_CONDITIONAL([HOST_AIX], [test x$HOST_OS = xaix])
77AM_CONDITIONAL([HOST_CYGWIN], [test x$HOST_OS = xcygwin]) 81AM_CONDITIONAL([HOST_CYGWIN], [test x$HOST_OS = xcygwin])
78AM_CONDITIONAL([HOST_DARWIN], [test x$HOST_OS = xdarwin]) 82AM_CONDITIONAL([HOST_DARWIN], [test x$HOST_OS = xdarwin])