1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-21 01:59:07 +03:00

1248 Commits

Author SHA1 Message Date
Jelmer Vernooij
30bfba96d3 r20942: Simplify handling of systems that don't support negative enum values by using an ifdef rather than a pidl argument.
(This used to be commit 6bada0dcf0c7915d366c7917189375dbabecdd4f)
2007-10-10 14:43:57 -05:00
Stefan Metzmacher
113666aba9 r20825: control the subsystem default output type via a variable too
metze
(This used to be commit 624bd4e5a8ef1b7902ce8df6e8885cd8224a3037)
2007-10-10 14:43:36 -05:00
Stefan Metzmacher
fda5cbc62e r20814: always define SHLIBEXT, to fix the build on host with no support for shared libs,
there we just define it to an invalid value

metze
(This used to be commit d491258c2cf7e86ab82571360a9d51a1b0a61fad)
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
b6e3c0cf0d r20802: - don't add the same Makefile vars twice...
- this fixes a lot of warnings on Tru64

maybe this also fixes the build on Tru64 and HPUX...

metze
(This used to be commit a154fd04c84323d2e9e537e78fd95e29428cfd8a)
2007-10-10 14:43:32 -05:00
James Peach
34fe5027d0 r20697: A couple of minot cross-compile fixes.
(This used to be commit d4c7dd19f3a114ee1527cbcd3071b4921600977d)
2007-10-10 14:40:24 -05:00
Andrew Bartlett
848e236516 r20645: Commit the build system changes to allow scripts in config.mk files.
Andrew Bartlett
(This used to be commit 14b485ba9c72a654e5cf9e61f71fd0fb502d603b)
2007-10-10 14:37:23 -05:00
Derrell Lipman
43470b5ec3 r20444: WEB Application framework / SWAT.
We're now at the stage where the web application framework should build and
install automatically.

Derrell
(This used to be commit 0201baef46c1701007e0a4cdd95edee287939318)
2007-10-10 14:30:39 -05:00
Stefan Metzmacher
aae7773e2a r20303: try to fix 'make install' on solaris 8, ln -fs doesn't seem to work if
the link already exist

metze
(This used to be commit 6a089d48ec1424eea876ef9c1c65e74b5ee33781)
2007-10-10 14:29:35 -05:00
Jelmer Vernooij
253c1bec46 r20298: Fix pidl tests (missing symlink..).
(This used to be commit ab3d57394630cefc1fefe859c8bd3d56f6e63695)
2007-10-10 14:29:34 -05:00
Jelmer Vernooij
25579c6fe8 r19908: Fix order of paths in pc files.
(This used to be commit 033b4382c09b7a4032388231f6e1f1986a663f9d)
2007-10-10 14:28:35 -05:00
Jelmer Vernooij
9a1f380d5b r19882: Fix static link flags in pkg-config files. Should allow running
pidl tests on systems without shared libs.
(This used to be commit fb623be4ff09c2fb0546edc0892ad3a59d58f274)
2007-10-10 14:28:31 -05:00
Jelmer Vernooij
d25f2ba3dc r19881: Add private library flags when linking to static libraries.
(This used to be commit 72f1ffc0ef56753deba716cf9d31d44c95e7cc33)
2007-10-10 14:28:31 -05:00
Jelmer Vernooij
60e7b4d995 r19863: Create -uninstalled.pc files. This should reenable compilation and running
of the pidl testsuite as part of the testsuite.
(This used to be commit db237ad52f3a42c7b35753df99549ed6d540cec2)
2007-10-10 14:28:27 -05:00
Jelmer Vernooij
95caeb1046 r19678: Fix the build for now (ugly hack because of circular dependencies)
(This used to be commit 0953bb7d5f2f2a81688f5421e1fbfa3bc38aa810)
2007-10-10 14:25:30 -05:00
Jelmer Vernooij
d7949f8a70 r19673: Build shared libs against shared libs.
(This used to be commit dad9156db9d53c51d7785139576dddcde7e34c56)
2007-10-10 14:25:28 -05:00
Jelmer Vernooij
547eef2cf1 r19670: Reduce the number of unresolved symbols when building with shared libraries.
(This used to be commit 4422031d1d9307539832cee165c5071ff12943e7)
2007-10-10 14:25:27 -05:00
Jelmer Vernooij
dbe5084f8e r19636: Add URLs to ldb and talloc pkg-config files.
Always build and install .pc files as they make sense for static libs
as well.
(This used to be commit 82cb91e2dd50899050066cccee82cb5be52ec3fe)
2007-10-10 14:25:22 -05:00
Jelmer Vernooij
667eedac90 r19634: Only use --allow-undef-shlib for modules.
(This used to be commit e8f2a086be2a0553467738df711b1450ba559848)
2007-10-10 14:25:21 -05:00
Jelmer Vernooij
c4ee1af3fb r19631: Re-enable shared libraries, but don't use -rpath-link unless
shared libraries are actually used.
(This used to be commit 93e4f093b946cbb1b6deca82efdf0d5f033128b8)
2007-10-10 14:25:20 -05:00
Stefan Metzmacher
640047e947 r19625: not all linkers like -Wl,rpath-link, so don't use it till we have configure checks
and working shared libraries

