1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

1283 Commits

Author SHA1 Message Date
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
Stefan Metzmacher
68201cc76b r18419: fix include paths of the configure tests
metze
(This used to be commit 8774eeb0dc8a72a9871d42bf1652ce4f7d4a29b7)
2007-10-10 14:18:26 -05:00
Stefan Metzmacher
dd4fac5a55 r18366: check if we can link using the selected flags
metze
(This used to be commit d905bb499d81ac4e2f00277ae77ce0a51bdc7474)
2007-10-10 14:18:19 -05:00
Andrew Tridgell
d82ed849cc r18337: more -Ae tests in check_cc.m4
honor the MMAP_BLACKLIST
(This used to be commit c2f2dbb5d1c082ee1391908073336a9dfc10f712)
2007-10-10 14:18:11 -05:00
Stefan Metzmacher
1a7ad8e573 r18294: remove leading ././ from .mk files
metze
(This used to be commit f41e2f7f5a71d22ae6b27ac9fb0239512728e12c)
2007-10-10 14:18:03 -05:00
Stefan Metzmacher
e04ad03d66 r18293: use the correct name it's not always under $srcdir...
metze
(This used to be commit cf61435b435b7995f20e07b93002e51fe4ac2c82)
2007-10-10 14:18:03 -05:00
Stefan Metzmacher
8bb7833dc6 r18291: don't add ./ for files in the top dir '.'
metze
(This used to be commit f60be737efc9e3d515479301a9ed24347aa773cc)
2007-10-10 14:18:02 -05:00
Stefan Metzmacher
3010e2e1e9 r18273: AC_PROG_LD_GNU needs LD defined already
metze
(This used to be commit 6b3d27e93e7c00d1ab70d2c82e29b99b9f666228)
2007-10-10 14:17:59 -05:00
Stefan Metzmacher
52102bc76c r18266: we should bail out in configure if C99 structs are not support
tridge: I think we should create macros in libreplace_macros.m4
        and call them in check_cc.m4 instead of running the tests
	in libreplace.m4. Maybe the macros should remember if they're called
	and then they're skipped in libreplace.m4 inside samba4

metze
(This used to be commit ce08bf12803869914b35c05e125070f267daf78c)
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
21a9a3dc55 r18262: fix typos
metze
(This used to be commit acbd52009f8610df38f27adf6097cf7075b977fc)
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
26c789eb6a r18261: print out the version of gcc
metze
(This used to be commit 655e400127d828104718ab87a0bc118dbf1a471f)
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
ebc1533a20 r18260: fix the build on systems with broken readdir
this is just a short term hack

we should move the stuff from lib/replace/config.mk
into a lib/replace/samba.m4 and dynamicly generate the OBJ_FILES
list for LIBREPLACE and get rid of REPLACE_REPDIR

metze
(This used to be commit e27a36286845b95150d06daaae8f5dcf988febd7)
2007-10-10 14:17:57 -05:00
Stefan Metzmacher
bdbd9b8886 r18223: the perl array of dependecies is in reversed order
print out the CFLAGS in the correct order

metze
(This used to be commit 49b555b876493e4d05bd69328f9a4e0585aa8076)
2007-10-10 14:17:52 -05:00
Stefan Metzmacher
21aa8c49c7 r18222: filter out double entries from CFLAGS
metze
(This used to be commit 42e70d5a7b9c12527bb49f9c60330706d350cf49)
2007-10-10 14:17:52 -05:00
Andrew Tridgell
afe2fde6fd r18221: moved more configure checks into lib/replace/
(This used to be commit d853dcfda771888f80a80e14ffabb1c0e58a340e)
2007-10-10 14:17:52 -05:00
Stefan Metzmacher
817d153870 r18220: $#foo returns the index of the last element not the count of elements,
so we need >= 0.

as 0 means one element

metze
(This used to be commit d8b5d0c9a75731c8627e8fabb364ec0ad0e9decd)
2007-10-10 14:17:52 -05:00