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

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 0a3b53fd2c)
2007-10-10 15:05:27 -05:00
Jelmer Vernooij
9c7ae7ec55 r24995: Update upstream URLs.
(This used to be commit 04b3623c2e)
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 d5fa147687)
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 0a97de3804)
2007-10-10 14:53:29 -05:00
Stefan Metzmacher
9853deacb6 r23111: nicer ./configure --help output
metze
(This used to be commit d0d371be71)
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 251d534a88)
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 9a9376d902)
2007-10-10 14:52:38 -05:00
Jelmer Vernooij
30baa7f39e r22697: Support building with external talloc.
(This used to be commit 3a2f9e0977)
2007-10-10 14:52:02 -05:00
Stefan Metzmacher
91ec102fb9 r22662: disable shared library support on Tru64
metze
(This used to be commit 75d5155cd3)
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 9e6ed9ed0f)
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 c924b0b89c)
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 976343821b)
2007-10-10 14:49:43 -05:00
Jelmer Vernooij
82266dc22f r21582: Allow modification of LDFLAGS
(This used to be commit 1726bd3378)
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 6bada0dcf0)
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 d491258c2c)
2007-10-10 14:43:35 -05:00
James Peach
34fe5027d0 r20697: A couple of minot cross-compile fixes.
(This used to be commit d4c7dd19f3)
2007-10-10 14:40:24 -05:00
Jelmer Vernooij
667eedac90 r19634: Only use --allow-undef-shlib for modules.
(This used to be commit e8f2a086be)
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 93e4f093b9)
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 3f8b776f63)
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 47b113e5db)
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 a07b11924c)
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 91faa1154a)
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 7a01235067)
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 9c77de2821)
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 79db6bddc5)
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 c6216f7dbf)
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 5506c40487)
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 888a769af5)
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 1ea52d7584)
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 823cd3ab35)
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 ace406a36e)
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 d8fdd05482)
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 6a6729fb72)
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 95d33e4d71)
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 d905bb499d)
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 c2f2dbb5d1)
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 6b3d27e93e)
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 ce08bf1280)
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
21a9a3dc55 r18262: fix typos
metze
(This used to be commit acbd52009f)
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
26c789eb6a r18261: print out the version of gcc
metze
(This used to be commit 655e400127)
2007-10-10 14:17:58 -05:00
Andrew Tridgell
afe2fde6fd r18221: moved more configure checks into lib/replace/
(This used to be commit d853dcfda7)
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 50318dc55e)
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 5ecf98cc18)
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 159f745702)
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 5e59153735)
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 de0c8d1b17)
2007-10-10 14:17:46 -05:00
Stefan Metzmacher
0a4aafbe30 r18173: PICSUFFIX isn't used anymore
metze
(This used to be commit 647f3b140c)
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 38f9e90a12)
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 77948d26f0)
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 d0aa78177d)
2007-10-10 14:16:53 -05:00