summaryrefslogtreecommitdiffstats
path: root/source4/heimdal_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-14 12:34:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:23:06 -0500
commitd0e3452a6105a33f8dd3e0dbf208eb4ea5567f30 (patch)
tree1b56b659be6c4a53d2a577c396cf87b7af53d79f /source4/heimdal_build
parent66410ac4fd2a5aabe558244de33b6d9beebadd7c (diff)
downloadsamba-d0e3452a6105a33f8dd3e0dbf208eb4ea5567f30.tar.gz
samba-d0e3452a6105a33f8dd3e0dbf208eb4ea5567f30.tar.xz
samba-d0e3452a6105a33f8dd3e0dbf208eb4ea5567f30.zip
r8463: more irix fixes. This one adds some missing addrinfo functions
(This used to be commit 87f7098ee3a24be202b6aaa1ab2a4e44b7b89975)
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/config.m49
-rw-r--r--source4/heimdal_build/config.mk10
2 files changed, 19 insertions, 0 deletions
diff --git a/source4/heimdal_build/config.m4 b/source4/heimdal_build/config.m4
index 342ab6901f..bdfcf0dea4 100644
--- a/source4/heimdal_build/config.m4
+++ b/source4/heimdal_build/config.m4
@@ -89,6 +89,9 @@ AC_CHECK_FUNCS([ \
errx \
warnx \
flock \
+ getaddrinfo \
+ freeaddrinfo \
+ gai_strerror \
writev
])
@@ -190,3 +193,9 @@ if test -d heimdal; then
SMB_BINARY_ENABLE(asn1_compile, YES)
SMB_BINARY_ENABLE(compile_et, YES)
fi
+
+# only add getaddrinfo and related functions if needed
+SMB_SUBSYSTEM_ENABLE(HEIMDAL_ROKEN_ADDRINFO, NO)
+if test t$ac_cv_func_getaddrinfo != tyes; then
+ SMB_SUBSYSTEM_ENABLE(HEIMDAL_ROKEN_ADDRINFO, YES)
+fi
diff --git a/source4/heimdal_build/config.mk b/source4/heimdal_build/config.mk
index 25abfa9542..7f6387f45a 100644
--- a/source4/heimdal_build/config.mk
+++ b/source4/heimdal_build/config.mk
@@ -261,6 +261,15 @@ NOPROTO = YES
#######################
#######################
+# Start SUBSYSTEM HEIMDAL_ROKEN_ADDRINFO
+[SUBSYSTEM::HEIMDAL_ROKEN_ADDRINFO]
+ADD_OBJ_FILES = \
+ heimdal/lib/roken/gai_strerror.o \
+ heimdal/lib/roken/getaddrinfo.o \
+ heimdal/lib/roken/freeaddrinfo.o
+NOPROTO = YES
+
+#######################
# Start SUBSYSTEM HEIMDAL_ROKEN
[SUBSYSTEM::HEIMDAL_ROKEN]
ADD_OBJ_FILES = \
@@ -283,6 +292,7 @@ ADD_OBJ_FILES = \
heimdal/lib/roken/strupr.o \
heimdal/lib/roken/strpool.o \
heimdal_build/replace.o
+REQUIRED_SUBSYSTEMS = HEIMDAL_ROKEN_ADDRINFO
NOPROTO = YES
# End SUBSYSTEM HEIMDAL_ROKEN
#######################