From a2bbf608d21ff8de129aae726a426eac5d65a67f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 1 Oct 2007 23:18:26 +0000 Subject: r25455: Ensure we have inet_ntop and inet_pton available in lib/replace. Jeremy. (This used to be commit 1f719905440d4c87c526c56532f47d894cfec5f0) --- source3/lib/replace/libreplace.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/lib/replace/libreplace.m4') diff --git a/source3/lib/replace/libreplace.m4 b/source3/lib/replace/libreplace.m4 index a6b1c4f5e6..354349187e 100644 --- a/source3/lib/replace/libreplace.m4 +++ b/source3/lib/replace/libreplace.m4 @@ -304,7 +304,7 @@ AC_TRY_COMPILE([ samba_cv_HAVE_OPEN_O_DIRECT=yes,samba_cv_HAVE_OPEN_O_DIRECT=no)]) if test x"$samba_cv_HAVE_OPEN_O_DIRECT" = x"yes"; then AC_DEFINE(HAVE_OPEN_O_DIRECT,1,[Whether the open(2) accepts O_DIRECT]) -fi +fi dnl Check if the C compiler understands volatile (it should, being ANSI). @@ -322,6 +322,8 @@ m4_include(getpass.m4) m4_include(strptime.m4) m4_include(win32.m4) m4_include(timegm.m4) +m4_include(inet_ntop.m4) +m4_include(inet_pton.m4) m4_include(repdir.m4) AC_CHECK_FUNCS([syslog memset memcpy],,[AC_MSG_ERROR([Required function not found])]) -- cgit