1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

1303 Commits

Author SHA1 Message Date
Kai Blin
ff32f691bb s3 configure: Check for (set|get|end)netgrent prototypes 2010-06-20 09:50:19 +02:00
Björn Jacke
14c8d319e3 s3:configure: use cc for linking on IRIX and fix shlib usage 2010-06-17 11:41:58 +02:00
Volker Lendecke
f0afda14ba Fix aio_read detection for -lrt 2010-06-13 15:23:23 +02:00
Olaf Flebbe
7aa8af144e check if LD_AS_NEEDED breaks linking with libreadline fixes #7209
Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-11 16:07:50 -04:00
Olaf Flebbe
a9b06f58f2 configure.in prevent generation of file "shlib.so" 2010-06-11 09:03:42 -04:00
Björn Jacke
79ec886aa4 s3:build: add shared lib flag for HP-UX compiler 2010-06-05 02:15:29 +02:00
Volker Lendecke
95863bfb5e s3: Add vfs_linux_xfs_sgid
http://oss.sgi.com/bugzilla/show_bug.cgi?id=280 shows an old Linux XFS bug that
still exists: Under certain circumstances the SGID bit is not inherited.
2010-06-02 12:30:51 +02:00
Björn Jacke
a950c6c600 s3:configre: work around shell problem on HP-UX in AC macro 2010-05-31 14:33:51 +02:00
Björn Jacke
17ad28c582 s3: use PICFLAG instead of PIE_FLAGS 2010-05-31 02:20:51 +02:00
Björn Jacke
c2327b24a6 s3: final test for working shlib support requires PIE_LDFLAGS 2010-05-31 00:37:01 +02:00
Björn Jacke
390b0521bd s3: use autoconf macro to get some debug output in config.log 2010-05-30 23:59:45 +02:00
Björn Jacke
96ee9568ed s3: fix check for pie compiler flags
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.
2010-05-30 16:25:28 +02:00
Björn Jacke
2bca048367 s3:configure: use the right AC_CACHE_CHECK variable 2010-05-26 10:19:59 +02:00
Michael Adam
8eed328cb5 s3:fix configure after change "add Werror_FLAGS for IBM's xlc"
For me, 24b3725407 broke configure.
The fix in f634450b67 is not complete yet.
After staring at the change a bit, tt seems to me that the
code inserted was just misplaced by one line.

Michael
2010-05-25 09:56:05 +02:00
Björn Jacke
f634450b67 s3: fix the configure run 2010-05-25 09:43:57 +02:00
Björn Jacke
ff0872d59d s3:configure: turn "error warnings" into errors
By default "Missing argument(s)" is just an "error warning" for xlc :-)
The change to turn "error warnings" into errors should fix bug #7427.
2010-05-24 23:34:00 +02:00
Björn Jacke
24b3725407 s3:configure: add Werror_FLAGS for IBM's xlc 2010-05-24 23:28:44 +02:00
Björn Jacke
8e069e245b s3: major overhaul of compiler and linker flags for HP-UX builds
this will fix a number of things like shared library builds. That in turn will
probably trigger some other build bugs...
2010-05-24 13:51:35 +02:00
Björn Jacke
2466dc7eaf s3:build: remove CFLAGS from LDSHFLAGS, SHLD has them already 2010-05-24 12:26:10 +02:00
Volker Lendecke
6e7d39f4dd s3: Another non-gnumake fix
AC_OUTPUT_COMMANDS must be called before AC_OUTPUT and
$MAKEFILE is not defined in ./config.status
2010-05-23 12:44:43 +02:00
Volker Lendecke
7eff96cb43 s3: Factor out compiler-independent defines 2010-05-23 00:33:45 +02:00
Stefan Metzmacher
6427484f84 s3:build: build smbtorture4 when the merged build is selected
metze
2010-05-13 19:42:25 +02:00
Michael Adam
04e1954224 s3:configure: fix a message 2010-05-11 16:42:22 +02:00
Volker Lendecke
36e736871e s3: Test for "__attribute__((destructor))" 2010-05-10 14:11:14 +02:00
Jelmer Vernooij
95421552be Reintroduce merged build, using waf to build smbtorture4. 2010-05-07 18:34:00 +02:00
Jelmer Vernooij
674a78d60a Revert "Revert "s3-build: Remove --enable-merged support.""
This reverts commit 8f8e7c788a.
2010-05-07 18:34:00 +02:00
Björn Jacke
5910f4cade s3:configure: search fdatasync also in librt
Sun^W Oracle Solaris has it there ...
2010-05-07 12:53:53 +02:00
Björn Jacke
358a3855c2 s3:configure: use correct SONAMEFLAG on Solaris depending on which linker is being used 2010-05-07 11:58:09 +02:00
Jelmer Vernooij
fc336590dc Remove the copy of ldb from Samba 3.
There were two utility functions that other parts of Samba 3
still relied on; they have been moved to lib/ldb_compat.[ch].
2010-05-06 11:34:30 +02:00
Björn Jacke
1969b4acc3 s3:configure: not simply check for "ld" but for the linker used by $CC
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 ...).
2010-05-05 21:38:08 +02:00
Günther Deschner
8f8e7c788a Revert "s3-build: Remove --enable-merged support."
This reverts commit f8fc7fcbeb.

