diff options
-rw-r--r-- | lib/compression/lzxpress.c (renamed from compression/lzxpress.c) | 0 | ||||
-rw-r--r-- | lib/compression/lzxpress.h (renamed from compression/lzxpress.h) | 0 | ||||
-rw-r--r-- | lib/compression/mszip.c (renamed from compression/mszip.c) | 0 | ||||
-rw-r--r-- | lib/compression/mszip.h (renamed from compression/mszip.h) | 0 | ||||
-rw-r--r-- | lib/compression/testsuite.c (renamed from compression/testsuite.c) | 0 | ||||
-rw-r--r-- | lib/nss_wrapper/config.m4 (renamed from nss_wrapper/config.m4) | 2 | ||||
-rw-r--r-- | lib/nss_wrapper/config.mk (renamed from nss_wrapper/config.mk) | 0 | ||||
-rw-r--r-- | lib/nss_wrapper/nss_wrapper.c (renamed from nss_wrapper/nss_wrapper.c) | 0 | ||||
-rw-r--r-- | lib/nss_wrapper/nss_wrapper.h (renamed from nss_wrapper/nss_wrapper.h) | 0 | ||||
-rw-r--r-- | lib/nss_wrapper/nss_wrapper.pl (renamed from nss_wrapper/nss_wrapper.pl) | 0 | ||||
-rw-r--r-- | lib/popt/CHANGES (renamed from popt/CHANGES) | 0 | ||||
-rw-r--r-- | lib/popt/COPYING (renamed from popt/COPYING) | 0 | ||||
-rw-r--r-- | lib/popt/README (renamed from popt/README) | 0 | ||||
-rw-r--r-- | lib/popt/config.mk (renamed from popt/config.mk) | 0 | ||||
-rw-r--r-- | lib/popt/dummy.in (renamed from popt/dummy.in) | 0 | ||||
-rw-r--r-- | lib/popt/findme.c (renamed from popt/findme.c) | 0 | ||||
-rw-r--r-- | lib/popt/findme.h (renamed from popt/findme.h) | 0 | ||||
-rw-r--r-- | lib/popt/libpopt.m4 (renamed from popt/libpopt.m4) | 0 | ||||
-rw-r--r-- | lib/popt/popt.c (renamed from popt/popt.c) | 0 | ||||
-rw-r--r-- | lib/popt/popt.h (renamed from popt/popt.h) | 0 | ||||
-rw-r--r-- | lib/popt/poptconfig.c (renamed from popt/poptconfig.c) | 0 | ||||
-rw-r--r-- | lib/popt/popthelp.c (renamed from popt/popthelp.c) | 0 | ||||
-rw-r--r-- | lib/popt/poptint.h (renamed from popt/poptint.h) | 0 | ||||
-rw-r--r-- | lib/popt/poptparse.c (renamed from popt/poptparse.c) | 0 | ||||
-rw-r--r-- | lib/popt/samba.m4 (renamed from popt/samba.m4) | 4 | ||||
-rw-r--r-- | lib/popt/system.h (renamed from popt/system.h) | 0 | ||||
-rw-r--r-- | lib/replace/.checker_innocent (renamed from replace/.checker_innocent) | 0 | ||||
-rw-r--r-- | lib/replace/Makefile.in (renamed from replace/Makefile.in) | 0 | ||||
-rw-r--r-- | lib/replace/README (renamed from replace/README) | 0 | ||||
-rw-r--r-- | lib/replace/aclocal.m4 (renamed from replace/aclocal.m4) | 0 | ||||
-rw-r--r-- | lib/replace/autoconf-2.60.m4 (renamed from replace/autoconf-2.60.m4) | 0 | ||||
-rwxr-xr-x | lib/replace/autogen.sh (renamed from replace/autogen.sh) | 0 | ||||
-rwxr-xr-x | lib/replace/config.guess (renamed from replace/config.guess) | 0 | ||||
-rwxr-xr-x | lib/replace/config.sub (renamed from replace/config.sub) | 0 | ||||
-rw-r--r-- | lib/replace/configure.ac (renamed from replace/configure.ac) | 0 | ||||
-rw-r--r-- | lib/replace/dlfcn.c (renamed from replace/dlfcn.c) | 0 | ||||
-rw-r--r-- | lib/replace/dlfcn.m4 (renamed from replace/dlfcn.m4) | 0 | ||||
-rw-r--r-- | lib/replace/getaddrinfo.c (renamed from replace/getaddrinfo.c) | 0 | ||||
-rw-r--r-- | lib/replace/getaddrinfo.h (renamed from replace/getaddrinfo.h) | 0 | ||||
-rw-r--r-- | lib/replace/getifaddrs.c (renamed from replace/getifaddrs.c) | 0 | ||||
-rw-r--r-- | lib/replace/getpass.c (renamed from replace/getpass.c) | 0 | ||||
-rw-r--r-- | lib/replace/getpass.m4 (renamed from replace/getpass.m4) | 0 | ||||
-rw-r--r-- | lib/replace/inet_aton.c (renamed from replace/inet_aton.c) | 0 | ||||
-rw-r--r-- | lib/replace/inet_ntoa.c (renamed from replace/inet_ntoa.c) | 0 | ||||
-rw-r--r-- | lib/replace/inet_ntop.c (renamed from replace/inet_ntop.c) | 0 | ||||
-rw-r--r-- | lib/replace/inet_pton.c (renamed from replace/inet_pton.c) | 0 | ||||
-rwxr-xr-x | lib/replace/install-sh (renamed from replace/install-sh) | 0 | ||||
-rw-r--r-- | lib/replace/libreplace.m4 (renamed from replace/libreplace.m4) | 9 | ||||
-rw-r--r-- | lib/replace/libreplace_cc.m4 (renamed from replace/libreplace_cc.m4) | 0 | ||||
-rw-r--r-- | lib/replace/libreplace_ld.m4 (renamed from replace/libreplace_ld.m4) | 0 | ||||
-rw-r--r-- | lib/replace/libreplace_macros.m4 (renamed from replace/libreplace_macros.m4) | 0 | ||||
-rw-r--r-- | lib/replace/libreplace_network.m4 (renamed from replace/libreplace_network.m4) | 0 | ||||
-rw-r--r-- | lib/replace/repdir.m4 (renamed from replace/repdir.m4) | 0 | ||||
-rw-r--r-- | lib/replace/repdir_getdents.c (renamed from replace/repdir_getdents.c) | 0 | ||||
-rw-r--r-- | lib/replace/repdir_getdirentries.c (renamed from replace/repdir_getdirentries.c) | 0 | ||||
-rw-r--r-- | lib/replace/replace.c (renamed from replace/replace.c) | 0 | ||||
-rw-r--r-- | lib/replace/replace.h (renamed from replace/replace.h) | 0 | ||||
-rw-r--r-- | lib/replace/samba.m4 (renamed from replace/samba.m4) | 0 | ||||
-rw-r--r-- | lib/replace/snprintf.c (renamed from replace/snprintf.c) | 0 | ||||
-rw-r--r-- | lib/replace/socket.c (renamed from replace/socket.c) | 0 | ||||
-rw-r--r-- | lib/replace/socketpair.c (renamed from replace/socketpair.c) | 0 | ||||
-rw-r--r-- | lib/replace/strptime.c (renamed from replace/strptime.c) | 0 | ||||
-rw-r--r-- | lib/replace/strptime.m4 (renamed from replace/strptime.m4) | 0 | ||||
-rw-r--r-- | lib/replace/system/README (renamed from replace/system/README) | 0 | ||||
-rw-r--r-- | lib/replace/system/aio.h (renamed from replace/system/aio.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/capability.h (renamed from replace/system/capability.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/config.m4 (renamed from replace/system/config.m4) | 0 | ||||
-rw-r--r-- | lib/replace/system/dir.h (renamed from replace/system/dir.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/filesys.h (renamed from replace/system/filesys.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/glob.h (renamed from replace/system/glob.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/iconv.h (renamed from replace/system/iconv.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/kerberos.h (renamed from replace/system/kerberos.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/locale.h (renamed from replace/system/locale.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/network.h (renamed from replace/system/network.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/passwd.h (renamed from replace/system/passwd.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/readline.h (renamed from replace/system/readline.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/select.h (renamed from replace/system/select.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/shmem.h (renamed from replace/system/shmem.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/syslog.h (renamed from replace/system/syslog.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/terminal.h (renamed from replace/system/terminal.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/time.h (renamed from replace/system/time.h) | 0 | ||||
-rw-r--r-- | lib/replace/system/wait.h (renamed from replace/system/wait.h) | 0 | ||||
-rw-r--r-- | lib/replace/test/getifaddrs.c (renamed from replace/test/getifaddrs.c) | 0 | ||||
-rw-r--r-- | lib/replace/test/os2_delete.c (renamed from replace/test/os2_delete.c) | 0 | ||||
-rw-r--r-- | lib/replace/test/shared_mmap.c (renamed from replace/test/shared_mmap.c) | 0 | ||||
-rw-r--r-- | lib/replace/test/strptime.c (renamed from replace/test/strptime.c) | 0 | ||||
-rw-r--r-- | lib/replace/test/testsuite.c (renamed from replace/test/testsuite.c) | 0 | ||||
-rw-r--r-- | lib/replace/timegm.c (renamed from replace/timegm.c) | 0 | ||||
-rw-r--r-- | lib/replace/timegm.m4 (renamed from replace/timegm.m4) | 0 | ||||
-rw-r--r-- | lib/replace/win32.m4 (renamed from replace/win32.m4) | 0 | ||||
-rw-r--r-- | lib/replace/win32_replace.h (renamed from replace/win32_replace.h) | 0 | ||||
-rw-r--r-- | lib/socket_wrapper/config.m4 (renamed from socket_wrapper/config.m4) | 2 | ||||
-rw-r--r-- | lib/socket_wrapper/config.mk (renamed from socket_wrapper/config.mk) | 0 | ||||
-rw-r--r-- | lib/socket_wrapper/socket_wrapper.c (renamed from socket_wrapper/socket_wrapper.c) | 0 | ||||
-rw-r--r-- | lib/socket_wrapper/socket_wrapper.h (renamed from socket_wrapper/socket_wrapper.h) | 0 | ||||
-rw-r--r-- | lib/socket_wrapper/testsuite.c (renamed from socket_wrapper/testsuite.c) | 0 | ||||
-rw-r--r-- | lib/talloc/Makefile.in (renamed from talloc/Makefile.in) | 0 | ||||
-rw-r--r-- | lib/talloc/NEWS (renamed from talloc/NEWS) | 0 | ||||
-rw-r--r-- | lib/talloc/aclocal.m4 (renamed from talloc/aclocal.m4) | 0 | ||||
-rwxr-xr-x | lib/talloc/autogen.sh (renamed from talloc/autogen.sh) | 0 | ||||
-rwxr-xr-x | lib/talloc/config.guess (renamed from talloc/config.guess) | 0 | ||||
-rw-r--r-- | lib/talloc/config.mk (renamed from talloc/config.mk) | 0 | ||||
-rwxr-xr-x | lib/talloc/config.sub (renamed from talloc/config.sub) | 0 | ||||
-rw-r--r-- | lib/talloc/configure.ac (renamed from talloc/configure.ac) | 0 | ||||
-rwxr-xr-x | lib/talloc/install-sh (renamed from talloc/install-sh) | 0 | ||||
-rw-r--r-- | lib/talloc/libtalloc.m4 (renamed from talloc/libtalloc.m4) | 2 | ||||
-rw-r--r-- | lib/talloc/rules.mk (renamed from talloc/rules.mk) | 0 | ||||
-rw-r--r-- | lib/talloc/talloc.3.xml (renamed from talloc/talloc.3.xml) | 0 | ||||
-rw-r--r-- | lib/talloc/talloc.c (renamed from talloc/talloc.c) | 0 | ||||
-rw-r--r-- | lib/talloc/talloc.h (renamed from talloc/talloc.h) | 0 | ||||
-rw-r--r-- | lib/talloc/talloc.i (renamed from talloc/talloc.i) | 0 | ||||
-rw-r--r-- | lib/talloc/talloc.mk (renamed from talloc/talloc.mk) | 0 | ||||
-rw-r--r-- | lib/talloc/talloc.pc.in (renamed from talloc/talloc.pc.in) | 0 | ||||
-rw-r--r-- | lib/talloc/talloc_guide.txt (renamed from talloc/talloc_guide.txt) | 0 | ||||
-rw-r--r-- | lib/talloc/testsuite.c (renamed from talloc/testsuite.c) | 0 | ||||
-rw-r--r-- | lib/talloc/web/index.html (renamed from talloc/web/index.html) | 0 | ||||
-rw-r--r-- | lib/tdb/Makefile.in (renamed from tdb/Makefile.in) | 0 | ||||
-rw-r--r-- | lib/tdb/aclocal.m4 (renamed from tdb/aclocal.m4) | 0 | ||||
-rwxr-xr-x | lib/tdb/autogen.sh (renamed from tdb/autogen.sh) | 0 | ||||
-rw-r--r-- | lib/tdb/common/dump.c (renamed from tdb/common/dump.c) | 0 | ||||
-rw-r--r-- | lib/tdb/common/error.c (renamed from tdb/common/error.c) | 0 | ||||
-rw-r--r-- | lib/tdb/common/freelist.c (renamed from tdb/common/freelist.c) | 0 | ||||
-rw-r--r-- | lib/tdb/common/freelistcheck.c (renamed from tdb/common/freelistcheck.c) | 0 | ||||
-rw-r--r-- | lib/tdb/common/io.c (renamed from tdb/common/io.c) | 0 | ||||
-rw-r--r-- | lib/tdb/common/lock.c (renamed from tdb/common/lock.c) | 0 | ||||
-rw-r--r-- | lib/tdb/common/open.c (renamed from tdb/common/open.c) | 0 | ||||
-rw-r--r-- | lib/tdb/common/tdb.c (renamed from tdb/common/tdb.c) | 0 | ||||
-rw-r--r-- | lib/tdb/common/tdb_private.h (renamed from tdb/common/tdb_private.h) | 0 | ||||
-rw-r--r-- | lib/tdb/common/transaction.c (renamed from tdb/common/transaction.c) | 0 | ||||
-rw-r--r-- | lib/tdb/common/traverse.c (renamed from tdb/common/traverse.c) | 0 | ||||
-rwxr-xr-x | lib/tdb/config.guess (renamed from tdb/config.guess) | 0 | ||||
-rw-r--r-- | lib/tdb/config.mk (renamed from tdb/config.mk) | 0 | ||||
-rwxr-xr-x | lib/tdb/config.sub (renamed from tdb/config.sub) | 0 | ||||
-rw-r--r-- | lib/tdb/configure.ac (renamed from tdb/configure.ac) | 0 | ||||
-rw-r--r-- | lib/tdb/docs/README (renamed from tdb/docs/README) | 0 | ||||
-rw-r--r-- | lib/tdb/docs/tdb.magic (renamed from tdb/docs/tdb.magic) | 0 | ||||
-rw-r--r-- | lib/tdb/include/tdb.h (renamed from tdb/include/tdb.h) | 0 | ||||
-rwxr-xr-x | lib/tdb/install-sh (renamed from tdb/install-sh) | 0 | ||||
-rw-r--r-- | lib/tdb/libtdb.m4 (renamed from tdb/libtdb.m4) | 2 | ||||
-rw-r--r-- | lib/tdb/python.mk (renamed from tdb/python.mk) | 0 | ||||
-rw-r--r-- | lib/tdb/python/tdbdump.py (renamed from tdb/python/tdbdump.py) | 0 | ||||
-rw-r--r-- | lib/tdb/python/tests/simple.py (renamed from tdb/python/tests/simple.py) | 0 | ||||
-rw-r--r-- | lib/tdb/rules.mk (renamed from tdb/rules.mk) | 0 | ||||
-rw-r--r-- | lib/tdb/tdb.i (renamed from tdb/tdb.i) | 0 | ||||
-rw-r--r-- | lib/tdb/tdb.mk (renamed from tdb/tdb.mk) | 0 | ||||
-rw-r--r-- | lib/tdb/tdb.pc.in (renamed from tdb/tdb.pc.in) | 0 | ||||
-rw-r--r-- | lib/tdb/tdb.py (renamed from tdb/tdb.py) | 0 | ||||
-rw-r--r-- | lib/tdb/tdb_wrap.c (renamed from tdb/tdb_wrap.c) | 0 | ||||
-rw-r--r-- | lib/tdb/tools/tdbbackup.c (renamed from tdb/tools/tdbbackup.c) | 0 | ||||
-rw-r--r-- | lib/tdb/tools/tdbdump.c (renamed from tdb/tools/tdbdump.c) | 0 | ||||
-rw-r--r-- | lib/tdb/tools/tdbtest.c (renamed from tdb/tools/tdbtest.c) | 0 | ||||
-rw-r--r-- | lib/tdb/tools/tdbtool.c (renamed from tdb/tools/tdbtool.c) | 0 | ||||
-rw-r--r-- | lib/tdb/tools/tdbtorture.c (renamed from tdb/tools/tdbtorture.c) | 0 | ||||
-rw-r--r-- | lib/tdb/web/index.html (renamed from tdb/web/index.html) | 0 | ||||
-rw-r--r-- | source3/Makefile.in | 2 | ||||
-rwxr-xr-x | source3/autogen.sh | 2 | ||||
-rw-r--r-- | source3/configure.in | 14 | ||||
-rw-r--r-- | source3/m4/aclocal.m4 | 2 | ||||
-rw-r--r-- | source3/samba4.m4 | 8 | ||||
-rw-r--r-- | source4/Makefile | 12 | ||||
-rw-r--r-- | source4/aclocal.m4 | 2 | ||||
-rwxr-xr-x | source4/autogen.sh | 2 | ||||
-rw-r--r-- | source4/configure.ac | 20 | ||||
-rw-r--r-- | source4/librpc/ndr/ndr_compression.c | 2 | ||||
-rw-r--r-- | source4/main.mk | 4 | ||||
-rw-r--r-- | source4/torture/local/config.mk | 14 |
166 files changed, 55 insertions, 50 deletions
diff --git a/compression/lzxpress.c b/lib/compression/lzxpress.c index 0abbfc4d3d5..0abbfc4d3d5 100644 --- a/compression/lzxpress.c +++ b/lib/compression/lzxpress.c diff --git a/compression/lzxpress.h b/lib/compression/lzxpress.h index df0ee59a0e4..df0ee59a0e4 100644 --- a/compression/lzxpress.h +++ b/lib/compression/lzxpress.h diff --git a/compression/mszip.c b/lib/compression/mszip.c index 9aa1772414b..9aa1772414b 100644 --- a/compression/mszip.c +++ b/lib/compression/mszip.c diff --git a/compression/mszip.h b/lib/compression/mszip.h index bb835f25954..bb835f25954 100644 --- a/compression/mszip.h +++ b/lib/compression/mszip.h diff --git a/compression/testsuite.c b/lib/compression/testsuite.c index b9cebb2e8d1..b9cebb2e8d1 100644 --- a/compression/testsuite.c +++ b/lib/compression/testsuite.c diff --git a/nss_wrapper/config.m4 b/lib/nss_wrapper/config.m4 index 9b86b4dbb87..45423788d12 100644 --- a/nss_wrapper/config.m4 +++ b/lib/nss_wrapper/config.m4 @@ -12,7 +12,7 @@ if eval "test x$enable_nss_wrapper = xyes"; then HAVE_NSS_WRAPPER=yes # this is only used for samba3 - NSS_WRAPPER_OBJS="../nss_wrapper/nss_wrapper.o" + NSS_WRAPPER_OBJS="../lib/nss_wrapper/nss_wrapper.o" fi AC_SUBST(HAVE_NSS_WRAPPER) diff --git a/nss_wrapper/config.mk b/lib/nss_wrapper/config.mk index 015fbe511ce..015fbe511ce 100644 --- a/nss_wrapper/config.mk +++ b/lib/nss_wrapper/config.mk diff --git a/nss_wrapper/nss_wrapper.c b/lib/nss_wrapper/nss_wrapper.c index da090832b06..da090832b06 100644 --- a/nss_wrapper/nss_wrapper.c +++ b/lib/nss_wrapper/nss_wrapper.c diff --git a/nss_wrapper/nss_wrapper.h b/lib/nss_wrapper/nss_wrapper.h index 35a47348a83..35a47348a83 100644 --- a/nss_wrapper/nss_wrapper.h +++ b/lib/nss_wrapper/nss_wrapper.h diff --git a/nss_wrapper/nss_wrapper.pl b/lib/nss_wrapper/nss_wrapper.pl index b1c9be5365b..b1c9be5365b 100644 --- a/nss_wrapper/nss_wrapper.pl +++ b/lib/nss_wrapper/nss_wrapper.pl diff --git a/popt/CHANGES b/lib/popt/CHANGES index db16a5fdd00..db16a5fdd00 100644 --- a/popt/CHANGES +++ b/lib/popt/CHANGES diff --git a/popt/COPYING b/lib/popt/COPYING index b4c7ca876c6..b4c7ca876c6 100644 --- a/popt/COPYING +++ b/lib/popt/COPYING diff --git a/popt/README b/lib/popt/README index 0b5205bfdd7..0b5205bfdd7 100644 --- a/popt/README +++ b/lib/popt/README diff --git a/popt/config.mk b/lib/popt/config.mk index 04cc2c7ea53..04cc2c7ea53 100644 --- a/popt/config.mk +++ b/lib/popt/config.mk diff --git a/popt/dummy.in b/lib/popt/dummy.in index e69de29bb2d..e69de29bb2d 100644 --- a/popt/dummy.in +++ b/lib/popt/dummy.in diff --git a/popt/findme.c b/lib/popt/findme.c index b28981ba1f4..b28981ba1f4 100644 --- a/popt/findme.c +++ b/lib/popt/findme.c diff --git a/popt/findme.h b/lib/popt/findme.h index a016b867ea2..a016b867ea2 100644 --- a/popt/findme.h +++ b/lib/popt/findme.h diff --git a/popt/libpopt.m4 b/lib/popt/libpopt.m4 index 79980d1d6b5..79980d1d6b5 100644 --- a/popt/libpopt.m4 +++ b/lib/popt/libpopt.m4 diff --git a/popt/popt.c b/lib/popt/popt.c index d9e8411b9f2..d9e8411b9f2 100644 --- a/popt/popt.c +++ b/lib/popt/popt.c diff --git a/popt/popt.h b/lib/popt/popt.h index 08701d73b5e..08701d73b5e 100644 --- a/popt/popt.h +++ b/lib/popt/popt.h diff --git a/popt/poptconfig.c b/lib/popt/poptconfig.c index 837828ccf92..837828ccf92 100644 --- a/popt/poptconfig.c +++ b/lib/popt/poptconfig.c diff --git a/popt/popthelp.c b/lib/popt/popthelp.c index e965ff6168e..e965ff6168e 100644 --- a/popt/popthelp.c +++ b/lib/popt/popthelp.c diff --git a/popt/poptint.h b/lib/popt/poptint.h index 5d308efe96a..5d308efe96a 100644 --- a/popt/poptint.h +++ b/lib/popt/poptint.h diff --git a/popt/poptparse.c b/lib/popt/poptparse.c index b03deef0850..b03deef0850 100644 --- a/popt/poptparse.c +++ b/lib/popt/poptparse.c diff --git a/popt/samba.m4 b/lib/popt/samba.m4 index 9ee77dfa13a..627dd854b27 100644 --- a/popt/samba.m4 +++ b/lib/popt/samba.m4 @@ -1,8 +1,8 @@ -m4_include(../popt/libpopt.m4) +m4_include(../lib/popt/libpopt.m4) if test x"$POPT_OBJ" = "x"; then SMB_EXT_LIB(LIBPOPT, [${POPT_LIBS}]) else - SMB_INCLUDE_MK(../popt/config.mk) + SMB_INCLUDE_MK(../lib/popt/config.mk) fi diff --git a/popt/system.h b/lib/popt/system.h index 1d1b9dae887..1d1b9dae887 100644 --- a/popt/system.h +++ b/lib/popt/system.h diff --git a/replace/.checker_innocent b/lib/replace/.checker_innocent index e6191765409..e6191765409 100644 --- a/replace/.checker_innocent +++ b/lib/replace/.checker_innocent diff --git a/replace/Makefile.in b/lib/replace/Makefile.in index c989835a8d3..c989835a8d3 100644 --- a/replace/Makefile.in +++ b/lib/replace/Makefile.in diff --git a/replace/README b/lib/replace/README index 4d94317c4b0..4d94317c4b0 100644 --- a/replace/README +++ b/lib/replace/README diff --git a/replace/aclocal.m4 b/lib/replace/aclocal.m4 index 5605e476bab..5605e476bab 100644 --- a/replace/aclocal.m4 +++ b/lib/replace/aclocal.m4 diff --git a/replace/autoconf-2.60.m4 b/lib/replace/autoconf-2.60.m4 index acdcd38efe6..acdcd38efe6 100644 --- a/replace/autoconf-2.60.m4 +++ b/lib/replace/autoconf-2.60.m4 diff --git a/replace/autogen.sh b/lib/replace/autogen.sh index d46a4279f30..d46a4279f30 100755 --- a/replace/autogen.sh +++ b/lib/replace/autogen.sh diff --git a/replace/config.guess b/lib/replace/config.guess index 354dbe175ab..354dbe175ab 100755 --- a/replace/config.guess +++ b/lib/replace/config.guess diff --git a/replace/config.sub b/lib/replace/config.sub index 23cd6fd75c8..23cd6fd75c8 100755 --- a/replace/config.sub +++ b/lib/replace/config.sub diff --git a/replace/configure.ac b/lib/replace/configure.ac index 81997e09b7d..81997e09b7d 100644 --- a/replace/configure.ac +++ b/lib/replace/configure.ac diff --git a/replace/dlfcn.c b/lib/replace/dlfcn.c index 3b109d7e404..3b109d7e404 100644 --- a/replace/dlfcn.c +++ b/lib/replace/dlfcn.c diff --git a/replace/dlfcn.m4 b/lib/replace/dlfcn.m4 index 42f56f26be3..42f56f26be3 100644 --- a/replace/dlfcn.m4 +++ b/lib/replace/dlfcn.m4 diff --git a/replace/getaddrinfo.c b/lib/replace/getaddrinfo.c index c5cd52be93c..c5cd52be93c 100644 --- a/replace/getaddrinfo.c +++ b/lib/replace/getaddrinfo.c diff --git a/replace/getaddrinfo.h b/lib/replace/getaddrinfo.h index dddd699b623..dddd699b623 100644 --- a/replace/getaddrinfo.h +++ b/lib/replace/getaddrinfo.h diff --git a/replace/getifaddrs.c b/lib/replace/getifaddrs.c index f6f0ec080c2..f6f0ec080c2 100644 --- a/replace/getifaddrs.c +++ b/lib/replace/getifaddrs.c diff --git a/replace/getpass.c b/lib/replace/getpass.c index 0be618fc916..0be618fc916 100644 --- a/replace/getpass.c +++ b/lib/replace/getpass.c diff --git a/replace/getpass.m4 b/lib/replace/getpass.m4 index b93817f9d35..b93817f9d35 100644 --- a/replace/getpass.m4 +++ b/lib/replace/getpass.m4 diff --git a/replace/inet_aton.c b/lib/replace/inet_aton.c index c6b3bb11a74..c6b3bb11a74 100644 --- a/replace/inet_aton.c +++ b/lib/replace/inet_aton.c diff --git a/replace/inet_ntoa.c b/lib/replace/inet_ntoa.c index e3b80ebef8b..e3b80ebef8b 100644 --- a/replace/inet_ntoa.c +++ b/lib/replace/inet_ntoa.c diff --git a/replace/inet_ntop.c b/lib/replace/inet_ntop.c index fb3d8e90c8a..fb3d8e90c8a 100644 --- a/replace/inet_ntop.c +++ b/lib/replace/inet_ntop.c diff --git a/replace/inet_pton.c b/lib/replace/inet_pton.c index 80e4865ef49..80e4865ef49 100644 --- a/replace/inet_pton.c +++ b/lib/replace/inet_pton.c diff --git a/replace/install-sh b/lib/replace/install-sh index 58719246f04..58719246f04 100755 --- a/replace/install-sh +++ b/lib/replace/install-sh diff --git a/replace/libreplace.m4 b/lib/replace/libreplace.m4 index 71fa0416721..dc7d88e6e18 100644 --- a/replace/libreplace.m4 +++ b/lib/replace/libreplace.m4 @@ -5,7 +5,7 @@ echo "LIBREPLACE_LOCATION_CHECKS: START" dnl find the libreplace sources. This is meant to work both for dnl libreplace standalone builds, and builds of packages using libreplace libreplacedir="" -libreplacepaths="$srcdir $srcdir/lib/replace $srcdir/libreplace $srcdir/../libreplace $srcdir/../replace" +libreplacepaths="$srcdir $srcdir/lib/replace $srcdir/libreplace $srcdir/../libreplace $srcdir/../replace $srcdir/../lib/replace" for d in $libreplacepaths; do if test -f "$d/replace.c"; then libreplacedir="$d" @@ -34,13 +34,18 @@ echo "LIBREPLACE_BROKEN_CHECKS: START" dnl find the libreplace sources. This is meant to work both for dnl libreplace standalone builds, and builds of packages using libreplace libreplacedir="" -for d in "$srcdir" "$srcdir/lib/replace" "$srcdir/libreplace" "$srcdir/../libreplace" "$srcdir/../replace"; do +libreplacepaths="$srcdir $srcdir/lib/replace $srcdir/libreplace $srcdir/../libreplace $srcdir/../replace $srcdir/../lib/replace" +for d in $libreplacepaths; do if test -f "$d/replace.c"; then libreplacedir="$d" AC_SUBST(libreplacedir) break; fi done +if test x"$libreplacedir" = "x"; then + AC_MSG_ERROR([cannot find libreplace in $libreplacepaths]) +fi + LIBREPLACEOBJ="replace.o" AC_SUBST(LIBREPLACEOBJ) diff --git a/replace/libreplace_cc.m4 b/lib/replace/libreplace_cc.m4 index 30c63f2f058..30c63f2f058 100644 --- a/replace/libreplace_cc.m4 +++ b/lib/replace/libreplace_cc.m4 diff --git a/replace/libreplace_ld.m4 b/lib/replace/libreplace_ld.m4 index 81bde46219e..81bde46219e 100644 --- a/replace/libreplace_ld.m4 +++ b/lib/replace/libreplace_ld.m4 diff --git a/replace/libreplace_macros.m4 b/lib/replace/libreplace_macros.m4 index 1856eacf66e..1856eacf66e 100644 --- a/replace/libreplace_macros.m4 +++ b/lib/replace/libreplace_macros.m4 diff --git a/replace/libreplace_network.m4 b/lib/replace/libreplace_network.m4 index 4edb55c03a2..4edb55c03a2 100644 --- a/replace/libreplace_network.m4 +++ b/lib/replace/libreplace_network.m4 diff --git a/replace/repdir.m4 b/lib/replace/repdir.m4 index f53a4c29745..f53a4c29745 100644 --- a/replace/repdir.m4 +++ b/lib/replace/repdir.m4 diff --git a/replace/repdir_getdents.c b/lib/replace/repdir_getdents.c index afc634a7962..afc634a7962 100644 --- a/replace/repdir_getdents.c +++ b/lib/replace/repdir_getdents.c diff --git a/replace/repdir_getdirentries.c b/lib/replace/repdir_getdirentries.c index 197e5931fc7..197e5931fc7 100644 --- a/replace/repdir_getdirentries.c +++ b/lib/replace/repdir_getdirentries.c diff --git a/replace/replace.c b/lib/replace/replace.c index 98d799b07e8..98d799b07e8 100644 --- a/replace/replace.c +++ b/lib/replace/replace.c diff --git a/replace/replace.h b/lib/replace/replace.h index c69ea6cdac4..c69ea6cdac4 100644 --- a/replace/replace.h +++ b/lib/replace/replace.h diff --git a/replace/samba.m4 b/lib/replace/samba.m4 index 07c4d38887e..07c4d38887e 100644 --- a/replace/samba.m4 +++ b/lib/replace/samba.m4 diff --git a/replace/snprintf.c b/lib/replace/snprintf.c index c54d721ce5e..c54d721ce5e 100644 --- a/replace/snprintf.c +++ b/lib/replace/snprintf.c diff --git a/replace/socket.c b/lib/replace/socket.c index 35e975fce74..35e975fce74 100644 --- a/replace/socket.c +++ b/lib/replace/socket.c diff --git a/replace/socketpair.c b/lib/replace/socketpair.c index c7757309522..c7757309522 100644 --- a/replace/socketpair.c +++ b/lib/replace/socketpair.c diff --git a/replace/strptime.c b/lib/replace/strptime.c index 0e40f7561ac..0e40f7561ac 100644 --- a/replace/strptime.c +++ b/lib/replace/strptime.c diff --git a/replace/strptime.m4 b/lib/replace/strptime.m4 index da22fc5a978..da22fc5a978 100644 --- a/replace/strptime.m4 +++ b/lib/replace/strptime.m4 diff --git a/replace/system/README b/lib/replace/system/README index 69a2b80b56c..69a2b80b56c 100644 --- a/replace/system/README +++ b/lib/replace/system/README diff --git a/replace/system/aio.h b/lib/replace/system/aio.h index 784d77fa280..784d77fa280 100644 --- a/replace/system/aio.h +++ b/lib/replace/system/aio.h diff --git a/replace/system/capability.h b/lib/replace/system/capability.h index a7b78f02756..a7b78f02756 100644 --- a/replace/system/capability.h +++ b/lib/replace/system/capability.h diff --git a/replace/system/config.m4 b/lib/replace/system/config.m4 index 5c9b53d5c59..5c9b53d5c59 100644 --- a/replace/system/config.m4 +++ b/lib/replace/system/config.m4 diff --git a/replace/system/dir.h b/lib/replace/system/dir.h index dec2d546492..dec2d546492 100644 --- a/replace/system/dir.h +++ b/lib/replace/system/dir.h diff --git a/replace/system/filesys.h b/lib/replace/system/filesys.h index 4bf1f648650..4bf1f648650 100644 --- a/replace/system/filesys.h +++ b/lib/replace/system/filesys.h diff --git a/replace/system/glob.h b/lib/replace/system/glob.h index 3e23db6828f..3e23db6828f 100644 --- a/replace/system/glob.h +++ b/lib/replace/system/glob.h diff --git a/replace/system/iconv.h b/lib/replace/system/iconv.h index 3c8a71f2f7b..3c8a71f2f7b 100644 --- a/replace/system/iconv.h +++ b/lib/replace/system/iconv.h diff --git a/replace/system/kerberos.h b/lib/replace/system/kerberos.h index 2981024bee5..2981024bee5 100644 --- a/replace/system/kerberos.h +++ b/lib/replace/system/kerberos.h diff --git a/replace/system/locale.h b/lib/replace/system/locale.h index e73a9bb2748..e73a9bb2748 100644 --- a/replace/system/locale.h +++ b/lib/replace/system/locale.h diff --git a/replace/system/network.h b/lib/replace/system/network.h index 473d79b5f29..473d79b5f29 100644 --- a/replace/system/network.h +++ b/lib/replace/system/network.h diff --git a/replace/system/passwd.h b/lib/replace/system/passwd.h index 9d7de34bce9..9d7de34bce9 100644 --- a/replace/system/passwd.h +++ b/lib/replace/system/passwd.h diff --git a/replace/system/readline.h b/lib/replace/system/readline.h index ba34dc6a612..ba34dc6a612 100644 --- a/replace/system/readline.h +++ b/lib/replace/system/readline.h diff --git a/replace/system/select.h b/lib/replace/system/select.h index da18de0cfc7..da18de0cfc7 100644 --- a/replace/system/select.h +++ b/lib/replace/system/select.h diff --git a/replace/system/shmem.h b/lib/replace/system/shmem.h index 64fe39b6cb2..64fe39b6cb2 100644 --- a/replace/system/shmem.h +++ b/lib/replace/system/shmem.h diff --git a/replace/system/syslog.h b/lib/replace/system/syslog.h index 104be1df848..104be1df848 100644 --- a/replace/system/syslog.h +++ b/lib/replace/system/syslog.h diff --git a/replace/system/terminal.h b/lib/replace/system/terminal.h index 9ad601ace08..9ad601ace08 100644 --- a/replace/system/terminal.h +++ b/lib/replace/system/terminal.h diff --git a/replace/system/time.h b/lib/replace/system/time.h index 4abf295d1af..4abf295d1af 100644 --- a/replace/system/time.h +++ b/lib/replace/system/time.h diff --git a/replace/system/wait.h b/lib/replace/system/wait.h index 5784b1ae924..5784b1ae924 100644 --- a/replace/system/wait.h +++ b/lib/replace/system/wait.h diff --git a/replace/test/getifaddrs.c b/lib/replace/test/getifaddrs.c index 8b00ac2f40c..8b00ac2f40c 100644 --- a/replace/test/getifaddrs.c +++ b/lib/replace/test/getifaddrs.c diff --git a/replace/test/os2_delete.c b/lib/replace/test/os2_delete.c index b45c135355a..b45c135355a 100644 --- a/replace/test/os2_delete.c +++ b/lib/replace/test/os2_delete.c diff --git a/replace/test/shared_mmap.c b/lib/replace/test/shared_mmap.c index 50dad8d6964..50dad8d6964 100644 --- a/replace/test/shared_mmap.c +++ b/lib/replace/test/shared_mmap.c diff --git a/replace/test/strptime.c b/lib/replace/test/strptime.c index fade3ecc575..fade3ecc575 100644 --- a/replace/test/strptime.c +++ b/lib/replace/test/strptime.c diff --git a/replace/test/testsuite.c b/lib/replace/test/testsuite.c index 1e8290906e1..1e8290906e1 100644 --- a/replace/test/testsuite.c +++ b/lib/replace/test/testsuite.c diff --git a/replace/timegm.c b/lib/replace/timegm.c index 395c684e117..395c684e117 100644 --- a/replace/timegm.c +++ b/lib/replace/timegm.c diff --git a/replace/timegm.m4 b/lib/replace/timegm.m4 index 59f3ae05211..59f3ae05211 100644 --- a/replace/timegm.m4 +++ b/lib/replace/timegm.m4 diff --git a/replace/win32.m4 b/lib/replace/win32.m4 index eb364e2cb9f..eb364e2cb9f 100644 --- a/replace/win32.m4 +++ b/lib/replace/win32.m4 diff --git a/replace/win32_replace.h b/lib/replace/win32_replace.h index 9901e72f6ef..9901e72f6ef 100644 --- a/replace/win32_replace.h +++ b/lib/replace/win32_replace.h diff --git a/socket_wrapper/config.m4 b/lib/socket_wrapper/config.m4 index 23f033e664a..68e392b3e70 100644 --- a/socket_wrapper/config.m4 +++ b/lib/socket_wrapper/config.m4 @@ -14,7 +14,7 @@ if eval "test x$enable_socket_wrapper = xyes"; then HAVE_SOCKET_WRAPPER=yes # this is only used for samba3 - SOCKET_WRAPPER_OBJS="../socket_wrapper/socket_wrapper.o" + SOCKET_WRAPPER_OBJS="../lib/socket_wrapper/socket_wrapper.o" fi AC_SUBST(DEFAULT_TEST_OPTIONS) diff --git a/socket_wrapper/config.mk b/lib/socket_wrapper/config.mk index 60cfb3209ad..60cfb3209ad 100644 --- a/socket_wrapper/config.mk +++ b/lib/socket_wrapper/config.mk diff --git a/socket_wrapper/socket_wrapper.c b/lib/socket_wrapper/socket_wrapper.c index e8d27adc37f..e8d27adc37f 100644 --- a/socket_wrapper/socket_wrapper.c +++ b/lib/socket_wrapper/socket_wrapper.c diff --git a/socket_wrapper/socket_wrapper.h b/lib/socket_wrapper/socket_wrapper.h index cc8b9376086..cc8b9376086 100644 --- a/socket_wrapper/socket_wrapper.h +++ b/lib/socket_wrapper/socket_wrapper.h diff --git a/socket_wrapper/testsuite.c b/lib/socket_wrapper/testsuite.c index e6e08e3be68..e6e08e3be68 100644 --- a/socket_wrapper/testsuite.c +++ b/lib/socket_wrapper/testsuite.c diff --git a/talloc/Makefile.in b/lib/talloc/Makefile.in index 07b8fd4ff0f..07b8fd4ff0f 100644 --- a/talloc/Makefile.in +++ b/lib/talloc/Makefile.in diff --git a/talloc/NEWS b/lib/talloc/NEWS index e5b3aa0731c..e5b3aa0731c 100644 --- a/talloc/NEWS +++ b/lib/talloc/NEWS diff --git a/talloc/aclocal.m4 b/lib/talloc/aclocal.m4 index 5605e476bab..5605e476bab 100644 --- a/talloc/aclocal.m4 +++ b/lib/talloc/aclocal.m4 diff --git a/talloc/autogen.sh b/lib/talloc/autogen.sh index bf84eeee19a..bf84eeee19a 100755 --- a/talloc/autogen.sh +++ b/lib/talloc/autogen.sh diff --git a/talloc/config.guess b/lib/talloc/config.guess index 354dbe175ab..354dbe175ab 100755 --- a/talloc/config.guess +++ b/lib/talloc/config.guess diff --git a/talloc/config.mk b/lib/talloc/config.mk index 5cdf3a1a8e1..5cdf3a1a8e1 100644 --- a/talloc/config.mk +++ b/lib/talloc/config.mk diff --git a/talloc/config.sub b/lib/talloc/config.sub index 23cd6fd75c8..23cd6fd75c8 100755 --- a/talloc/config.sub +++ b/lib/talloc/config.sub diff --git a/talloc/configure.ac b/lib/talloc/configure.ac index 4719aa04b59..4719aa04b59 100644 --- a/talloc/configure.ac +++ b/lib/talloc/configure.ac diff --git a/talloc/install-sh b/lib/talloc/install-sh index 58719246f04..58719246f04 100755 --- a/talloc/install-sh +++ b/lib/talloc/install-sh diff --git a/talloc/libtalloc.m4 b/lib/talloc/libtalloc.m4 index fd2b4b22cdb..e6830fbef68 100644 --- a/talloc/libtalloc.m4 +++ b/lib/talloc/libtalloc.m4 @@ -1,7 +1,7 @@ dnl find the talloc sources. This is meant to work both for dnl talloc standalone builds, and builds of packages using talloc tallocdir="" -tallocpaths=". lib/talloc talloc ../talloc" +tallocpaths=". lib/talloc talloc ../talloc ../lib/talloc" for d in $tallocpaths; do if test -f "$srcdir/$d/talloc.c"; then tallocdir="$d" diff --git a/talloc/rules.mk b/lib/talloc/rules.mk index 6cee126529c..6cee126529c 100644 --- a/talloc/rules.mk +++ b/lib/talloc/rules.mk diff --git a/talloc/talloc.3.xml b/lib/talloc/talloc.3.xml index 67de15bfc8b..67de15bfc8b 100644 --- a/talloc/talloc.3.xml +++ b/lib/talloc/talloc.3.xml diff --git a/talloc/talloc.c b/lib/talloc/talloc.c index 1f7e52439f8..1f7e52439f8 100644 --- a/talloc/talloc.c +++ b/lib/talloc/talloc.c diff --git a/talloc/talloc.h b/lib/talloc/talloc.h index 5431971655e..5431971655e 100644 --- a/talloc/talloc.h +++ b/lib/talloc/talloc.h diff --git a/talloc/talloc.i b/lib/talloc/talloc.i index a9afb97ed76..a9afb97ed76 100644 --- a/talloc/talloc.i +++ b/lib/talloc/talloc.i diff --git a/talloc/talloc.mk b/lib/talloc/talloc.mk index e1fe88c84b6..e1fe88c84b6 100644 --- a/talloc/talloc.mk +++ b/lib/talloc/talloc.mk diff --git a/talloc/talloc.pc.in b/lib/talloc/talloc.pc.in index 459cce70b1d..459cce70b1d 100644 --- a/talloc/talloc.pc.in +++ b/lib/talloc/talloc.pc.in diff --git a/talloc/talloc_guide.txt b/lib/talloc/talloc_guide.txt index 18663b370d9..18663b370d9 100644 --- a/talloc/talloc_guide.txt +++ b/lib/talloc/talloc_guide.txt diff --git a/talloc/testsuite.c b/lib/talloc/testsuite.c index 3f06eee5667..3f06eee5667 100644 --- a/talloc/testsuite.c +++ b/lib/talloc/testsuite.c diff --git a/talloc/web/index.html b/lib/talloc/web/index.html index 5deab936653..5deab936653 100644 --- a/talloc/web/index.html +++ b/lib/talloc/web/index.html diff --git a/tdb/Makefile.in b/lib/tdb/Makefile.in index 090bb6e2dcf..090bb6e2dcf 100644 --- a/tdb/Makefile.in +++ b/lib/tdb/Makefile.in diff --git a/tdb/aclocal.m4 b/lib/tdb/aclocal.m4 index 5605e476bab..5605e476bab 100644 --- a/tdb/aclocal.m4 +++ b/lib/tdb/aclocal.m4 diff --git a/tdb/autogen.sh b/lib/tdb/autogen.sh index 88ac4cfcf73..88ac4cfcf73 100755 --- a/tdb/autogen.sh +++ b/lib/tdb/autogen.sh diff --git a/tdb/common/dump.c b/lib/tdb/common/dump.c index d1c902ddfda..d1c902ddfda 100644 --- a/tdb/common/dump.c +++ b/lib/tdb/common/dump.c diff --git a/tdb/common/error.c b/lib/tdb/common/error.c index 195ab238154..195ab238154 100644 --- a/tdb/common/error.c +++ b/lib/tdb/common/error.c diff --git a/tdb/common/freelist.c b/lib/tdb/common/freelist.c index 2f2a4c379b0..2f2a4c379b0 100644 --- a/tdb/common/freelist.c +++ b/lib/tdb/common/freelist.c diff --git a/tdb/common/freelistcheck.c b/lib/tdb/common/freelistcheck.c index efc050df9c6..efc050df9c6 100644 --- a/tdb/common/freelistcheck.c +++ b/lib/tdb/common/freelistcheck.c diff --git a/tdb/common/io.c b/lib/tdb/common/io.c index 661f7614892..661f7614892 100644 --- a/tdb/common/io.c +++ b/lib/tdb/common/io.c diff --git a/tdb/common/lock.c b/lib/tdb/common/lock.c index f156c0fa7b2..f156c0fa7b2 100644 --- a/tdb/common/lock.c +++ b/lib/tdb/common/lock.c diff --git a/tdb/common/open.c b/lib/tdb/common/open.c index b19e4cea293..b19e4cea293 100644 --- a/tdb/common/open.c +++ b/lib/tdb/common/open.c diff --git a/tdb/common/tdb.c b/lib/tdb/common/tdb.c index c7cec297f6c..c7cec297f6c 100644 --- a/tdb/common/tdb.c +++ b/lib/tdb/common/tdb.c diff --git a/tdb/common/tdb_private.h b/lib/tdb/common/tdb_private.h index ffac89ff0e3..ffac89ff0e3 100644 --- a/tdb/common/tdb_private.h +++ b/lib/tdb/common/tdb_private.h diff --git a/tdb/common/transaction.c b/lib/tdb/common/transaction.c index 7acda640c8d..7acda640c8d 100644 --- a/tdb/common/transaction.c +++ b/lib/tdb/common/transaction.c diff --git a/tdb/common/traverse.c b/lib/tdb/common/traverse.c index 69c81e6e98f..69c81e6e98f 100644 --- a/tdb/common/traverse.c +++ b/lib/tdb/common/traverse.c diff --git a/tdb/config.guess b/lib/tdb/config.guess index 354dbe175ab..354dbe175ab 100755 --- a/tdb/config.guess +++ b/lib/tdb/config.guess diff --git a/tdb/config.mk b/lib/tdb/config.mk index 90c9ba2863b..90c9ba2863b 100644 --- a/tdb/config.mk +++ b/lib/tdb/config.mk diff --git a/tdb/config.sub b/lib/tdb/config.sub index 23cd6fd75c8..23cd6fd75c8 100755 --- a/tdb/config.sub +++ b/lib/tdb/config.sub diff --git a/tdb/configure.ac b/lib/tdb/configure.ac index eaf70d30b44..eaf70d30b44 100644 --- a/tdb/configure.ac +++ b/lib/tdb/configure.ac diff --git a/tdb/docs/README b/lib/tdb/docs/README index 63fcf5e049b..63fcf5e049b 100644 --- a/tdb/docs/README +++ b/lib/tdb/docs/README diff --git a/tdb/docs/tdb.magic b/lib/tdb/docs/tdb.magic index f5619e7327e..f5619e7327e 100644 --- a/tdb/docs/tdb.magic +++ b/lib/tdb/docs/tdb.magic diff --git a/tdb/include/tdb.h b/lib/tdb/include/tdb.h index 0008085de54..0008085de54 100644 --- a/tdb/include/tdb.h +++ b/lib/tdb/include/tdb.h diff --git a/tdb/install-sh b/lib/tdb/install-sh index 58719246f04..58719246f04 100755 --- a/tdb/install-sh +++ b/lib/tdb/install-sh diff --git a/tdb/libtdb.m4 b/lib/tdb/libtdb.m4 index 1e17a7a4f23..252e0b0be30 100644 --- a/tdb/libtdb.m4 +++ b/lib/tdb/libtdb.m4 @@ -1,7 +1,7 @@ dnl find the tdb sources. This is meant to work both for dnl tdb standalone builds, and builds of packages using tdb tdbdir="" -tdbpaths="$srcdir $srcdir/lib/tdb $srcdir/tdb $srcdir/../tdb" +tdbpaths="$srcdir $srcdir/lib/tdb $srcdir/tdb $srcdir/../tdb $srcdir/../lib/tdb" for d in $tdbpaths; do if test -f "$d/common/tdb.c"; then tdbdir="$d" diff --git a/tdb/python.mk b/lib/tdb/python.mk index 12e8217df99..12e8217df99 100644 --- a/tdb/python.mk +++ b/lib/tdb/python.mk diff --git a/tdb/python/tdbdump.py b/lib/tdb/python/tdbdump.py index d759d771c87..d759d771c87 100644 --- a/tdb/python/tdbdump.py +++ b/lib/tdb/python/tdbdump.py diff --git a/tdb/python/tests/simple.py b/lib/tdb/python/tests/simple.py index 7147718c91f..7147718c91f 100644 --- a/tdb/python/tests/simple.py +++ b/lib/tdb/python/tests/simple.py diff --git a/tdb/rules.mk b/lib/tdb/rules.mk index 7b765625dfc..7b765625dfc 100644 --- a/tdb/rules.mk +++ b/lib/tdb/rules.mk diff --git a/tdb/tdb.i b/lib/tdb/tdb.i index 3d8b697732f..3d8b697732f 100644 --- a/tdb/tdb.i +++ b/lib/tdb/tdb.i diff --git a/tdb/tdb.mk b/lib/tdb/tdb.mk index fa8db6d34cf..fa8db6d34cf 100644 --- a/tdb/tdb.mk +++ b/lib/tdb/tdb.mk diff --git a/tdb/tdb.pc.in b/lib/tdb/tdb.pc.in index 6f8f553736c..6f8f553736c 100644 --- a/tdb/tdb.pc.in +++ b/lib/tdb/tdb.pc.in diff --git a/tdb/tdb.py b/lib/tdb/tdb.py index 9f306bab8c4..9f306bab8c4 100644 --- a/tdb/tdb.py +++ b/lib/tdb/tdb.py diff --git a/tdb/tdb_wrap.c b/lib/tdb/tdb_wrap.c index 32665d79fd9..32665d79fd9 100644 --- a/tdb/tdb_wrap.c +++ b/lib/tdb/tdb_wrap.c diff --git a/tdb/tools/tdbbackup.c b/lib/tdb/tools/tdbbackup.c index 6f3ca48314f..6f3ca48314f 100644 --- a/tdb/tools/tdbbackup.c +++ b/lib/tdb/tools/tdbbackup.c diff --git a/tdb/tools/tdbdump.c b/lib/tdb/tools/tdbdump.c index 8d930383b09..8d930383b09 100644 --- a/tdb/tools/tdbdump.c +++ b/lib/tdb/tools/tdbdump.c diff --git a/tdb/tools/tdbtest.c b/lib/tdb/tools/tdbtest.c index 416bc50a5b0..416bc50a5b0 100644 --- a/tdb/tools/tdbtest.c +++ b/lib/tdb/tools/tdbtest.c diff --git a/tdb/tools/tdbtool.c b/lib/tdb/tools/tdbtool.c index d104ccd7c44..d104ccd7c44 100644 --- a/tdb/tools/tdbtool.c +++ b/lib/tdb/tools/tdbtool.c diff --git a/tdb/tools/tdbtorture.c b/lib/tdb/tools/tdbtorture.c index 9265cf07aa2..9265cf07aa2 100644 --- a/tdb/tools/tdbtorture.c +++ b/lib/tdb/tools/tdbtorture.c diff --git a/tdb/web/index.html b/lib/tdb/web/index.html index a53da6b8f77..a53da6b8f77 100644 --- a/tdb/web/index.html +++ b/lib/tdb/web/index.html diff --git a/source3/Makefile.in b/source3/Makefile.in index d4a4914825f..032efd53a3a 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -249,7 +249,7 @@ LIBNDR_DRSUAPI_OBJ = librpc/ndr/ndr_drsuapi.o \ librpc/gen_ndr/ndr_drsuapi.o \ librpc/gen_ndr/ndr_drsblobs.o -COMPRESSION_OBJ = ../compression/mszip.o +COMPRESSION_OBJ = ../lib/compression/mszip.o DRSUAPI_OBJ = $(LIBNDR_DRSUAPI_OBJ) \ $(COMPRESSION_OBJ) diff --git a/source3/autogen.sh b/source3/autogen.sh index e27e817d616..deed774b39e 100755 --- a/source3/autogen.sh +++ b/source3/autogen.sh @@ -53,7 +53,7 @@ echo "$0: running script/mkversion.sh" rm -rf autom4te*.cache rm -f configure include/config.h* -IPATHS="-Im4 -I../replace -I../source4" +IPATHS="-Im4 -I../lib/replace -I../source4" echo "$0: running $AUTOHEADER $IPATHS" $AUTOHEADER $IPATHS || exit 1 diff --git a/source3/configure.in b/source3/configure.in index fd0ea4361ae..294092e7214 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -23,7 +23,7 @@ m4_include(m4/check_path.m4) AC_LIBREPLACE_CC_CHECKS -m4_include(../talloc/libtalloc.m4) +m4_include(../lib/talloc/libtalloc.m4) LIBTALLOC_OBJ0="" for obj in ${TALLOC_OBJ}; do @@ -33,7 +33,7 @@ AC_SUBST(LIBTALLOC_OBJ0) # TODO: These should come from m4_include(lib/tdb/libtdb.m4) # but currently this fails: things have to get merged from s4. -tdbdir="../tdb" +tdbdir="../lib/tdb" AC_SUBST(tdbdir) TDB_CFLAGS="-I${srcdir-.}/$tdbdir/include" AC_SUBST(TDB_CFLAGS) @@ -48,13 +48,13 @@ done AC_SUBST(LIBTDB_OBJ0) SAMBA_CPPFLAGS="-Iinclude -I${srcdir-.}/include -I. -I${srcdir-.}" -SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/../replace" +SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/../lib/replace" SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} ${TALLOC_CFLAGS}" SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} ${TDB_CFLAGS}" SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/libaddns" SAMBA_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/librpc" -SAMBA_CONFIGURE_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/../popt" +SAMBA_CONFIGURE_CPPFLAGS="${SAMBA_CPPFLAGS} -I${srcdir-.}/../lib/popt" ## cleanup the $(srcdir) in the Makefile if we are outside of the tree if test "x${srcdir-.}" != "x."; then @@ -131,8 +131,8 @@ else CFLAGS="-O" fi -m4_include(../socket_wrapper/config.m4) -m4_include(../nss_wrapper/config.m4) +m4_include(../lib/socket_wrapper/config.m4) +m4_include(../lib/nss_wrapper/config.m4) m4_include(m4/swat.m4) @@ -5872,7 +5872,7 @@ if test x"$INCLUDED_POPT" = x"yes"; then AC_MSG_RESULT(yes) BUILD_POPT='$(POPT_OBJ)' POPTLIBS='$(POPT_OBJ)' - FLAGS1="-I\$(srcdir)/../popt" + FLAGS1="-I\$(srcdir)/../lib/popt" else AC_MSG_RESULT(no) BUILD_POPT="" diff --git a/source3/m4/aclocal.m4 b/source3/m4/aclocal.m4 index beeabbba788..aae729c8257 100644 --- a/source3/m4/aclocal.m4 +++ b/source3/m4/aclocal.m4 @@ -886,4 +886,4 @@ int main(void) ]) ]) -m4_include(../replace/libreplace.m4) +m4_include(../lib/replace/libreplace.m4) diff --git a/source3/samba4.m4 b/source3/samba4.m4 index 19d3cc141be..8ac9372ff37 100644 --- a/source3/samba4.m4 +++ b/source3/samba4.m4 @@ -31,19 +31,19 @@ AC_CONFIG_FILES(../source4/librpc/dcerpc_atsvc.pc) SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= 1.2.0, [], [ - SMB_INCLUDE_MK(../talloc/config.mk) + SMB_INCLUDE_MK(../lib/talloc/config.mk) ] ) SMB_EXT_LIB_FROM_PKGCONFIG(LIBTDB, tdb >= 1.1.0, [], [ - m4_include(../tdb/libtdb.m4) - SMB_INCLUDE_MK(../tdb/config.mk) + m4_include(../lib/tdb/libtdb.m4) + SMB_INCLUDE_MK(../lib/tdb/config.mk) ] ) -SMB_INCLUDE_MK(../tdb/python.mk) +SMB_INCLUDE_MK(../lib/tdb/python.mk) SMB_EXT_LIB_FROM_PKGCONFIG(LIBLDB, ldb >= 0.9.1, [ diff --git a/source4/Makefile b/source4/Makefile index 04f0ae94575..91390d833f8 100644 --- a/source4/Makefile +++ b/source4/Makefile @@ -62,7 +62,7 @@ libsrcdir := lib libsocketsrcdir := lib/socket libcharsetsrcdir := lib/charset ldb_sambasrcdir := lib/ldb-samba -tdbsrcdir := ../tdb +tdbsrcdir := ../lib/tdb ldbsrcdir := lib/ldb libtlssrcdir := lib/tls libregistrysrcdir := lib/registry @@ -70,9 +70,9 @@ smbreadlinesrcdir := lib/smbreadline libmessagingsrcdir := lib/messaging libeventssrcdir := lib/events libcmdlinesrcdir := lib/cmdline -poptsrcdir := ../popt -socketwrappersrcdir := ../socket_wrapper -nsswrappersrcdir := ../nss_wrapper +poptsrcdir := ../lib/popt +socketwrappersrcdir := ../lib/socket_wrapper +nsswrappersrcdir := ../lib/nss_wrapper appwebsrcdir := lib/appweb libstreamsrcdir := lib/stream libutilsrcdir := lib/util @@ -81,7 +81,7 @@ libdbwrapsrcdir := lib/dbwrap libcryptosrcdir := lib/crypto libtorturesrcdir := lib/torture smb_serversrcdir := smb_server -libcompressionsrcdir := ../compression +libcompressionsrcdir := ../lib/compression libgencachesrcdir := lib paramsrcdir := param rpc_serversrcdir := rpc_server @@ -103,7 +103,7 @@ pyscriptsrcdir := $(srcdir)/scripting/python kdcsrcdir := kdc ntp_signdsrcdir := ntp_signd wmisrcdir := lib/wmi -tallocsrcdir := ../talloc +tallocsrcdir := ../lib/talloc include data.mk diff --git a/source4/aclocal.m4 b/source4/aclocal.m4 index 0e75fa51f5f..240a994f9df 100644 --- a/source4/aclocal.m4 +++ b/source4/aclocal.m4 @@ -53,7 +53,7 @@ AC_DEFUN(LIB_REMOVE_USR_LIB,[ $1=[$]ac_new_flags ]) -m4_include(../replace/libreplace.m4) +m4_include(../lib/replace/libreplace.m4) m4_include(build/m4/ax_cflags_gcc_option.m4) m4_include(build/m4/ax_cflags_irix_option.m4) m4_include(build/m4/public.m4) diff --git a/source4/autogen.sh b/source4/autogen.sh index 89f5abeb96e..a56c5a22387 100755 --- a/source4/autogen.sh +++ b/source4/autogen.sh @@ -53,7 +53,7 @@ echo "$0: running script/mkversion.sh" rm -rf autom4te*.cache rm -f configure include/config_tmp.h* -IPATHS="-I. -I../replace" +IPATHS="-I. -I../lib/replace" echo "$0: running $AUTOHEADER $IPATHS" $AUTOHEADER $IPATHS || exit 1 diff --git a/source4/configure.ac b/source4/configure.ac index 357121a43ba..099da400e73 100644 --- a/source4/configure.ac +++ b/source4/configure.ac @@ -11,7 +11,7 @@ AC_DEFINE(CONFIG_H_IS_FROM_SAMBA,1,[Marker for samba's config.h]) # Configuration rules. m4_include(build/m4/env.m4) -m4_include(../replace/samba.m4) +m4_include(../lib/replace/samba.m4) m4_include(lib/smbreadline/readline.m4) m4_include(heimdal_build/config.m4) m4_include(lib/util/fault.m4) @@ -21,7 +21,7 @@ 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(../popt/samba.m4) +m4_include(../lib/popt/samba.m4) m4_include(lib/charset/config.m4) m4_include(lib/socket/config.m4) m4_include(lib/zlib.m4) @@ -41,20 +41,20 @@ AC_CONFIG_FILES(librpc/dcerpc_atsvc.pc) SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= 1.2.0, [], [ - m4_include(../talloc/libtalloc.m4) - SMB_INCLUDE_MK(../talloc/config.mk) + m4_include(../lib/talloc/libtalloc.m4) + SMB_INCLUDE_MK(../lib/talloc/config.mk) ] ) SMB_EXT_LIB_FROM_PKGCONFIG(LIBTDB, tdb >= 1.1.0, [], [ - m4_include(../tdb/libtdb.m4) - SMB_INCLUDE_MK(../tdb/config.mk) + m4_include(../lib/tdb/libtdb.m4) + SMB_INCLUDE_MK(../lib/tdb/config.mk) ] ) -SMB_INCLUDE_MK(../tdb/python.mk) +SMB_INCLUDE_MK(../lib/tdb/python.mk) SMB_EXT_LIB_FROM_PKGCONFIG(LIBLDB, ldb >= 0.9.1, [ @@ -99,8 +99,8 @@ m4_include(auth/gensec/config.m4) m4_include(smbd/process_model.m4) m4_include(ntvfs/posix/config.m4) m4_include(ntvfs/unixuid/config.m4) -m4_include(../socket_wrapper/config.m4) -m4_include(../nss_wrapper/config.m4) +m4_include(../lib/socket_wrapper/config.m4) +m4_include(../lib/nss_wrapper/config.m4) m4_include(auth/config.m4) m4_include(kdc/config.m4) m4_include(ntvfs/sysdep/config.m4) @@ -159,7 +159,7 @@ then builddir_headers="-I\$(builddir)/include -I\$(builddir) -I\$(builddir)/lib "; fi -CPPFLAGS="$builddir_headers-I\$(srcdir)/include -I\$(srcdir) -I\$(srcdir)/lib -I\$(srcdir)/../replace -I\$(srcdir)/../talloc -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H $CPPFLAGS" +CPPFLAGS="$builddir_headers-I\$(srcdir)/include -I\$(srcdir) -I\$(srcdir)/lib -I\$(srcdir)/../lib/replace -I\$(srcdir)/../lib/talloc -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H $CPPFLAGS" SMB_WRITE_PERLVARS(build/smb_build/config.pm) diff --git a/source4/librpc/ndr/ndr_compression.c b/source4/librpc/ndr/ndr_compression.c index 92c5b049df2..05a80e20b2c 100644 --- a/source4/librpc/ndr/ndr_compression.c +++ b/source4/librpc/ndr/ndr_compression.c @@ -21,7 +21,7 @@ */ #include "includes.h" -#include "lib/compression/lzxpress.h" +#include "../lib/compression/lzxpress.h" #include "librpc/ndr/libndr.h" #include "librpc/ndr/ndr_compression.h" #include <zlib.h> diff --git a/source4/main.mk b/source4/main.mk index 5ab9f95c053..ddeb4baf2ec 100644 --- a/source4/main.mk +++ b/source4/main.mk @@ -16,8 +16,8 @@ mkinclude lib/registry/config.mk mkinclude lib/messaging/config.mk mkinclude lib/events/config.mk mkinclude lib/cmdline/config.mk -mkinclude ../socket_wrapper/config.mk -mkinclude ../nss_wrapper/config.mk +mkinclude ../lib/socket_wrapper/config.mk +mkinclude ../lib/nss_wrapper/config.mk mkinclude lib/appweb/config.mk mkinclude lib/stream/config.mk mkinclude lib/util/config.mk diff --git a/source4/torture/local/config.mk b/source4/torture/local/config.mk index 54cbdae837a..4cd9f6c865d 100644 --- a/source4/torture/local/config.mk +++ b/source4/torture/local/config.mk @@ -20,23 +20,23 @@ PRIVATE_DEPENDENCIES = \ TORTURE_LOCAL_OBJ_FILES = \ $(torturesrcdir)/../lib/charset/tests/iconv.o \ - $(torturesrcdir)/../../talloc/testsuite.o \ - $(torturesrcdir)/../../replace/test/getifaddrs.o \ - $(torturesrcdir)/../../replace/test/os2_delete.o \ - $(torturesrcdir)/../../replace/test/strptime.o \ - $(torturesrcdir)/../../replace/test/testsuite.o \ + $(torturesrcdir)/../../lib/talloc/testsuite.o \ + $(torturesrcdir)/../../lib/replace/test/getifaddrs.o \ + $(torturesrcdir)/../../lib/replace/test/os2_delete.o \ + $(torturesrcdir)/../../lib/replace/test/strptime.o \ + $(torturesrcdir)/../../lib/replace/test/testsuite.o \ $(torturesrcdir)/../lib/messaging/tests/messaging.o \ $(torturesrcdir)/../lib/messaging/tests/irpc.o \ $(torturesrcdir)/../librpc/tests/binding_string.o \ $(torturesrcdir)/../lib/util/tests/idtree.o \ $(torturesrcdir)/../lib/socket/testsuite.o \ - $(torturesrcdir)/../../socket_wrapper/testsuite.o \ + $(torturesrcdir)/../../lib/socket_wrapper/testsuite.o \ $(torturesrcdir)/../libcli/resolve/testsuite.o \ $(torturesrcdir)/../lib/util/tests/strlist.o \ $(torturesrcdir)/../lib/util/tests/str.o \ $(torturesrcdir)/../lib/util/tests/file.o \ $(torturesrcdir)/../lib/util/tests/genrand.o \ - $(torturesrcdir)/../../compression/testsuite.o \ + $(torturesrcdir)/../../lib/compression/testsuite.o \ $(torturesrcdir)/../lib/charset/tests/charset.o \ $(torturesrcdir)/../libcli/security/tests/sddl.o \ $(torturesrcdir)/../lib/tdr/testsuite.o \ |