summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/config.m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-08-05 11:56:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:18 -0500
commit0e6369f5e80d506d532e0e352b02d7d65d16db49 (patch)
tree97f48376cc6bd6ac62f99f933b1d3b7700137a0f /source4/heimdal_build/config.m4
parent0bbe88c8598505f2166cfa8869117e9d02ebfa85 (diff)
downloadsamba-0e6369f5e80d506d532e0e352b02d7d65d16db49.tar.gz
samba-0e6369f5e80d506d532e0e352b02d7d65d16db49.tar.bz2
samba-0e6369f5e80d506d532e0e352b02d7d65d16db49.zip
r9111: actually use the roken inet_aton when nothing was found
metze (This used to be commit fe5e61a25278d9e74158afd0e3b2bd31f71e43c8)
Diffstat (limited to 'source4/heimdal_build/config.m4')
-rw-r--r--source4/heimdal_build/config.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/heimdal_build/config.m4 b/source4/heimdal_build/config.m4
index 583278e3e1..5eb443cd82 100644
--- a/source4/heimdal_build/config.m4
+++ b/source4/heimdal_build/config.m4
@@ -203,6 +203,12 @@ if test t$ac_cv_func_getaddrinfo != tyes; then
SMB_SUBSYSTEM_ENABLE(HEIMDAL_ROKEN_ADDRINFO, YES)
fi
+# only add inet_aton if needed
+SMB_SUBSYSTEM_ENABLE(HEIMDAL_ROKEN_INET_ATON, NO)
+if test t$ac_cv_func_inet_aton != tyes; then
+ SMB_SUBSYSTEM_ENABLE(HEIMDAL_ROKEN_INET_ATON, YES)
+fi
+
# only add gai_strerror if needed
SMB_SUBSYSTEM_ENABLE(HEIMDAL_ROKEN_GAI_STRERROR, NO)
AC_CHECK_FUNC(gai_strerror)