From: Stefan Metzmacher Date: Thu, 8 May 2008 08:04:51 +0000 (+0200) Subject: libreplace: merge socketpair.m4 into libreplace_network.m4 X-Git-Tag: samba-3.3.0pre1~1204 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9aa0f6626d6a69ceeb8bb4ea71ea3d4a6157d101;p=thirdparty%2Fsamba.git libreplace: merge socketpair.m4 into libreplace_network.m4 metze (cherry picked from commit f9f8f93adcc7161ebb18f5a0bf28c73d951a15ad) --- diff --git a/source/lib/replace/libreplace_network.m4 b/source/lib/replace/libreplace_network.m4 index 25ededb0279..87f6153e905 100644 --- a/source/lib/replace/libreplace_network.m4 +++ b/source/lib/replace/libreplace_network.m4 @@ -98,6 +98,8 @@ if test x"$ac_cv_func_gethostbyname" = x"no"; then fi fi +AC_CHECK_FUNCS(socketpair,[],[LIBREPLACEOBJ="${LIBREPLACEOBJ} socketpair.o"]) + AC_CHECK_FUNCS(inet_ntoa,[],[LIBREPLACEOBJ="${LIBREPLACEOBJ} inet_ntoa.o"]) AC_CACHE_CHECK([for broken inet_ntoa],libreplace_cv_REPLACE_INET_NTOA,[ @@ -126,7 +128,6 @@ AC_CHECK_FUNCS(inet_pton,[],[LIBREPLACEOBJ="${LIBREPLACEOBJ} inet_pton.o"]) m4_include(getaddrinfo.m4) m4_include(getifaddrs.m4) -m4_include(socketpair.m4) echo "LIBREPLACE_NETWORK_CHECKS: END" ]) dnl end AC_LIBREPLACE_NETWORK_CHECKS diff --git a/source/lib/replace/socketpair.m4 b/source/lib/replace/socketpair.m4 deleted file mode 100644 index 7088334cda3..00000000000 --- a/source/lib/replace/socketpair.m4 +++ /dev/null @@ -1 +0,0 @@ -AC_CHECK_FUNCS(socketpair,[],[LIBREPLACEOBJ="${LIBREPLACEOBJ} socketpair.o"])