summaryrefslogtreecommitdiff
path: root/source4/lib/replace/libreplace_network.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace/libreplace_network.m4')
-rw-r--r--source4/lib/replace/libreplace_network.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/replace/libreplace_network.m4 b/source4/lib/replace/libreplace_network.m4
index 66c8192a1e..7ee7519e7e 100644
--- a/source4/lib/replace/libreplace_network.m4
+++ b/source4/lib/replace/libreplace_network.m4
@@ -120,7 +120,8 @@ fi
AC_CHECK_FUNCS(inet_aton,[],[LIBREPLACEOBJ="${LIBREPLACEOBJ} inet_aton.o"])
-m4_include(inet_ntop.m4)
+AC_CHECK_FUNCS(inet_ntop,[],[LIBREPLACEOBJ="${LIBREPLACEOBJ} inet_ntop.o"])
+
m4_include(inet_pton.m4)
m4_include(getaddrinfo.m4)
m4_include(getifaddrs.m4)