summaryrefslogtreecommitdiff
path: root/source3/configure.in
AgeCommit message (Collapse)AuthorFilesLines
2009-12-03s3:build: remove redundant qnx block size definitionBjörn Jacke1-3/+0
2009-12-03s3:build: fix shared library build on QNXBjörn Jacke1-3/+4
Fixes #6860. Thanks to Matt Kraai!
2009-12-02s3: prefer posix_fallocate for doing "strict allocate"Björn Jacke1-1/+1
posix_fallocate is more efficient than manual zero'ing the file. When preallocation in kernel space is supported it's extremely fast. Support for preallocation at fs layer via posix_fallocate and fallocate at kernel site can be found in Linux kernel 2.6.23/glibc 2.10 with ext4, XFS and OCFS2. Other systems that I know of which support fast preallocation in kernel space are AIX 6.1 with JFS2 and recent Solaris versions with ZFS maybe UFS2, too. People who have a system with preallocation in kernel space might want to set "strict allocate = yes". This reduces file fragentation and it's also safer for setups with quota being turned on. As of today most systems still don't have preallocation in kernel space, and that's why "strict allocate = no" will stay the default for now.
2009-12-02s3: Cope with older external libtdbVolker Lendecke1-0/+10
2009-12-02Revert "s3-build: taise tdb version when building against system libtdb ↵Günther Deschner1-1/+1
library." This reverts commit ea20678c55fee9f4586630cdb5fe7f35457d309a. Just one new error code does probably not justify raising the required tdb version. Guenther
2009-12-01s3:build: fix detection of CTDB headers on systems without system-libtallocMichael Adam1-1/+1
Michael
2009-12-01s3:build: fix the build when no external talloc and tdb are installed.Michael Adam1-167/+178
The check for the external libs and the addition of the include paths to the CPPFLAGS was too late in configure. This patch moves the whole subsystem/library section up right below the detection of "BLDSHARED". And it updates not only SAMBA_CPPFLAGS but also SAMBA_CONFIGURE_CPPFLAGS so that many tests that use these flags can now succeed. Michael
2009-12-01s3-build: taise tdb version when building against system libtdb library.Günther Deschner1-1/+1
Try to fix the build on "buildsamba02". At least fixes the build on fedora12 with libtdb-devel-1.1.5-2.fc12.x86_64 installed. Volker, please check. Guenther
2009-11-27s3-kerberos: fix the build on Mac OS X 10.6.2.Günther Deschner1-1/+1
Guenther
2009-11-27s3-kerberos: only use krb5 headers where required.Günther Deschner1-4/+1
This seems to be the only way to deal with mixed heimdal/MIT setups during merged build. Guenther
2009-11-27s3-kerberos: Fix Bug #6929: build with recent heimdal.Günther Deschner1-0/+19
Heimdal changed the KRB5_DEPRECATED define (which now may not take an identifier for activation) in new releases (like 1.3.1). Guenther
2009-11-26s3-kerberos: next step to resolve Bug #6929: build with recent heimdal.Günther Deschner1-3/+3
Based on patch from Allan <allan@archlinux.org>. Also should fix the FreeBSD build on the buildfarm. Guenther
2009-11-25s3-kerberos: add check for prerequisite krb5/krb5.h header while checking ↵Günther Deschner1-2/+7
for krb5/locate_plugin.h. (Needed for new Heimdal versions). Guenther
2009-11-06s3-kerberos: add smb_krb5_get_{creds,credentials} incl. support for S4U2SELF ↵Günther Deschner1-0/+3
impersonation. Guenther
2009-11-06s3-kerberos: add configure checks for krb5_get_creds_X api.Günther Deschner1-0/+3
Guenther
2009-11-04s3: add support for full windows timestamps resolution on filesBjörn Jacke1-0/+1
setting nanosecond timestamps using utimensat() was first supported by Linux kernel 2.6.22 and glibc 2.6. It's specified in POSIX.1-2008. This effectively makes us use Windows' full 100ns timestamp resolution - actually just an improvement from 10^-6 to 10^-7. For now Linux CIFS vfs will also just be able to make use of 100ns resolution, not 1ns.
2009-11-03s3:configure: add a check for the new CTDB_CONTROL_TRANS2_ACTIVEMichael Adam1-0/+17
Michael
2009-10-31s3: Fix the RPC server SUBSYSTEM declarationVolker Lendecke1-1/+1
If I read SMB_SUBSYSTEM right then the 2nd argument needs to be the file where the static_init_rpc (in this case) is defined. This seems to have moved from server.c to process.c. Jelmer, please check! Volker
2009-10-31ѕ3:buildsystem: fix depenencies for libreplaceBjörn Jacke1-4/+4
This problem became visible after adding the picky -z defs linker option: On Solaris libreplace had unresolved symbols, which showed up in the libtalloc build. PAM_WINBIND_EXTRA_LIBS and WINBIND_NSS_EXTRA_LIBS had been workarounds to make things work at two placeѕ. These variables have been obsoleted now. This patch introduces LIBREPLACE_LIBS which contans the linker flags needed for linking anything using libreplace.
2009-10-28s3:configure: only check for gpfs_gpl.hStefan Metzmacher1-25/+5
The header is everything we need in order to build vfs_gpfs. metze Signed-off-by: Michael Adam <obnox@samba.org>
2009-10-20s3:configure: add support for Solaris' ld -z ignoreBjörn Jacke1-11/+7
try linker flags for ignoring unused libs in this order: -Wl,--as-needed (gcc like + binutils) -Wl,-z,ignore (gcc like + Solaris linker) -z ignore (old Sun C)
2009-10-20s3: make unresolved symbols in libs throw errorsBjörn Jacke1-3/+27
except for the Samba internal plugins unresolved symbol references should not show up in shared libraries. For historical reasons it's the default behaviour of linkers to ignore those in shared libs. We use -z defs (alias --no-undefined) to not ignore them in shared libs.
2009-10-18s3:configure: fix avahi activationBjörn Jacke1-4/+4
Avahi was correctly found but not activated since e4a26c942.
2009-10-16s3: build pam_smbpass when possibleBjörn Jacke1-20/+34
2009-10-16s3: fixed krb5 build problem on ubuntu karmicAndrew Tridgell1-0/+4
Karmic has MIT krb5 1.7-beta3, which has the symbol krb5_auth_con_set_req_cksumtype but no prototype for it. See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531635
2009-10-14s3-build: we need to have talloc 2.0.1 when building with external talloc.Günther Deschner1-1/+1
2.0.0 did not got the exports right. This and the 2.0.1 talloc fixes resolve bug #6808. Guenther
2009-10-04s3:Makefile: another attempt to fix the wbclient dependencyBjörn Jacke1-3/+0
in the dependencies we always used a variable that was not jet defined.
2009-10-04Revert "s3:Makefile: fix libwbclient dependencies with static build"Björn Jacke1-0/+3
This reverts commit d7795f2afa3779399fe9e7b4f050d19a412f8bcd.
2009-10-03s3: Make default_[static|shared]_modules a bit more readableVolker Lendecke1-2/+52
2009-10-03s3:Makefile: fix libwbclient dependencies with static buildBjörn Jacke1-3/+0
analogical to previous libtalloc fix
2009-10-03s3:configure: use --aѕ-needed linker option when supportedBjörn Jacke1-0/+17
Based on a patch from Andreas Schneider but modified that --aѕ-needed is also used when own libs are not build shared (--enable-shared). Also change order of options so that user supplied LDFLAGS are put *after* the automatic --aѕ-needed flag. This way it's pollible to force not use as-needed by setting LDFLAGS environment variable to "-Wl,--no-as-needed".
2009-10-01s3:configure: don't throw away PRINT_LIBSBjörn Jacke1-1/+1
PRINT_LIBS might have been set before intentionally, so don't thow it away.
2009-09-29s3: Remove the lua interpreter againVolker Lendecke1-41/+0
This was meant to support async winbind. But as the hairy parts of async winbind (getgrent) are done without it, it can go again.
2009-09-17s3: build with pam support when possibleBjörn Jacke1-3/+3
2009-09-15s3: ignore cups-config to tidy up library dependenciesBjörn Jacke1-1/+1
contrary to krb5-config for example, which outputs useful things, cups-config --libs does not output libs we have to link against. It outputs libs that cups linked against. We just have to link against cups.
2009-09-15s3: BSD needs sys/sysctl.h included to build properlyBjörn Jacke1-1/+1
FreeBSD (and other BSDs, too) need sys/sysctl.h inclueded to use sysctlbyname(). Thanks to Timur Bakeyev for that.
2009-09-02Do not redefine struprMatt Kraai1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2009-08-30s3: Fix libtalloc so versionSimo Sorce1-1/+1
2009-08-28s3: Add catia to the list of modules compiled by defaultAravind Srinivasan1-1/+1
Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-08-24LIBREPLACEOBJ now contains the full pathAndrew Tridgell1-4/+1
2009-08-24s3:configure: require talloc >= 2.0.0Stefan Metzmacher1-1/+1
metze
2009-08-12Fix EVERY SINGLE build on the buildfarm that doesn't haveJeremy Allison1-0/+1
bindtextdomain or textdomain. C'mon, this is what configure.in is *FOR*. Jeremy.
2009-07-05s3:configure: honor CFLAGS in compile testsBjörn Jacke1-10/+10
When compilation is done for the architecture that's not the compiler's default, for example by setting CFLAGS to -m64, then compile tests might fail when they are done with the comiler's default arch. This should fix bugzilla #6162.
2009-07-03Restore ABI compatibility for talloc.Simo Sorce1-1/+1
2009-07-03s3:configure: fix syntax error in avahi configure testBjörn Jacke1-1/+1
2009-07-03s3:configure: define _LARGEFILE64_SOURCE on QNXMatt Kraai1-0/+4
2009-07-02change talloc to 2.0.0Andrew Tridgell1-1/+1
This is needed to prevent samba3 and samba4 from using an ABI incompatible system version of talloc See ongoing discussion on the samba-technical mailing list
2009-06-30umount.cifs: don't build it by defaultJeff Layton1-6/+37
Now that the sanity checks for mount.cifs default to matching the behavior of /bin/mount, then there is virtually no need for umount.cifs. The only exception is when someone enables the loose setuid behavior in mount.cifs. If an unprivileged user mounts a share that isn't in /etc/fstab, then /bin/mount won't allow that user to unmount it. In that situation, umount.cifs will be necessary to allow unmounting the share. Signed-off-by: Jeff Layton <jlayton@samba.org> Acked-by: Steve French <smfrench@us.ibm.com>
2009-06-29s3:build: check for external liblua, link lua statically if using internal libMichael Adam1-1/+41
So liblua is treated the same way as libtalloc and libtdb. Michael
2009-06-26The solaris linker seems to require an extra mention of dependent libsVolker Lendecke1-3/+8