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

30 Commits

Author SHA1 Message Date
Andrew Tridgell
71107c0eb7 r3448: some systems don't have stdint.h
(This used to be commit 8afc2b3bc19c627f7b970ee6ce0480039ed5d3cb)
2007-10-10 13:05:13 -05:00
Andrew Tridgell
284349482f r3443: the next stage in the include files re-organisation.
I have created the include/system/ directory, which will contain the
wrappers for the system includes for logical subsystems. So far I have
created include/system/kerberos.h and include/system/network.h, which
contain all the system includes for kerberos code and networking code.
These are the included in subsystems that need kerberos or networking
respectively.

Note that this method avoids the mess of #ifdef HAVE_XXX_H in every C
file, instead each C module includes the include/system/XXX.h file for
the logical system support it needs, and the details are kept isolated
in include/system/

This patch also creates a "struct ipv4_addr" which replaces "struct
in_addr" in our code. That avoids every C file needing to import all
the system networking headers.
(This used to be commit 2e25c71853f8996f73755277e448e7d670810349)
2007-10-10 13:05:11 -05:00
Andrew Tridgell
260b012f22 r3027: got rid of some configure checks we don't need any more
(This used to be commit 6a3f356b763b0577e2ad3e7ea74bee932c04a46b)
2007-10-10 12:59:59 -05:00
Andrew Tridgell
0bd8d427d0 r2951: fixed the intptr_t test for discard_const()
(This used to be commit 3318cf2722597e57d1731152b2607f6b167e45b9)
2007-10-10 12:59:51 -05:00
Andrew Tridgell
598e82e7ad r2900: rusty pointed out to me that discard_const() can be done via a macro
on systems that have the intptr_t type, and for systems that don't
have it, they also almost certainly won't have -Wcast-qual, so we can use a
void* cast.
(This used to be commit 2132d38f9c5ba59825558d5ba084a514ebc2626b)
2007-10-10 12:59:46 -05:00
Andrew Tridgell
aeb9d1e1ad r2656: moved the seteuid configure tests into the posix backend (these tests
don't actually work yet, that will come later)
(This used to be commit 46b790c19da25ba88d29f555f828688bb05e531d)
2007-10-10 12:59:17 -05:00
Tim Potter
00e05a0b8b r2582: Merge checks for xattr and acl libraries from Samba3 so the {get,set}ntacl
programs can build on non-xattr machines.
(This used to be commit daad76207dbb4060c231a58c99970e837e1e858f)
2007-10-10 12:59:07 -05:00
Paul Green
0be0e8effc r1988: Let Samba use all POSIX features available on VOS.
paulg
(This used to be commit a489ea5ebec852c33c4d659893144b0577ee8af1)
2007-10-10 12:58:15 -05:00
Andrew Tridgell
43afd3fda8 r1973: for systems that don't have strtoull() try strtouq(). This should fix
the build for some BSD varients.
(This used to be commit 73e9ee791472bb212efe0eb4744daa91678263ad)
2007-10-10 12:58:14 -05:00
Stefan Metzmacher
5a5f9c8aa7 r1943: don't use the with --enable-*developer selected flags for
the configure tests.

and test if the compiler really understand the options,
and clear them when not

this means we can maybe use --enable-developer on the build farm now

metze
(This used to be commit 35624842c7b25c404e6203564005e3098e4249b4)
2007-10-10 12:58:12 -05:00
Stefan Metzmacher
1cec0de927 r1308: move smb_panic() to lib/fault.c
merge the backtrace stuff from 3.0

metze
(This used to be commit 4daf1bafc71cc8f13188aeb85d81aa7513d57d95)
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
6e14c2cc00 r1073: import DYNEXP flags to smb_build
and use @{$SMB_BUILD_CTX->{BUILD_ENV}{LD}{DYNEXP}} for the flags

I'll use this for all vars which are currently using AC_SUBST(),
so we can skip Makefile.in...

(this should fix the build on us4...)

metze
(This used to be commit 798cbed5a328bd773447f1ee0b4f6ea751062e7e)
2007-10-10 12:56:36 -05:00
Jelmer Vernooij
7aa5a5de59 r1037: Always export all symbols
(This used to be commit 0209dce1eb9c62c0e454906d9ba015d8c5f5abf6)
2007-10-10 12:56:33 -05:00
Stefan Metzmacher
de827cb9d9 r970: - remove unused wchar_t check
- move immediate structures check to the compiler checks

metze
(This used to be commit e2a322aa116de9977f6438f9eb6d2af42799ab83)
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
9318fdbb33 r967: move some configure checks to seperate files
metze
(This used to be commit 2d109074e8be712a6eb0cfc76439176e3dcdee3a)
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
fcd718c7d8 r890: convert samba4 to use [u]int8_t instead of [u]int8
metze
(This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
2007-10-10 12:56:16 -05:00
Stefan Metzmacher
f88bf54c7f r889: convert samba4 to use [u]int16_t instead of [u]int16
metze
(This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
2007-10-10 12:56:16 -05:00
Stefan Metzmacher
f9d8f8843d r884: convert samba4 to use [u]int32_t instead of [u]int32
metze
(This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10 12:56:15 -05:00
Andrew Tridgell
579c13da43 r873: converted samba4 to use real 64 bit integers instead of
structures. This was suggested by metze recently.

I checked on the build farm and all the machines we have support 64
bit ints, and support the LL suffix for 64 bit constants. I suspect
some won't support strtoll() and related functions, so we will
probably need replacements for those.
(This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
2007-10-10 12:56:14 -05:00
Stefan Metzmacher
25b69856ec r765: add SMB_INCLUDE_M4() macro as wrapper arround sinclude()
metze
(This used to be commit afbe692b47f4aa6ebe2155927be00197fafe13f3)
2007-10-10 12:53:49 -05:00
Stefan Metzmacher
0f3b182ba9 r749: move the basic type checks
be more restrict if we don't have 'long long' or it's size is less than 8 bytes

(maybe only for a while, but if the build farm like it we may let it in forever
since the smb protocol really need 64 bit variables!)

metze
(This used to be commit 4a13cc22b464dfc4cbecfa6922b14c60d95876bd)
2007-10-10 12:53:48 -05:00
Stefan Metzmacher
a22c38d70a r748: get some more info about what the compilers in the build farm support
what we need is a test if the compiler does ANSI c99

metze
(This used to be commit e8a11e441b074f9dc1c7c24c9048f8927dac8e59)
2007-10-10 12:53:48 -05:00
Stefan Metzmacher
dd1e2cd0d7 r703: only use $PERL -W when --enable-debug
metz
(This used to be commit 6289da6783d91637a6be76a4e5444fc22570eca0)
2007-10-10 12:53:44 -05:00
Stefan Metzmacher
4b08f42c0d r680: fail directly when we notice that perl is not there
(we fail anyway)

metze
(This used to be commit 9f6deb7d795fbddc973e84a45ecb1273aa4f3aea)
2007-10-10 12:53:41 -05:00
Stefan Metzmacher
91b30df39b r147: - Remove dublicate ldap tests (richard the current test is in libads/config.m4 :-)
- Move sendfile check to ntvfs/config.m4
- Move comparison_fn_t check to build/m4/rewrite.m4

Please do not new tests to configure.in directly,
please add them to the subsystems config.m4 file where they belong to or
to build/m4/rewrite.m4 if you don't know where to put it for now

Thanks

I know samba4's build system is not completly rewritten.
I have a lot of updatest in my local tree, but it's not complete yet
when it's complete I'll write documentation for it:-)

metze
(This used to be commit 31c23f14d60a4aa41e0500e369f25ed6dc7ddae7)
2007-10-10 12:51:11 -05:00
Stefan Metzmacher
42887e406a - creat the LIBCMDLINE subsystem
including readline and popt

- creat the CONFIG subsystem
  including param/* dynconfig.* and passdb/secrets.*

metze
(This used to be commit bfd7fd21c8e38c0065fc41dde10e863a169878c2)
2004-02-22 13:09:51 +00:00
Stefan Metzmacher
64cdbddbc1 don't inlcude rpc/rpc.h and rpcsvc/*.h anymore
and remove NET_GROUP stuff, this needs to be implemented
in a better way if we ever readd this

metze
(This used to be commit da5f22976fb40ec96160439c7a926a15805fc7f0)
2004-02-18 15:31:25 +00:00
Stefan Metzmacher
932026724f remove unused NISPLUS/AUTOMOUNT stuff
metze
(This used to be commit cbfa29549e5b302f947c7f2ca14fbea257e46c33)
2004-02-18 13:55:15 +00:00
Stefan Metzmacher
7653fc6835 move external configure test programs
from tests/*.c to build/tests/*.c

metze
(This used to be commit dea3a3acbfe2341f9276ceaec2a42f0931e2c336)
2004-02-13 15:20:52 +00:00
Stefan Metzmacher
f08565bd3a move all old configure checks to build/m4/rewrite.m4
we should get rid of this file in the end:-)

the tests should go into subsystems config.m4 files

the goal is to know which tests belong to what code
and remove unused tests to make configure a bit faster

metze
(This used to be commit 3abb0fd19b27261e2b9fa46f287162be8f096913)
2004-02-13 15:03:46 +00:00