Was that pushed by coincidence ? merged build is really, really required over
here.
2010-04-27 18:14:09 +02:00
Jelmer Vernooij
f8fc7fcbeb s3-build: Remove --enable-merged support. 2010-04-26 23:50:16 +02:00
Ira Cooper
e1ca451794 s3: Improved support for GAMIN.
Support the FAMNoExists API for gamin to reduce cpu use and problems when
using GAMIN as FAM for vfs_notify_fam.
2010-04-18 15:12:41 +02:00
Volker Lendecke
6e40fa9b01 s3: Fix the GNU ld version detection on SLES
On SLES 11 "ld -v" gives

GNU ld (GNU Binutils; SUSE Linux Enterprise 11) 2.19

The regexp to intended to detect the "2.19" is confused by the "11" in the
version string. I'm not really into regexps, and awk '{print $NF}' to me is a
simple (and hopefully portable) way to print the last field.
2010-04-04 20:31:19 +02:00
Volker Lendecke
261c3b4f1b tdb: Add a non-blocking version of tdb_transaction_start 2010-03-26 14:27:47 -04:00
Volker Lendecke
fc80ff4002 s3: Fix bug 7202 for multi-threaded applications
Thanks to Sergey Tereschenko <serg.partizan@gmail.com> for providing good
feedback!

Volker
2010-03-21 17:50:36 +01:00
Michael Adam
9113e14b29 s3:build: Fix automatic building of vfs_tsmsm if gpfs and dmapi are present.
Michael
2010-03-09 00:51:18 +01:00
Björn Jacke
0769a1833a s3: add vfs_crossrename
this module adds optional server-side support for limited rename operations
beyond filesystem boundaries, which was the previously the default.
2010-03-08 17:17:58 +01:00
Jeff Layton
f4cb528ac5 samba: remove cifs-utils tools from build systems
Now that cifs-utils are their own project, we need to go ahead and pull
them out of the samba tree. This patch represents the first step toward
that end.

Remove the cifs-utilities from the source3 and source4 builds. Please
pay particular attention to the source4 piece. I'm not at all familiar
with the build system there, and would appreciate someone sanity
checking my changes.

It also adds a small README.cifs-utils file in the topdir. This is
optional, but I think it's a good idea to carry this for a release or
two.

Once this patch looks ok, I'll plan to do another patch to actually
remove the client dir and the relevant docs-xml files from the tree
altogether.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-03-08 09:06:40 -05:00
Karolin Seeger
bc2ff7abc9 Revert "s3:configure: add --enable-as-needed"
This reverts commit 22d316926b.

Please see bug #7209 for details.
2010-03-04 16:19:33 +01:00
Stefan Metzmacher
22d316926b s3:configure: add --enable-as-needed
On some broken systems like RHEL5, we need to be able
to disable --as-needed.

metze
2010-03-04 13:02:16 +01:00
Matthieu Patou
92785f9af6 s3: Fix build file due to file move. Use the new path of iniparser
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-03 09:22:39 +01:00
Björn Jacke
ce7727c1cc s3: add explicit configure option whether or not to enable dmapi support 2010-02-23 15:25:41 +01:00
Michael Adam
9113ce82b5 s3:build: remove checks for deprecated ctdb controls.
Michael
2010-02-12 23:12:10 +01:00
Michael Adam
d4c0afa841 build: Add a configure check for CTDB_CONTROL_TRANS3_COMMIT.
This is the new implementation of ctdb transactions using the
global lock feature. It is needed by the current dbwrap_ctdb code.

Michael
2010-02-12 23:12:10 +01:00
Björn Jacke
2aff1d6bca s3: quiet the unresolved symbol warnings of the Compaq compiler when linking our vfs modules 2010-02-08 02:32:39 +01:00
Simo Sorce
70534adee1 tdb: raise version to 1.2.1
after recent fixes we need to raise the version to 1.2.1 so that
we can require also the right patched version.
2010-02-06 10:48:39 -05:00
Björn Jacke
27920f4f90 s3:configure: check complete set of EA functions only when we found at least one
this saves us some time in configure
2010-02-02 18:35:59 +01:00
Jeremy Allison
687e4eba3c Fix bug #7079 - cliconnect gets realm wrong with trusted domains.
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.
2010-01-30 19:24:28 -08:00
Björn Jacke
118725c892 s3: by default don't use pthread pool support 2010-01-29 12:43:13 +01:00