1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

24 Commits

Author SHA1 Message Date
Volker Lendecke
2f6026248e Add dyn_NCALRPCDIR 2008-10-06 09:54:16 +02:00
Jelmer Vernooij
94855cd692 Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
Jelmer Vernooij
0888ffa2b7 Make Samba 3 and Samba 4 both use the same single copy of libreplace. 2008-09-16 16:30:14 +02:00
Michael Adam
e2ec27135d build: fix bug #5590 by not linking in the static libs but the objects.
Michael
(This used to be commit 6ad2090391a92ebe822b2d7b80e180c251dc8e7a)
2008-08-20 22:38:08 +02:00
Michael Adam
c617b69b11 build: fall down to the same place when using an internal lib statically.
Michael
(This used to be commit 702c0bc04668117e3521d687b9b5a87fd7e0f1b1)
2008-08-20 22:38:07 +02:00
Michael Adam
2408d3cf87 configure: use libdir=${prefix}/lib and modules=${libdir}/samba as default with-fhs.
This is what one actually wants:
Shared/static libs in /usr/lib, shared modules and so on in /usr/lib/samba.

Michael
(This used to be commit 03de8c1955a85f2e3e9f947309e09023138a1591)
2008-08-15 23:20:00 +02:00
Michael Adam
5e683fc925 configure: use ${libdir} instead of \${LIBDIR}.
Now after removing --with-libdir, the value of ${libdir} won't change
anymore at that stage, so there is no need to have the variable expansion
deferred to "make".

Michael
(This used to be commit 256977cf05cb4c4073ece1389a7e4939b18f5f13)
2008-08-15 23:19:59 +02:00
Michael Adam
14a6982a50 configure: remove the --with-libdir parameter.
This is redundant: use the autoconf-provided --libdir instead.
This will also make the new distinction between libdir and modulesdir
more visible.

Michael
(This used to be commit c1d53b7c767275b39dc8ecfcd5b6129ee2cabb6d)
2008-08-15 23:19:59 +02:00
Michael Adam
e9739694b6 configure: Add --with-modulesdir to accompany --with-libdir.
This starts the seplitting of libdir in to libdir and modulesdir.
Our shared libs should go into libdir, the internal shared modules,
codepages, and other stuff that was originally in libdir, should
go into modulesdir.

The idea behind this is, that in a typical installation,
the shared (and static) libraries (as libtalloc, libsmbclient,
libwbclient and others) should be put into /usr/lib, while
the e.g. the vfs modules should reside in /usr/lib/samba.

This is meant to ease the work of packagers and reduce
the needs for manual interaction and workarounds.

Michael
(This used to be commit b17d1ff646e22c3e979224d119b283fc3af780a8)
2008-08-15 23:19:56 +02:00
Zach Loafman
45bbad9ca0 Add --enable-picky-developer
This adds an --enable-picky-developer option that will halt compilation
on warnings. Yes, this could be handled by a direct Makefile change, but
people should be encourage to do it!
(This used to be commit 10a2ab40771b7d0222f339a87a45630a23ce4788)
2008-07-22 15:00:48 +02:00
Michael Adam
bf62ddc9e6 build: extend SMB_LIBRARY() to take a version as an optional second argument
This will allow transition away from library-versions in the next step.

Michael
(This used to be commit d9d92b64275127e29c80dbdc7cfe193289fef9a3)
2008-07-07 20:34:04 +02:00
Michael Adam
e9d5d97a3f build: extend SMB_LIBRARY() to optionally take default value.
The default value defaults to "yes".
If no is specified, an optional third argument contains the
reason why building of the shared library is turned off by default.

Michael
(This used to be commit af971f79c7d736eb5b7ae8fcd4b2bf7ccf4834f3)
2008-07-07 20:34:03 +02:00
Michael Adam
2e694978f5 build: slightly change and extend the logic of SMB_LIBRARY().
Only call the install/uninstall targets (from make (un)install)
for libraries configured with SMB_LIBRARY(), when the user did
not set --with-libname=no.

Make sure to always (at least) build the static version of the library.

Michael
(This used to be commit f440538c9480134ff05cf9c9f78a565808161101)
2008-07-07 20:34:01 +02:00
Volker Lendecke
993d80fd22 init_shared_module -> init_samba_module
(This used to be commit 9b174871a87677f7dfbd897a80e526f203906bea)
2008-06-23 07:20:18 +02:00
Volker Lendecke
3cf5395ad5 Use "init_shared_module" instead of "init_module" for initializing .so's
(This used to be commit 0c2fd687b25e32d446ef799927db6933bc61223d)
2008-06-21 11:25:41 +02:00
Michael Adam
3ea216f888 build: fix configure option --with-static-libs=libXYZ
This should not prevent building but linking of shared lib for
subsystem XYZ (example --with-static-libs=libtdb).

m4 quotation is tricky...

Michael
(This used to be commit 4d0a5d5c93ddab444a0097e1c56e4363574cb2b6)
2008-03-31 11:58:35 +02:00
Michael Adam
ea0b148a96 configure: fix quotation in SMB_LIBRARY for help output.
Michael
(This used to be commit 96f85a48beb7da9c373fc030474020d05c55a18d)
2008-03-07 23:45:52 +01:00
Michael Adam
df3939da94 configure: put swat-part of config into m4-include file of its own.
Michael
(This used to be commit 622667c0790c0092bfceced8dc6fb05e781ac5e7)
2008-02-26 13:56:12 +01:00
Michael Adam
0d7f555335 Move the definition of SMB_LIBRARY to aclocal.m4.
Michael
(This used to be commit 4724b13ed8dce4721f95979803ba32f815ceaf1a)
2008-02-21 14:07:45 +01:00
Michael Adam
443f8ed260 configure: Move assemblage of samba version strings to m4 include file.
Michael
(This used to be commit 8b220717e8dd62455716d4aaf6728087d04fb71b)
2008-02-20 21:33:24 +01:00
Michael Adam
27b711414f configure: Move path (and debug) checks to an m4 include file check_path.m4.
This is inspired by metze's check_path.m4 of Samba4.

Michael
(This used to be commit d1db2b78c9dacddc0e24304624a6a0d0a817f774)
2008-02-19 17:39:40 +01:00
Michael Adam
6fa31c5364 Remove unused m4 macro files.
These files were added in aa14900f8291a017aa7fab2bbb9a6c79b12889b2
(automatic dependency tracking) in SAMBA_3_2, which was removed
from configure.in in the git glue commit 5c6c8e1fe93f340005110a7833946191659d88ab.
But apparently, the files were not removed by accident.

Michael
(This used to be commit aeb3673b3686f463e6c7811d61c01d8d6aec0eb3)
2008-02-19 17:39:39 +01:00
James Peach
b683f8137b r23094: Update the iconv detection to handle cross-compiles better. If we are
cross-compiling, we accept the first iconv library that we find (with a
warning).
(This used to be commit 9417832155d634864f37d0fdb173ec607c154069)
2007-10-10 12:22:45 -05:00
James Peach
821bf2bd72 r22441: Add automatic dependency tracking. The dependency generation is
toolchain independent, but since there's no portable method for
doing makefile includes, we can actually use the dependencies with
GNU make. It's easy to add this for other makes, but I don't have
any to test.

This also moves as much m4 as possible into the m4 directory where
no-one has to look at it. AFAICT, there's no way to hide depcomp
in there too, which is unfortunate.
(This used to be commit aa14900f8291a017aa7fab2bbb9a6c79b12889b2)
2007-10-10 12:19:34 -05:00