libreplace: merge inet_pton.m4 into libreplace_network.m4
[metze/samba/wip.git] / source / lib / replace / libreplace_network.m4
index 7ee7519e7eaeef9bc51f575f5c4841b1a37d54f6..25ededb027965bcca2a7f976c25c26b2c529bd3b 100644 (file)
@@ -122,7 +122,8 @@ AC_CHECK_FUNCS(inet_aton,[],[LIBREPLACEOBJ="${LIBREPLACEOBJ} inet_aton.o"])
 
 AC_CHECK_FUNCS(inet_ntop,[],[LIBREPLACEOBJ="${LIBREPLACEOBJ} inet_ntop.o"])
 
-m4_include(inet_pton.m4)
+AC_CHECK_FUNCS(inet_pton,[],[LIBREPLACEOBJ="${LIBREPLACEOBJ} inet_pton.o"])
+
 m4_include(getaddrinfo.m4)
 m4_include(getifaddrs.m4)
 m4_include(socketpair.m4)