aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2015-11-23 02:07:23 -0600
committerBrent Cook <busterb@gmail.com>2015-11-23 02:07:23 -0600
commit7a82b7c0fd619a3a815e1bbf2fe20cc23bdcf653 (patch)
tree7c30493cf586597febd7c255232651744e333f18
parent7109fb3260a2bde622a5dfab8d57f0a114ec8d32 (diff)
downloadportable-7a82b7c0fd619a3a815e1bbf2fe20cc23bdcf653.tar.gz
portable-7a82b7c0fd619a3a815e1bbf2fe20cc23bdcf653.tar.bz2
portable-7a82b7c0fd619a3a815e1bbf2fe20cc23bdcf653.zip
build nc on solaris and cygwin
-rw-r--r--m4/check-os-options.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4
index ab855ee..cbb8c45 100644
--- a/m4/check-os-options.m4
+++ b/m4/check-os-options.m4
@@ -11,6 +11,7 @@ case $host_os in
11 AC_SUBST([PLATFORM_LDADD], ['-lperfstat -lpthread']) 11 AC_SUBST([PLATFORM_LDADD], ['-lperfstat -lpthread'])
12 ;; 12 ;;
13 *cygwin*) 13 *cygwin*)
14 BUILD_NC=yes
14 HOST_OS=cygwin 15 HOST_OS=cygwin
15 ;; 16 ;;
16 *darwin*) 17 *darwin*)
@@ -62,6 +63,7 @@ case $host_os in
62 AC_SUBST([PLATFORM_LDADD], ['-lws2_32']) 63 AC_SUBST([PLATFORM_LDADD], ['-lws2_32'])
63 ;; 64 ;;
64 *solaris*) 65 *solaris*)
66 BUILD_NC=yes
65 HOST_OS=solaris 67 HOST_OS=solaris
66 HOST_ABI=elf 68 HOST_ABI=elf
67 CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 -DBSD_COMP" 69 CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 -DBSD_COMP"