metze
(This used to be commit 25376f748c6f2da48a8bf7e0aa0d59befb9db4f3)
2007-10-10 14:25:19 -05:00
Stefan Metzmacher
ff2d656fab r19623: disable building of shared libs until we have fixed them,
they all have unresolved symbols and are useless
and produce noise in the build-farm

metze
(This used to be commit 3f8b776f630488aaec9f0ffcc099b01dcab02f3f)
2007-10-10 14:25:17 -05:00
Stefan Metzmacher
0fc10ccb65 r19622: - remove unused var
- fix default for enable-dso to no

metze
(This used to be commit 47b113e5dbd33ab91246029af9293809824c5395)
2007-10-10 14:25:17 -05:00
Stefan Metzmacher
84e08dad21 r19621: move enable-dso to check_ld.m4 again and add some checks and generate more output
metze
(This used to be commit a07b11924c16d51cda484d417d9e1201278b03cb)
2007-10-10 14:25:17 -05:00
Stefan Metzmacher
ead66ffddf r19618: pass -D_SAMBA_HOSTCC_ when using the hostcompiler
metze
(This used to be commit 846553085e57bda44fda2a541bf00517d3586e8c)
2007-10-10 14:25:16 -05:00
Stefan Metzmacher
22a155af05 r19609: fix uninitialized perl variabel, we need AC_SUBST() for all configure vars
we want to use in perl...

metze
(This used to be commit 2b021e2d8cff1a097068810d379fc0dca6869654)
2007-10-10 14:25:04 -05:00
Jelmer Vernooij
0b3f04a9be r19582: Support building both shared and static versions of libraries at the same
time.

The --enable-dso flag now specifies whether or not the Samba binaries
themselves should be linked against the shared libraries.

By default, all libraries will be built staticly. If supported, the
shared variant of each library will also be built.

