summaryrefslogtreecommitdiffstats
path: root/source3/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* s3: Test for "__attribute__((destructor))"Volker Lendecke2011-07-271-0/+16
| | | | | | (cherry picked from commit 36e736871e28665ffcbbc4d0c87e1a2b60fcf0e0) Fix bug #8322 (HAVE_FUNCTION_ATTRIBUTE_DESTRUCTOR is missing from 3.5.x).
* s3/configure: fix GNU ld version detection with old gcc releasesBjörn Jacke2011-05-201-1/+1
| | | | | | | | | | | needed as old gcc releases output everything to stderr, even stdout output from ld Fixes #7825 Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Fri Nov 26 20:15:24 CET 2010 on sn-devel-104 (cherry picked from commit 70a7da0e101910e3ceb08b86d4b840b219e24d7d)
* s3: use getgrset() when it is availableChristian Ambach2011-03-291-0/+1
| | | | | | | | | | | | | | When getgrouplist() is not defined, use getgrset() if it is defined instead of using the initgroups() + getgroups() combo Major contributions from Yannick Bergeron <yaberger@ca.ibm.com> Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Mar 19 10:09:38 CET 2011 on sn-devel-104 (cherry picked from commit ed46dfc4f16e230645fae5f3b3b21c462694c30a) Fix bug #8012 (Use getgrset() instead of initgroups() + getgroups() when getgrouplist() is not defined).
* s3: add explicit configure option whether or not to enable dmapi supportBjörn Jacke2011-03-251-1/+22
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> (similar to commit ce7727c1cc2fe4caa9b2d6e33530c3483dd5f980) Fix bug #8033 - Backport dmapi configure checks.
* ѕ3/configue: set Tru64 cc's PIC switch right (none)Björn Jacke2010-12-311-1/+3
| | | | | | | | -fPIC made shared library builds fail there Fixes #7821 (cherry picked from commit dbcf73c45782c310cb7ff1f2177d410399e2f06d)
* Fix bug #7785 - atime limit.Jeremy Allison2010-11-241-0/+25
| | | | | | | | | | | On a 64-bit time_t system make MAX_TIME_T the max value that can be represented in a struct tm. This allows applications to set times in the future beyond the 32-bit time_t limit (2037). This is only in source3/configure.in, needs adding to the waf configure/build system (but I'll need help with that). Jeremy.
* s3: fall back to cups-config for underlinked libsBjörn Jacke2010-08-241-4/+10
| | | | | | | some OpenBSD systems have underlinked cups libraries. If linking against cups alone fails, try to link against all the cups-config --libs cruft, which we usually don't want. (bugzila #7244) (cherry picked from commit 616e187d68e3e7b202413a96518b31d029e9563a)
* s3:configure: use cc for linking on IRIX and fix shlib usageBjörn Jacke2010-06-171-3/+2
| | | | The last two patches address bug #7504 (numerous build glitches to be fixed).
* check if LD_AS_NEEDED breaks linking with libreadline fixes #7209Olaf Flebbe2010-06-171-0/+20
| | | | | Signed-off-by: Simo Sorce <idra@samba.org> (cherry picked from commit 7aa8af144efc6d57f33b90ac856096aa7089468d)
* s3:build: remove CFLAGS from Solaris LDSHFLAGS, SHLD has them alreadyBjörn Jacke2010-06-161-4/+1
| | | | The last 9 patches address bug #7504 (numerous build glitches to be fixed).
* s3: final test for working shlib support requires PICFLAGBjörn Jacke2010-06-161-1/+1
|
* s3: use autoconf macro to get some debug output in config.logBjörn Jacke2010-06-161-4/+7
|
* s3: fix check for pie compiler flagsBjörn Jacke2010-06-161-2/+2
| | | | | | some compilers (HP and Sun e.g.) output warning messages on stderr for unknown options and we ended up partly using some unwanted random compile flags we did't intend to use.
* s3:configure: add Werror_FLAGS for IBM's xlcBjörn Jacke2010-06-161-2/+14
|
* s3:configure: turn "error warnings" into errorsBjörn Jacke2010-06-161-1/+1
| | | | | | | | By default "Missing argument(s)" is just an "error warning" for xlc :-) The change to turn "error warnings" into errors should fix bug #7427. (cherry picked from commit ff0872d59d78ad42212c88313ef924ea4eb7a8a1) Fix bug #7427 (Using IBM xl_C compiler produces wrong results in configure).
* s3:configure: use correct SONAMEFLAG on Solaris depending on which linker is ↵Björn Jacke2010-05-111-1/+5
| | | | | | | | being used (cherry picked from commit 358a3855c20153d7fe742ca2e6b9bd8a9c92e525) Fix bug #7385 (Can't compile. Undefined symbol 'main').
* s3:configure: not simply check for "ld" but for the linker used by $CCBjörn Jacke2010-05-111-5/+5
| | | | | | | | | | | this hopefully fixes Solaris' gcc build which uses the system ld by default. All in all we should clean up most of the compiler and linker flags depending on the actual compilers and linkers we use. Only some tweaks are OS-specific. A cleanup in this area should be done along with the move to a new build system (whensoever that will be ...). (cherry picked from commit 1969b4acc3fd7c124e288d0495b9b4665d4b42db) Fix bug #7385 (Can't compile. Undefined symbol 'main').
* s3:build: remove checks for deprecated ctdb controls.Michael Adam2010-03-311-35/+1
| | | | | Michael (cherry picked from commit 9113ce82b59c718ac709eb01b125e9e6746a96b7)
* build: Add a configure check for CTDB_CONTROL_TRANS3_COMMIT.Michael Adam2010-03-311-0/+17
| | | | | | | | This is the new implementation of ctdb transactions using the global lock feature. It is needed by the current dbwrap_ctdb code. Michael (cherry picked from commit d4c0afa841ecdae1cab955cc73360deae23f5873)
* s3: Fix bug 7202 for multi-threaded applicationsVolker Lendecke2010-03-221-0/+1
| | | | | | | Thanks to Sergey Tereschenko <serg.partizan@gmail.com> for providing good feedback! Volker
* s3:build: Fix automatic building of vfs_tsmsm if gpfs and dmapi are present.Michael Adam2010-03-111-1/+1
| | | | | | | Michael (cherry picked from commit 9113e14b291c10c824d2d8ea5cb28ffc0adcb63b) Fix bug #7231 (vfs_tsmsm not built automatically).
* s3: by default don't use pthread pool supportBjörn Jacke2010-02-151-5/+5
| | | | | | | (cherry picked from commit 118725c892e445fcc1dc5947cb919cf99c49373f) The last seven patches address bug #6983 (Build with aio support fails on Debian Sarge).
* s3: syntax fixBjörn Jacke2010-02-151-1/+1
| | | | (cherry picked from commit 1f7e97a8a257b3280ca14168adf2d59ca9e1074c)
* s3: get pthread detection also on HP-UX rightBjörn Jacke2010-02-151-1/+12
| | | | (cherry picked from commit 6bade10a1eb21689613770f9a54e0a080663029c)
* s3: fix detection and flags for using pthreadBjörn Jacke2010-02-151-11/+53
| | | | | I hope this fixes the build on Tru64, IRIX and maybe bug #6983 (cherry picked from commit 5439e1a03f66ff9722987f908babfd71ebd698f1)
* tdb: raise version to 1.2.1Simo Sorce2010-02-101-1/+1
| | | | | | | | after recent fixes we need to raise the version to 1.2.1 so that we can require also the right patched version. Original commit was 70534adee10fc6f5bba2d9304668dc6508e5de5a in master. source4/min_versions.m4 was copied from the master branch.
* Fix bug #7079 - cliconnect gets realm wrong with trusted domains.Jeremy Allison2010-02-081-0/+15
| | | | | | | | | | | Passing NULL as dest_realm for cli_session_setup_spnego() was always using our own realm (as for a NetBIOS name). Change this to look for the mapped realm using krb5_get_host_realm() if the destination machine name is a DNS name (contains a '.'). Could get fancier with DNS name detection (length, etc.) but this will do for now. Jeremy.
* Add cross option to samba_cv_linux_getgrouplist_okLars Müller2010-02-041-1/+3
| | | | | | | | | | "cross" as an option got removed accidentl with commit e5a95132 while moving in direction of 3.2. Patch proposed by Richard Sharpe <realrichardsharpe@gmail.com>. (cherry picked from commit 30ea9932f5ea8a73c84dbab3ae3e997c2ae34e79) Fix bug #7047.
* Bug #7028 part1Olivier Sessink2010-01-151-1/+2
| | | | s3: Add the "scannedonly" vfs virus scanner interface module
* s3: Fix bug 6992, make test for getgrouplist cacheableJonas Gorski2009-12-171-3/+3
|
* s3: check for PAM_RADIO_TYPE.Bo Yang2009-12-101-0/+33
| | | | | Signed-off-by: Bo Yang <boyang@samba.org> (cherry picked from commit c7e3a2dc319cc6504356be7fa7970917404a69b5)
* s3: check if glibc has broken posix_fallocateBjörn Jacke2009-12-081-0/+16
|
* s3: require tdb 1.1.7 with tdb_check()Stefan Metzmacher2009-12-071-1/+1
| | | | | | | metze (cherry picked from commit 886fe5b92082c2d18f97ff0bdcced52d38f344ca) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Support NetWkstaGetInfo 101 and 102Volker Lendecke2009-12-061-1/+1
|
* s3:build: remove redundant qnx block size definitionBjörn Jacke2009-12-031-3/+0
|
* s3: prefer posix_fallocate for doing "strict allocate"Björn Jacke2009-12-031-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.
* s3:build: fix shared library build on QNXBjörn Jacke2009-12-031-3/+4
| | | | Fixes #6860. Thanks to Matt Kraai!
* s3:build: fix detection of CTDB headers on systems without system-libtallocMichael Adam2009-12-011-1/+1
| | | | Michael
* s3:build: fix the build when no external talloc and tdb are installed.Michael Adam2009-12-011-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
* s3-kerberos: fix the build on Mac OS X 10.6.2.Günther Deschner2009-11-301-1/+1
| | | | | Guenther (cherry picked from commit 51328a7056918bc75a7c1c442f47cf0271075542)
* s3-kerberos: only use krb5 headers where required.Günther Deschner2009-11-301-4/+1
| | | | | | | | This seems to be the only way to deal with mixed heimdal/MIT setups during merged build. Guenther (cherry picked from commit 04f8c229de7ffad5f4ec1a0bb68c2c8b4ccf4e15)
* s3-kerberos: Fix Bug #6929: build with recent heimdal.Günther Deschner2009-11-301-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 (cherry picked from commit 1a8f8382740e352a83133b8c49aaedd4716210cd)
* s3-kerberos: next step to resolve Bug #6929: build with recent heimdal.Günther Deschner2009-11-261-3/+3
| | | | | | | | | Based on patch from Allan <allan@archlinux.org>. Also should fix the FreeBSD build on the buildfarm. Guenther (cherry picked from commit 5b3a32be97a37c119e837bdee8f049684565458c)
* s3-kerberos: add check for prerequisite krb5/krb5.h header while checking ↵Günther Deschner2009-11-251-2/+7
| | | | | | | | | for krb5/locate_plugin.h. (Needed for new Heimdal versions). Guenther (cherry picked from commit c438b2b3923db66672ec82e795eef543de5fcb8a)
* s3/configure: Disable the automatic merged build.Karolin Seeger2009-11-111-3/+4
| | | | Karolin
* s3:configure: add a check for the new CTDB_CONTROL_TRANS2_ACTIVEMichael Adam2009-11-101-0/+17
| | | | | | Michael Signed-off-by: Michael Adam <obnox@samba.org>
* s3-kerberos: add smb_krb5_get_{creds,credentials} incl. support for S4U2SELF ↵Günther Deschner2009-11-061-0/+3
| | | | | | | impersonation. Guenther (cherry picked from commit 35dcc133c9c26d10186fe59ea096a2a5c87958e6)
* s3-kerberos: add configure checks for krb5_get_creds_X api.Günther Deschner2009-11-061-0/+3
| | | | | Guenther (cherry picked from commit 2cd507fe144c58a4c856c73ec56b80365dad9f23)
* s3: add support for full windows timestamps resolution on filesBjörn Jacke2009-11-041-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.
* ѕ3:buildsystem: fix depenencies for libreplaceBjörn Jacke2009-10-311-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.