summaryrefslogtreecommitdiff
path: root/source4/lib/socket/config.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-10-28 21:13:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:29 -0500
commita4e7bf3a89a986f0055bb8b6c6890449ca405f39 (patch)
tree7749f209fd32079a26abb237a2908dd4c6c51baf /source4/lib/socket/config.m4
parent5a67b508d8f8761f0a73c2f7a116be1693d73395 (diff)
downloadsamba-a4e7bf3a89a986f0055bb8b6c6890449ca405f39.tar.gz
samba-a4e7bf3a89a986f0055bb8b6c6890449ca405f39.tar.bz2
samba-a4e7bf3a89a986f0055bb8b6c6890449ca405f39.zip
r11382: Require number of required M4 macros
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM Add some more PUBLIC_HEADERS (This used to be commit 875eb8f4cc658e6aebab070029fd499a726ad520)
Diffstat (limited to 'source4/lib/socket/config.m4')
-rw-r--r--source4/lib/socket/config.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/socket/config.m4 b/source4/lib/socket/config.m4
index 01cd28baa3..e95b88f23f 100644
--- a/source4/lib/socket/config.m4
+++ b/source4/lib/socket/config.m4
@@ -44,9 +44,9 @@ AC_CACHE_CHECK([for unix domain sockets],samba_cv_unixsocket, [
sunaddr.sun_family = AF_UNIX;
],
samba_cv_unixsocket=yes,samba_cv_unixsocket=no)])
-SMB_MODULE_DEFAULT(socket_unix, NOT)
+SMB_ENABLE(socket_unix, NO)
if test x"$samba_cv_unixsocket" = x"yes"; then
- SMB_MODULE_DEFAULT(socket_unix, STATIC)
+ SMB_ENABLE(socket_unix, YES)
AC_DEFINE(HAVE_UNIXSOCKET,1,[If we need to build with unixscoket support])
fi
@@ -63,9 +63,9 @@ fi
dnl test for ipv6 using the gethostbyname2() function. That should be sufficient
dnl for now
AC_CHECK_FUNCS(gethostbyname2, have_ipv6=true, have_ipv6=false)
-SMB_MODULE_DEFAULT(socket_ipv6, NOT)
+SMB_ENABLE(socket_ipv6, NO)
if $have_ipv6 = true; then
- SMB_MODULE_DEFAULT(socket_ipv6, STATIC)
+ SMB_ENABLE(socket_ipv6, YES)
AC_DEFINE(HAVE_SOCKET_IPV6,1,[Whether the system has ipv6 support])
fi
dnl don't build ipv6 by default, unless the above test enables it, or