<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From df716b165f8cf5e2f53b874ba9b172be16169af6 Mon Sep 17 00:00:00 2001
From: William Joye &lt;joye@bokhara.cfa.harvard.edu&gt;
Date: Fri, 18 May 2018 12:27:35 -0400
Subject: add check for HAVE_SYS_UN_H

---
 tcliis/configure    | 14 ++++++++++++++
 tcliis/configure.ac |  3 +++
 2 files changed, 17 insertions(+)

diff --git a/tcliis/configure b/tcliis/configure
index 80d2318..51d7cea 100755
--- a/tcliis/configure
+++ b/tcliis/configure
@@ -5466,6 +5466,20 @@ done
 
 
 
+# Needed to compile open_unix
+for ac_header in sys/un.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
+if test "x$ac_cv_header_sys_un_h" = xyes; then :
+  cat &gt;&gt;confdefs.h &lt;&lt;_ACEOF
+#define HAVE_SYS_UN_H 1
+_ACEOF
+
+fi
+
+done
+
+
 #--------------------------------------------------------------------
 # __CHANGE__
 #
diff --git a/tcliis/configure.ac b/tcliis/configure.ac
index 9fbd92e..b613b8a 100644
--- a/tcliis/configure.ac
+++ b/tcliis/configure.ac
@@ -84,6 +84,9 @@ TEA_ADD_CFLAGS([])
 TEA_ADD_STUB_SOURCES([])
 TEA_ADD_TCL_SOURCES([])
 
+# Needed to compile open_unix
+AC_CHECK_HEADERS(sys/un.h)
+
 #--------------------------------------------------------------------
 # __CHANGE__
 #
-- 
cgit v0.12

</pre></body></html>