diff options
-rw-r--r-- | apps/nc/Makefile.am | 4 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/apps/nc/Makefile.am b/apps/nc/Makefile.am index 564080c..34c5cd3 100644 --- a/apps/nc/Makefile.am +++ b/apps/nc/Makefile.am | |||
@@ -2,7 +2,11 @@ include $(top_srcdir)/Makefile.am.common | |||
2 | 2 | ||
3 | if BUILD_NC | 3 | if BUILD_NC |
4 | 4 | ||
5 | if ENABLE_NC | ||
6 | bin_PROGRAMS = nc | ||
7 | else | ||
5 | noinst_PROGRAMS = nc | 8 | noinst_PROGRAMS = nc |
9 | endif | ||
6 | 10 | ||
7 | EXTRA_DIST = nc.1 | 11 | EXTRA_DIST = nc.1 |
8 | 12 | ||
diff --git a/configure.ac b/configure.ac index f15e746..6c60d15 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -114,6 +114,10 @@ AM_CONDITIONAL([HOST_ASM_ELF_X86_64], | |||
114 | AM_CONDITIONAL([HOST_ASM_MACOSX_X86_64], | 114 | AM_CONDITIONAL([HOST_ASM_MACOSX_X86_64], |
115 | [test "x$HOST_ABI" = "xmacosx" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"]) | 115 | [test "x$HOST_ABI" = "xmacosx" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"]) |
116 | 116 | ||
117 | AC_ARG_ENABLE([nc], | ||
118 | AS_HELP_STRING([--enable-nc], [Enable installing TLS-enabled nc(1)])) | ||
119 | AM_CONDITIONAL([ENABLE_NC], [test "x$enable_nc" = xyes]) | ||
120 | |||
117 | # Check if time_t is sized correctly | 121 | # Check if time_t is sized correctly |
118 | AC_CHECK_SIZEOF([time_t], [time.h]) | 122 | AC_CHECK_SIZEOF([time_t], [time.h]) |
119 | 123 | ||