diff options
Diffstat (limited to 'tcliis')
-rwxr-xr-x | tcliis/configure | 14 | ||||
-rw-r--r-- | tcliis/configure.ac | 3 |
2 files changed, 17 insertions, 0 deletions
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 >>confdefs.h <<_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__ # |