1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

43 Commits

Author SHA1 Message Date
Michael Adam
1544c2b66c build: use AS_HELP_STRING() for --with-localedir
Michael
2009-09-23 00:53:47 +02:00
Michael Adam
bb77a2a8ae build: add switch "--with-codepagedir=DIR" to configure.
This is to address bug #6444.

Michael
2009-09-23 00:53:47 +02:00
Björn Jacke
862ae382b8 s3:dmapi: prefer dmapi libs from gpfs over system libs
Patch from William Jojo sent to samba-technical:

This is based on some pain felt when building 32-bit and 64-bit Clustered Samba
on AIX with GPFS support.

Part of the problem lies in AIX only providing 32-bit shared object in
libxdsm.a(shr.o). So without libdmapi.a from gpfs.base, you get no DMAPI
support under 64-bit.
2009-06-19 11:56:33 +02:00
Timur I. Bakeyev
a7cd66728b Small fix to SMB_LIBRARY macro
It seems, that SMB_LIBRARY macro has small bug in the logic, when showing
if shall the SHARED version of the library be build.

If the default value is given as a parameter, it reports "yes" when library
is going to be build(?).

This small patch makes report consistent.

With regards,
Timur Bakeyev.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08 13:20:53 +02:00
Timur I. Bakeyev
96eaa412e6 SIGRTMIN additions
In addition to [FreeBSD 14] there is another place, where we (re)define
SIGRTMIN - in SMB_IF_RTSIGNAL_BUG macro in /source3/m4/aclocal.m4.

Here is another small patch.

With regards,
Timur Bakeyev.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08 13:20:53 +02:00
Michael Adam
f5c96e54c6 s3:build: fix linking with --disable-shared-libs
Michael
2009-05-15 23:46:02 +02:00
Jelmer Vernooij
31120c9eac Move syslog check out of m4 library file into configure.in 2009-04-20 16:25:17 +02:00
Jelmer Vernooij
fbf4293d7e Move check for syslog out of libreplace to source3/ and source4/.
This should help compiling talloc on Windows.
2009-04-20 16:25:16 +02:00
Michael Adam
15ef346f9f s3:build: no need to set LIBFOO_STATIC to the object collection any more
now that the @LIBFOO_STATIC@ entries have vanished from the object lists.
Just use the static library.

Michael
2009-04-01 10:41:34 +02:00
Michael Adam
f9eb77477b s3:build: first cut at fixing linking of shared/static libs internally
This is based on a patch from the debian packages
by Steve Langasek <vorlon@debian.org>.

It removes the static libs from the object collections.
For those libs that are set up with SMB_LIBRARY().

Michael
2009-04-01 10:41:33 +02:00
Björn Jacke
066cbb5835 clean up lib64 linking paths the same way as lib
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 16:11:14 +01:00
Stefan Metzmacher
7f283b29f1 s3:build: pass the path to smbtorture4 down to make with and without '-t' prefix
metze
2009-02-03 00:10:19 +01:00
Stefan Metzmacher
11163720e6 s3:configure: autodetect ctdb/cluster support
We need to make sure ctdb has transaction support
and we autodetect ipv6 support.

metze
2009-01-29 17:40:13 +01:00
Tim Prouty
692b63e93a s3 build: Eliminate the gmake-specific Makefile syntax 2009-01-27 00:16:04 -08:00
Tim Prouty
3aeee79096 s3 make test: Add the ability to specify a custom smb.conf for make test
- Adds new -c <custom conf> option to selftest.sh that when specified
  adds a line to make test's server.conf: "include <custom conf>"
- Adds getopts processing to selftest.sh
- Changes selftest.sh shrdir arg to use -s <shrdir>
- Changes selftest.sh smbtorture4_path arg to use -t <smbtortur4 path>
- Adds configure option --with-selftest-custom-conf=<custom conf>
- Updates Makefile.in to take advantage of the new/changed parameters
2009-01-26 12:07:27 -08:00
Steven Danneman
19a05bf2f4 Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.c
If they are not explicitely set in either place both will default to LOCKDIR.

Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-12 12:16:03 +01:00
Bo Yang
a8722a190b i18n/l10n pam_winbind
Signed-off-by: Günther Deschner <gd@samba.org>
2008-11-13 12:43:58 +01:00
Tim Prouty
e6f8fd9945 s3: Add support for make test to use a share dir outside of the prefix dir
Some systems need to have the tdbs (and other files required for samba
to run) on a different filesystem than the share directory that samba
is exporting.

This patch:
- Adds an optional "shrdir" argument to selftest.sh
  - If shrdir is specified it will be used, otherwise the default
    will be used: "<prefix>/tmp"
- Adds a new configure option: --with-selftest-shrdir
- Plumbs shrdir through Makefile.in and configure.in
2008-11-11 19:06:50 -08:00
Jelmer Vernooij
ecd293325c Correctly report when merged-build is used in developer mode. 2008-10-21 17:23:48 +02:00
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 6ad2090391)
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 702c0bc046)
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 03de8c1955)
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 256977cf05)
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 c1d53b7c76)
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 b17d1ff646)
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 10a2ab4077)
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 d9d92b6427)
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 af971f79c7)
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 f440538c94)
2008-07-07 20:34:01 +02:00
Volker Lendecke
993d80fd22 init_shared_module -> init_samba_module
(This used to be commit 9b174871a8)
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 0c2fd687b2)
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 4d0a5d5c93)
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 96f85a48be)
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 622667c079)
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 4724b13ed8)
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 8b220717e8)
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 d1db2b78c9)
2008-02-19 17:39:40 +01:00
Michael Adam
6fa31c5364 Remove unused m4 macro files.
These files were added in aa14900f82
(automatic dependency tracking) in SAMBA_3_2, which was removed
from configure.in in the git glue commit 5c6c8e1fe9.
But apparently, the files were not removed by accident.

Michael
(This used to be commit aeb3673b36)
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 9417832155)
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 aa14900f82)
2007-10-10 12:19:34 -05:00