1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

225 Commits

Author SHA1 Message Date
Jelmer Vernooij
6c79213eb8 r24997: Re-enable use of system-provided tdb and/or talloc when available.
(This used to be commit 0a3b53fd2cbd15c1e5839990e721bbe4d2f7d4af)
2007-10-10 15:05:27 -05:00
Jelmer Vernooij
9c7ae7ec55 r24995: Update upstream URLs.
(This used to be commit 04b3623c2e5b39738c869744be8cd3589eda931e)
2007-10-10 15:05:26 -05:00
Stefan Metzmacher
00389db384 r23638: add SMB_LIBRARY() macro to create a LIBRARY::foo section in
source/config.mk from within *.m4 files

metze
(This used to be commit d5fa1476875f862e56e640c0777b95f69886e2fd)
2007-10-10 14:53:30 -05:00
Stefan Metzmacher
13ecb01de8 r23637: fix detection of visibility attribute support
James: AC_TRY_LINK() has a different syntax as AC_TRY_RUN() :-)
       so this was wrong:
       http://websvn.samba.org/cgi-bin/viewcvs.cgi?rev=20697&view=rev

metze
(This used to be commit 0a97de3804cbfc593c0cfc62e61fbfe87d2cf368)
2007-10-10 14:53:29 -05:00
Stefan Metzmacher
9853deacb6 r23111: nicer ./configure --help output
metze
(This used to be commit d0d371be719f219db9ed9b37df010a80fdda6fc3)
2007-10-10 14:52:50 -05:00
Stefan Metzmacher
938a0bc9ac r23110: add --disable-shared option, very useful for the build-farm...
metze
(This used to be commit 251d534a883efd384e0951c9af595203d962b972)
2007-10-10 14:52:50 -05:00
Stefan Metzmacher
23026646e1 r22996: merge HPUX compiler flag fixes from SAMBA_3_0
metze
(This used to be commit 9a9376d902bd946e6613ff9d3c37b344dfd207cf)
2007-10-10 14:52:38 -05:00
Jelmer Vernooij
30baa7f39e r22697: Support building with external talloc.
(This used to be commit 3a2f9e0977bc311daa8171ea709a9cbcdd0a0c85)
2007-10-10 14:52:02 -05:00
Stefan Metzmacher
91ec102fb9 r22662: disable shared library support on Tru64
metze
(This used to be commit 75d5155cd33096aea0dc31dfa596769eb923299d)
2007-10-10 14:51:58 -05:00
Stefan Metzmacher
71270d5e1c r22308: disabled shared libraries on aix and openbsd
until we can link libtorture.so and libntvfs.so
there

metze
(This used to be commit 9e6ed9ed0fd2b65c87d5bcfd99f88fe035c6c362)
2007-10-10 14:51:00 -05:00
Stefan Metzmacher
e91776220c r22257: disable shared libraries on IRIX for now
as us4 fails to link libtorture.so because of an argv overflow

metze
(This used to be commit c924b0b89c3d8cd2e8b4db5866be028d9f13a787)
2007-10-10 14:50:48 -05:00
James Peach
2e588454fe r22035: Introduce HOSTLD which is needed to link the asn1 compiler when cross
compiling.
(This used to be commit 976343821b99b04725c9fddee42dbcd0261c2d51)
2007-10-10 14:49:43 -05:00
Jelmer Vernooij
82266dc22f r21582: Allow modification of LDFLAGS
(This used to be commit 1726bd33782d1ee77a292bdc0c840959c1c3fb50)
2007-10-10 14:49:00 -05:00
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
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
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
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
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
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
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
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
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
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
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
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
Andrew Tridgell
24f4b6eff2 r18219: move some more portability checks out of samba4 and info lib/replace
(This used to be commit 50318dc55ed5eb70adb02a5680498fad3c3e590d)
2007-10-10 14:17:52 -05:00
Stefan Metzmacher
af1b64c92f r18210: - reenable autodependencies
- and add -MT $@ to the dependency generation
  to notice changes in depdendecies of header files

you may need a 'make clean' or at least you need to remove
heimdal_build/replace.hd

metze
(This used to be commit 5ecf98cc189039023ff0a97f43eba7fb2c2cdc46)
2007-10-10 14:17:50 -05:00
Stefan Metzmacher
6b5e86f47b r18183: - add LIBREPLACE globaly and add LIBREPLACE_HOSTCC
- also specify USE_HOSTCC = YES on binaries that use HOSTCC

I also disable autodependecies as this change let make run forever,
I hopefully fix that tomorrow

metze
(This used to be commit 159f74570233a8707dc1deb70fb1917a854213f8)
2007-10-10 14:17:47 -05:00
Stefan Metzmacher
c8295a7d2f r18181: use:
CC and CFLAGS
 LD and LDFLAGS
 STLD and STLD_FLAGS
 SHLD and SHLD_FLAGS

all controled by configure
and import the values from samba3 which are more recent

metze
(This used to be commit 5e59153735102df6fae2eaaac6a7c3db86c95f8f)
2007-10-10 14:17:47 -05:00
Stefan Metzmacher
21ef15d703 r18179: - move CC specific stuff to check_cc.m4
- add some AC_DEFINES to rewrite.m4
  (I'll remove them from check_ld.m4 soon)
  (I've also merged new values from samba3)

metze
(This used to be commit de0c8d1b1729daef984d5b44e0224481cf9e2164)
2007-10-10 14:17:46 -05:00
Stefan Metzmacher
0a4aafbe30 r18173: PICSUFFIX isn't used anymore
metze
(This used to be commit 647f3b140c77a2a01ff0c9fadf45e080659844d1)
2007-10-10 14:17:46 -05:00
Stefan Metzmacher
6150443532 r18152: move our AC macros into lib/replace/libreplace_macros.m4
and include them from there

metze
(This used to be commit 38f9e90a120b4e62f005a1bac89139ee87f63071)
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
3f42b91246 r18087: use m4_include() do notice missing files
metze
(This used to be commit 77948d26f046ac2857260918bd01172bf2166e21)
2007-10-10 14:17:14 -05:00
Stefan Metzmacher
2a1ef3c817 r17904: we don't want warnings about unused parameters
volker that one was for you:-)

metze
(This used to be commit d0aa78177d24877320bac2294328e0083f34e9a5)
2007-10-10 14:16:53 -05:00