add some backcompat in nc, don't install it

This commit is contained in:
Brent Cook
2015-09-12 09:50:44 -05:00
parent bcd3b2fde6
commit a64c42a09d
2 changed files with 10 additions and 1 deletions

View File

@@ -1,6 +1,8 @@
include $(top_srcdir)/Makefile.am.common
bin_PROGRAMS = nc
if HAVE_POLL
noinst_PROGRAMS = nc
nc_LDADD = $(PLATFORM_LDADD) $(PROG_LDADD)
nc_LDADD += $(top_builddir)/tls/libtls.la
@@ -9,3 +11,9 @@ nc_SOURCES = atomicio.c
nc_SOURCES += netcat.c
nc_SOURCES += socks.c
noinst_HEADERS = atomicio.h
if !HAVE_STRTONUM
nc_SOURCES += compat/strtonum.c
endif
endif