mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r18117: first steps in making samba4 use libreplace
This commit is contained in:
parent
e9ee8b1053
commit
c079cedb08
@ -13,7 +13,7 @@ PRIVATE_DEPENDENCIES = \
|
||||
LIBCLI_SMB \
|
||||
RPC_NDR_SRVSVC \
|
||||
LIBCLI_LSA \
|
||||
LIBPOPT \
|
||||
POPT_EXT \
|
||||
POPT_SAMBA \
|
||||
POPT_CREDENTIALS
|
||||
# End BINARY smbclient
|
||||
@ -29,7 +29,7 @@ OBJ_FILES = \
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBSAMBA-CONFIG \
|
||||
LIBCLI_SMB \
|
||||
LIBPOPT \
|
||||
POPT_EXT \
|
||||
POPT_SAMBA \
|
||||
POPT_CREDENTIALS
|
||||
# End BINARY sdd
|
||||
|
@ -25,13 +25,13 @@ m4_include(lib/util/fsusage.m4)
|
||||
m4_include(lib/util/xattr.m4)
|
||||
m4_include(lib/util/capability.m4)
|
||||
m4_include(lib/util/time.m4)
|
||||
m4_include(lib/popt/config.m4)
|
||||
m4_include(lib/popt/samba.m4)
|
||||
m4_include(lib/charset/config.m4)
|
||||
m4_include(lib/socket/config.m4)
|
||||
m4_include(lib/talloc/libtalloc.m4)
|
||||
m4_include(lib/tdb/config.m4)
|
||||
m4_include(lib/tdb/libtdb.m4)
|
||||
m4_include(lib/ldb/sqlite3.m4)
|
||||
m4_include(lib/ldb/config.m4)
|
||||
m4_include(lib/ldb/libldb.m4)
|
||||
m4_include(lib/tls/config.m4)
|
||||
m4_include(lib/events/config.m4)
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
#ifndef NO_CONFIG_H /* for some tests */
|
||||
#include "config.h"
|
||||
#include "replace.h"
|
||||
#endif
|
||||
|
||||
#include "local.h"
|
||||
@ -90,7 +90,6 @@ _PUBLIC_ void smb_panic(const char *why) NORETURN_ATTRIBUTE;
|
||||
#endif
|
||||
|
||||
#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
|
||||
#include "lib/replace/replace.h"
|
||||
|
||||
/* Lists, trees, caching, database... */
|
||||
#include "talloc/talloc.h"
|
||||
|
@ -11,18 +11,6 @@ AC_HEADER_TIME
|
||||
|
||||
# wait
|
||||
AC_HEADER_SYS_WAIT
|
||||
AC_CACHE_CHECK([for sig_atomic_t type],samba_cv_sig_atomic_t, [
|
||||
AC_TRY_COMPILE([
|
||||
#include <sys/types.h>
|
||||
#if STDC_HEADERS
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#endif
|
||||
#include <signal.h>],[sig_atomic_t i = 0],
|
||||
samba_cv_sig_atomic_t=yes,samba_cv_sig_atomic_t=no)])
|
||||
if test x"$samba_cv_sig_atomic_t" = x"yes"; then
|
||||
AC_DEFINE(HAVE_SIG_ATOMIC_T_TYPE,1,[Whether we have the atomic_t variable type])
|
||||
fi
|
||||
|
||||
# capability
|
||||
AC_CHECK_HEADERS(sys/capability.h)
|
||||
|
@ -24,13 +24,6 @@
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Define additional missing types
|
||||
*/
|
||||
#ifndef HAVE_SIG_ATOMIC_T_TYPE
|
||||
typedef int sig_atomic_t;
|
||||
#endif
|
||||
|
||||
#ifndef SIGCLD
|
||||
#define SIGCLD SIGCHLD
|
||||
#endif
|
||||
|
@ -1,12 +1,12 @@
|
||||
[SUBSYSTEM::LIBCMDLINE_CREDENTIALS]
|
||||
PRIVATE_PROTO_HEADER = credentials.h
|
||||
OBJ_FILES = credentials.o
|
||||
PUBLIC_DEPENDENCIES = CREDENTIALS LIBPOPT
|
||||
PUBLIC_DEPENDENCIES = CREDENTIALS POPT_EXT
|
||||
|
||||
[SUBSYSTEM::POPT_SAMBA]
|
||||
PUBLIC_HEADERS = popt_common.h
|
||||
OBJ_FILES = popt_common.o
|
||||
PUBLIC_DEPENDENCIES = LIBPOPT
|
||||
PUBLIC_DEPENDENCIES = POPT_EXT
|
||||
|
||||
[SUBSYSTEM::POPT_CREDENTIALS]
|
||||
PRIVATE_PROTO_HEADER = popt_credentials.h
|
||||
|
@ -200,7 +200,7 @@ OBJ_FILES = \
|
||||
[SUBSYSTEM::LIBLDB_CMDLINE]
|
||||
OBJ_FILES= \
|
||||
tools/cmdline.o
|
||||
PUBLIC_DEPENDENCIES = ldb LIBSAMBA-UTIL LIBPOPT POPT_SAMBA POPT_CREDENTIALS
|
||||
PUBLIC_DEPENDENCIES = ldb LIBSAMBA-UTIL POPT_EXT POPT_SAMBA POPT_CREDENTIALS
|
||||
PRIVATE_DEPENDENCIES = gensec
|
||||
# End SUBSYSTEM LIBLDB_CMDLINE
|
||||
################################################
|
||||
|
@ -110,7 +110,7 @@ PUBLIC_HEADERS = registry.h
|
||||
INSTALLDIR = BINDIR
|
||||
OBJ_FILES = tools/regdiff.o
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBSAMBA-CONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS
|
||||
LIBSAMBA-CONFIG registry POPT_EXT POPT_SAMBA POPT_CREDENTIALS
|
||||
MANPAGE = man/regdiff.1
|
||||
# End BINARY regdiff
|
||||
################################################
|
||||
@ -121,7 +121,7 @@ MANPAGE = man/regdiff.1
|
||||
INSTALLDIR = BINDIR
|
||||
OBJ_FILES = tools/regpatch.o
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBSAMBA-CONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS
|
||||
LIBSAMBA-CONFIG registry POPT_EXT POPT_SAMBA POPT_CREDENTIALS
|
||||
MANPAGE = man/regpatch.1
|
||||
# End BINARY regpatch
|
||||
################################################
|
||||
@ -132,7 +132,7 @@ MANPAGE = man/regpatch.1
|
||||
INSTALLDIR = BINDIR
|
||||
OBJ_FILES = tools/regshell.o
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBSAMBA-CONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
|
||||
LIBSAMBA-CONFIG POPT_EXT registry POPT_SAMBA POPT_CREDENTIALS \
|
||||
SMBREADLINE
|
||||
MANPAGE = man/regshell.1
|
||||
# End BINARY regshell
|
||||
@ -144,7 +144,7 @@ MANPAGE = man/regshell.1
|
||||
INSTALLDIR = BINDIR
|
||||
OBJ_FILES = tools/regtree.o
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBSAMBA-CONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS
|
||||
LIBSAMBA-CONFIG POPT_EXT registry POPT_SAMBA POPT_CREDENTIALS
|
||||
MANPAGE = man/regtree.1
|
||||
# End BINARY regtree
|
||||
################################################
|
||||
|
@ -76,7 +76,7 @@ OBJ_FILES = \
|
||||
PUBLIC_DEPENDENCIES = \
|
||||
EJS LIBSAMBA-UTIL \
|
||||
EJSRPC MESSAGING \
|
||||
LIBSAMBA-NET LIBCLI_SMB LIBPOPT \
|
||||
LIBSAMBA-NET LIBCLI_SMB POPT_EXT \
|
||||
POPT_CREDENTIALS POPT_SAMBA \
|
||||
dcerpc \
|
||||
NDR_TABLE
|
||||
|
@ -37,7 +37,7 @@ PRIVATE_DEPENDENCIES = \
|
||||
LIBSAMBA-UTIL \
|
||||
PIDFILE \
|
||||
POPT_SAMBA \
|
||||
LIBPOPT \
|
||||
POPT_EXT \
|
||||
gensec \
|
||||
registry \
|
||||
ntptr \
|
||||
|
@ -270,7 +270,7 @@ OBJ_FILES = \
|
||||
smbtorture.o
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
torture \
|
||||
LIBPOPT \
|
||||
POPT_EXT \
|
||||
POPT_SAMBA \
|
||||
POPT_CREDENTIALS \
|
||||
TORTURE_UI \
|
||||
@ -289,7 +289,7 @@ OBJ_FILES = \
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBSAMBA-CONFIG \
|
||||
LIBSAMBA-UTIL \
|
||||
LIBPOPT \
|
||||
POPT_EXT \
|
||||
POPT_SAMBA \
|
||||
POPT_CREDENTIALS \
|
||||
LIBCLI_SMB \
|
||||
@ -307,7 +307,7 @@ OBJ_FILES = \
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBSAMBA-CONFIG \
|
||||
LIBSAMBA-UTIL \
|
||||
LIBPOPT \
|
||||
POPT_EXT \
|
||||
POPT_SAMBA \
|
||||
POPT_CREDENTIALS \
|
||||
LIBCLI_SMB
|
||||
|
@ -9,7 +9,7 @@ OBJ_FILES = \
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBSAMBA-CONFIG \
|
||||
LIBSAMBA-UTIL \
|
||||
LIBPOPT \
|
||||
POPT_EXT \
|
||||
POPT_SAMBA \
|
||||
NDR_TABLE
|
||||
MANPAGE = man/ndrdump.1
|
||||
@ -26,7 +26,7 @@ OBJ_FILES = \
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBSAMBA-CONFIG \
|
||||
LIBSAMBA-UTIL \
|
||||
LIBPOPT \
|
||||
POPT_EXT \
|
||||
POPT_SAMBA \
|
||||
POPT_CREDENTIALS \
|
||||
gensec \
|
||||
@ -83,7 +83,7 @@ PRIVATE_DEPENDENCIES = \
|
||||
LIBSAMBA-CONFIG \
|
||||
LIBSAMBA-UTIL \
|
||||
LIBCLI_NBT \
|
||||
LIBPOPT \
|
||||
POPT_EXT \
|
||||
POPT_SAMBA \
|
||||
LIBNETIF \
|
||||
LIBCLI_RESOLVE
|
||||
@ -99,7 +99,7 @@ OBJ_FILES = \
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBSAMBA-CONFIG \
|
||||
LIBSAMBA-UTIL \
|
||||
LIBPOPT \
|
||||
POPT_EXT \
|
||||
samba-socket \
|
||||
POPT_SAMBA \
|
||||
LIBCLI_RESOLVE \
|
||||
|
@ -16,7 +16,7 @@ PRIVATE_DEPENDENCIES = \
|
||||
LIBSAMBA-CONFIG \
|
||||
LIBSAMBA-UTIL \
|
||||
LIBSAMBA-NET \
|
||||
LIBPOPT \
|
||||
POPT_EXT \
|
||||
POPT_SAMBA \
|
||||
POPT_CREDENTIALS
|
||||
# End BINARY net
|
||||
|
Loading…
Reference in New Issue
Block a user