summaryrefslogtreecommitdiff
path: root/source3/lib/replace/libreplace.m4
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-01 23:18:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:06 -0500
commita2bbf608d21ff8de129aae726a426eac5d65a67f (patch)
treed1d5e6e563023a052fabd34c5f49e2bd44c918ad /source3/lib/replace/libreplace.m4
parent82a549770e0743850fb81e00ec6a869c7c73a2fb (diff)
downloadsamba-a2bbf608d21ff8de129aae726a426eac5d65a67f.tar.gz
samba-a2bbf608d21ff8de129aae726a426eac5d65a67f.tar.bz2
samba-a2bbf608d21ff8de129aae726a426eac5d65a67f.zip
r25455: Ensure we have inet_ntop and inet_pton available in lib/replace.
Jeremy. (This used to be commit 1f719905440d4c87c526c56532f47d894cfec5f0)
Diffstat (limited to 'source3/lib/replace/libreplace.m4')
-rw-r--r--source3/lib/replace/libreplace.m44
1 files changed, 3 insertions, 1 deletions
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])])