diff options
author | Brent Cook <bcook@openbsd.org> | 2015-10-01 07:40:26 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2015-10-01 07:40:26 -0500 |
commit | a7f031ba55ac4a69263000357eb7f6d7fb88101a (patch) | |
tree | 22683754da45f65561d4ae8465311b8eb0a43ec5 /apps/nc/Makefile.am | |
parent | 497a47c5fcf137b73816ee8e9165ddd12f90fcef (diff) | |
download | portable-a7f031ba55ac4a69263000357eb7f6d7fb88101a.tar.gz portable-a7f031ba55ac4a69263000357eb7f6d7fb88101a.tar.bz2 portable-a7f031ba55ac4a69263000357eb7f6d7fb88101a.zip |
add b64_ntop checking and fallback for nc(1)
Diffstat (limited to 'apps/nc/Makefile.am')
-rw-r--r-- | apps/nc/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/nc/Makefile.am b/apps/nc/Makefile.am index d0f6c0c..4e6f41d 100644 --- a/apps/nc/Makefile.am +++ b/apps/nc/Makefile.am | |||
@@ -21,6 +21,10 @@ noinst_HEADERS += compat/sys/socket.h | |||
21 | 21 | ||
22 | nc_SOURCES += compat/socket.c | 22 | nc_SOURCES += compat/socket.c |
23 | 23 | ||
24 | if !HAVE_B64_NTOP | ||
25 | nc_SOURCES += compat/base64.c | ||
26 | endif | ||
27 | |||
24 | if !HAVE_ACCEPT4 | 28 | if !HAVE_ACCEPT4 |
25 | nc_SOURCES += compat/accept4.c | 29 | nc_SOURCES += compat/accept4.c |
26 | endif | 30 | endif |