From a4e7bf3a89a986f0055bb8b6c6890449ca405f39 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 28 Oct 2005 21:13:30 +0000 Subject: 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) --- source4/lib/socket/config.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/lib/socket') 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 -- cgit