If people think building both shared and static library versions in
'make all' is too time-inefficient, please let me know and I'll move the
shared library bits to 'make everything'.
(This used to be commit 91faa1154a1de18a42f5e237c406157026280478)
2007-10-10 14:24:56 -05:00
Jelmer Vernooij
8164c24149 r19575: Build static libs in bin/static rather than bin/
(This used to be commit c9b06ce5636c37ddb077513796a288d88f62c358)
2007-10-10 14:24:55 -05:00
Jelmer Vernooij
09a36ffab1 r19574: Initial work towards supporting build of both shared and static libraries.
(This used to be commit e24ec3aa1ada855401a714743518893d9506239c)
2007-10-10 14:24:55 -05:00
Jelmer Vernooij
66c17f778a r19571: Add a USESHARED parameter (different from BLDSHARED) + two small
shared-library related fixes.
(This used to be commit 8c7276b6c6ccebfbc60de978fcb2c23e7fbc12b5)
2007-10-10 14:24:54 -05:00
Jelmer Vernooij
3c9a28f85e r19543: Make dynconfig less special.
(This used to be commit 2780274e6fb25cec78ad341239090ed286ed1a45)
2007-10-10 14:24:47 -05:00
Jelmer Vernooij
72b164d2e9 r19509: Simplify buildsystem code, create proper symlinks for aliases.
(This used to be commit a6d610805970dcb8b2676db9074432a094f7c149)
2007-10-10 14:24:42 -05:00
Jelmer Vernooij
4fa24df98d r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
(This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10 14:24:41 -05:00
Jelmer Vernooij
bc596cf917 r19495: Stop linking binaries twice (once before installation, once during build).
Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than
separate binaries.
(This used to be commit 8913d60c72a67b041b08d569c9bd048953106c85)
2007-10-10 14:24:39 -05:00
Derrell Lipman
68453d1da2 r19449: ldbbrowse: installation hopefully works now. "Developer" installations
('configure.developer' or 'configure --enable-developer') may still have
problems as I'm not sure I got all of the paths right for that.

With the changes Tridge has made to the Main Menu in swat, given a
non-developer installation, you should be able to get to ldbbrowse via:

  JSON/qooxdoo -> ldb browser

Derrell
(This used to be commit 2406af10791cd8545c598c8591a48de5515c7dc5)
2007-10-10 14:21:33 -05:00
Jelmer Vernooij
a4137b50a7 r19364: Fix build for 'regular' installs.
(This used to be commit 916413097d2ca7b71c06cd701f09bc3b9fc06cfc)
2007-10-10 14:21:17 -05:00
Jelmer Vernooij
c554e2168b r19358: Use subunit tests from the right location (from
$src/bin/torture when developing, $LIBDIR/torture when installed)
(This used to be commit 4ae6380e6bb48e27e9947e149b3d079b3e293cc0)
2007-10-10 14:21:16 -05:00
Jelmer Vernooij
b58deeea69 r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.
Support directories for subcategories in tests.
Several small other fixes.
(This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
2007-10-10 14:21:14 -05:00
Jelmer Vernooij
52e3f69a36 r19343: Add support for external scripts/binaries that write results using the
'subunit' protocol. This allows us to easily plug EJS scripts or binaries that
can't depend on -ltorture into smbtorture. The protocol is very simple:

- write "comments" to stderr

Example output on stdout:
test: foo
success: foo
test: bar
success: bar
test: blah
failure: blah [
dummy.c:30: Expression 1 != 2 failed!
]
test: blie
skip: blie [
Iconv support not built in
]

I've already converted the talloc testsuite.
(This used to be commit e1742c14a247fabba969f8698108e73997d3f420)
2007-10-10 14:21:13 -05:00
Stefan Metzmacher
6cb33a5467 r18975: follow the advice from "William Jojo" <jojowil@hvcc.edu>
and pass -bbigtoc also to the linker when building shared libs

metze
(This used to be commit 9c77de282107d28362497aff60fed81e77620a87)
2007-10-10 14:20:26 -05:00
Stefan Metzmacher
1d156f9479 r18974: we don't have the configure check that sets
ac_cv_gnu_ld_no_default_allow_shlib_undefined
and as -Wl,--allow-shlib-undefined is supported on SuSE 7.3
I don't see a problem is always pass it explicit

metze
(This used to be commit 79db6bddc5fc1b97f0165348f72b6a2489b62be0)
2007-10-10 14:20:25 -05:00
Andrew Tridgell
c9ae85d19a r18936: hopefully fix the test for negative enum values. When a compiler
truncates the enums, the test was passing.
(This used to be commit c6216f7dbf68012fa8351dcae17fe4c7ab165b58)
2007-10-10 14:20:22 -05:00
Andrew Tridgell
f753f43d81 r18833: darn, forgot to commit this
sorry about the build breakage
(This used to be commit c0684d0f26917e6623bad1e0f9b8312873230300)
2007-10-10 14:19:16 -05:00
Jelmer Vernooij
8524a6f5c9 r18749: Disable automatic dependencies by default (use --enable-automatic-dependencies to reenable).
(This used to be commit 5506c404877434c403bbe3055c6dd6c32531c96d)
2007-10-10 14:19:06 -05:00
Stefan Metzmacher
a8fd66f91f r18549: move gcc version check to libreplace and reorder the tests a bit
for nicer output

metze
(This used to be commit 888a769af557d050d99df703ce5f651688c837c5)
2007-10-10 14:18:45 -05:00
Stefan Metzmacher
040b5b812e r18544: - use AC_LIBREPLACE_LOCATION_CHECKS in samba4
- to get the ordering right we need to specify AC_CANONICAL_BUILD explicit
- add AC_CANONICAL_TARGET

metze
(This used to be commit 1ea52d75849f004752cdbe11a3dddd10b4afe47d)
2007-10-10 14:18:44 -05:00
Andrew Tridgell
fafa8c3e47 r18535: move the AC_CANONICAL_HOST and host specific flag tests into
libreplace. This should fix the standalone build of tdb on HPUX, where
we need to blacklist mmap.

Unfortunately this requires that we have a copy of config.guess and
config.sub in each of our project subdirectories. I tried to find a
way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just
put config.{guess,sub} in the lib/replace/ directory, but I couldn't
figure out how to do that in a way that kept autoconf happy for each
of our separate builds. Any autoconf guru out there see a way to do
this?
(This used to be commit 823cd3ab35456769dcefee17bdaca21f01ba0f63)
2007-10-10 14:18:42 -05:00
Stefan Metzmacher
a9aa6d0c67 r18503: - _GNU_SOURCE is defined by libreplace
- move AS_HELP_STRING replacement to libreplace

metze
(This used to be commit ace406a36ebbed230bf6c844e4639bac5e6c9882)
2007-10-10 14:18:40 -05:00
Stefan Metzmacher
8ed1176a8d r18501: libreplace needs 'long long', bailout if not present
or the size is not 8 bytes or more.

samba4 doesn't need type checks anymore

metze
(This used to be commit d8fdd05482fc6b9bfb48d72db6b467e3e5c05e4d)
2007-10-10 14:18:39 -05:00
Stefan Metzmacher
a4e94eedf0 r18500: move make related checks into its own file
metze
(This used to be commit 6a6729fb7219ac7eb160b787827acdf1f7af7cc8)
2007-10-10 14:18:39 -05:00
Stefan Metzmacher
d08fb7b1cc r18485: include libreplace.m4 in the aclocal.m4 files
and use the macros in configure.ac

metze
(This used to be commit 95d33e4d71b4c97af8413bcd136f393aa3e380dd)
2007-10-10 14:18:36 -05:00