1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-09 00:23:50 +03:00
Commit Graph

81 Commits

Author SHA1 Message Date
James Peach
b3d2512ed4 r16556: Add mkdtemp to libreplace. This is apparantly available on Linux
and BSD systems, but it's not everywhere.
2007-10-10 14:09:34 -05:00
Jelmer Vernooij
139d9369dc r15986: Declare struct tm 2007-10-10 14:08:46 -05:00
Andrew Tridgell
acfaa98b5e r15953: our timegm() replacement still doesn't work, so grab the one from
Heimdal which does work. This should fix most of the rest of the
failures on solaris
2007-10-10 14:08:44 -05:00
Andrew Tridgell
971cead2ad r15882: I forgot to add in this prototype for strtok_r() 2007-10-10 14:08:37 -05:00
Jelmer Vernooij
3780e0580b r15868: Add replacement macro for __STRING() 2007-10-10 14:08:34 -05:00
Stefan Metzmacher
6c5a2b08ca r15280: - remove the 2nd check for __FUNCTION__
- fallback to __func__ if __FUNCTION__ isn't there

metze
2007-10-10 14:05:01 -05:00
Jelmer Vernooij
d5d03cdd23 r15226: Fix order of typedef specification - caught by kblin 2007-10-10 14:04:21 -05:00
Jelmer Vernooij
6598efc6b3 r15224: Check whether -MT is actually supported by the compiler before using
automatic dependencies
2007-10-10 14:04:20 -05:00
Jelmer Vernooij
a5a648de94 r15203: Allow system 'bool' type to be defined in another header then stdbool.h 2007-10-10 14:04:17 -05:00
Jelmer Vernooij
3f0396aade r15200: Move MIN/MAX macros to libreplace as some systems have them
in sys/param.h
2007-10-10 14:04:16 -05:00
Jelmer Vernooij
76b1576541 r15000: Move some more autoconf tests out of build/m4/rewrite.m4
Guarantee availability of __FUNCTION__ in libreplace
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
a5c87360a7 r14999: Remove more unused autoconf code
Simplify va_copy() replacement code a bit
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
bccfddcafa r14844: Support a stdbool.h replacement in lib/replace/ 2007-10-10 13:59:41 -05:00
Jelmer Vernooij
2b3d56e153 r13577: Move some (possibly system-defined) defines to replace.h 2007-10-10 13:51:57 -05:00
Stefan Metzmacher
32f2cf433f r12814: we need this here too, as we'll include replace.h for building heimdal/*
too, and for this we don't include includes.h

(hopefully) fix the build on AIX

metze
2007-10-10 13:49:59 -05:00
Jelmer Vernooij
243cf760b0 r12801: Some more include/ cleanups (remove unused macros + move files
to specific dirs)
2007-10-10 13:49:57 -05:00
Stefan Metzmacher
cbe06ade21 r12364: add UINT32_MAX and UINT64_MAX replacement defines
(hopefully fix the build on OpenBSD)

metze
2007-10-10 13:47:31 -05:00
Jelmer Vernooij
4322962074 r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
in build/smb_build/, remove unused pstring macros
2007-10-10 13:47:19 -05:00
Andrew Tridgell
4483d275e1 r10896: added a strcasestr() replacement function 2007-10-10 13:39:41 -05:00
Jelmer Vernooij
dc3dc79674 r10664: Include limits.h in replace.h for HOST_NAME_MAX 2007-10-10 13:39:15 -05:00
Jelmer Vernooij
e09ffdfb1d r10476: Move some more types to libreplace. Fix missing strndup errors
for heimdal
2007-10-10 13:38:51 -05:00
Jelmer Vernooij
7be3ec4dbb r10453: Fix the build 2007-10-10 13:38:48 -05:00
Jelmer Vernooij
29919a7105 r10438: Move portability functions to lib/replace/; replace now simply ensures
that a given set of (working) POSIX functions are available (without
prefixes to their names, etc). See lib/replace/README for a list.

Functions that behave different from their POSIX specification
(such as sys_select, sys_read, etc) have kept the sys_ prefix.
2007-10-10 13:38:45 -05:00
Andrew Tridgell
aa9491c0cb r8465: once we define socklen_t, then tell other include files we have it. This prevents roken
trying to redefine it
2007-10-10 13:23:06 -05:00
Andrew Tridgell
3d4a2221c3 r8458: next target is irix - this gets the socket wrapper code building 2007-10-10 13:23:05 -05:00
Andrew Tridgell
30e1b6140e r8450: more configure tests for solaris. It now builds some binaries, but
fails in the ejs floating point code.
2007-10-10 13:23:04 -05:00
Andrew Tridgell
59c3de6ca8 r8420: slowly getting my way through some more heimdal portability fixes 2007-10-10 13:23:01 -05:00
Andrew Tridgell
a1ca8352f4 r8418: PRINTF_ATTRIBUTE declaration has to come before it is used :-) 2007-10-10 13:23:00 -05:00
Andrew Tridgell
117d2fa31d r8417: fixed handling of PRINTF_ATTRIBUTE for heimdal portion of build 2007-10-10 13:23:00 -05:00
Andrew Tridgell
7d4e309f02 r8313: moved PRINTF_ATTRIBUTE to replace.h to try to get irix building with heimdal 2007-10-10 13:20:05 -05:00
Andrew Tridgell
d4648249b2 r7352: the internal heimdal build change. This changes quite a few things:
- if you want kerberos now, you need to unpack a lorikeet heimdal
   tree in source/heimdal/. If source/heimdal/ does not exist at
   configure time then all kerberos features are disabled. You cannot
   use an external kerberos library for now. That may change later.

 - moved lib/replace/ config stuff to lib/replace/ and create a
   lib/replace/replace.h. That allows the heimdal build to use our
   portability layer, and prevenets duplicate definitions of functions
   like strlcat()

 - if you do enable heimdal, then you will need to do 'make
   HEIMDAL_EXTERNAL' before you build Samba. That should be fixed once
   I explain the problem to jelmer (the problem is the inability to
   set a depend without also dragging in the object list of the
   dependency. We need this for building the heimdal asn1 compiler and
   et compiler.

 - disabled all of the m4 checks for external kerberos libraries. I
   left them in place in auth/kerberos/, but disabled it in
   configure.in

some of the heimdal_build/ code is still very rough, for example I
don't correctly detect the correct awk, flex, bison replacements for
heimdal_build/build_external.sh. I expect to fix that stuff up over
the next few days.
2007-10-10 13:17:45 -05:00