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

31 Commits

Author SHA1 Message Date
James Peach
ff2041c955 r16556: Add mkdtemp to libreplace. This is apparantly available on Linux
and BSD systems, but it's not everywhere.
(This used to be commit b3d2512ed4)
2007-10-10 14:09:34 -05:00
Jelmer Vernooij
49b29f67d4 r15986: Declare struct tm
(This used to be commit 139d9369dc)
2007-10-10 14:08:46 -05:00
Andrew Tridgell
0a1a19d9d9 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
(This used to be commit acfaa98b5e)
2007-10-10 14:08:44 -05:00
Andrew Tridgell
aa01252bb3 r15882: I forgot to add in this prototype for strtok_r()
(This used to be commit 971cead2ad)
2007-10-10 14:08:37 -05:00
Jelmer Vernooij
548927d79b r15868: Add replacement macro for __STRING()
(This used to be commit 3780e0580b)
2007-10-10 14:08:34 -05:00
Stefan Metzmacher
81d3f8e8a1 r15280: - remove the 2nd check for __FUNCTION__
- fallback to __func__ if __FUNCTION__ isn't there

metze
(This used to be commit 6c5a2b08ca)
2007-10-10 14:05:01 -05:00
Jelmer Vernooij
6bbd3b3360 r15226: Fix order of typedef specification - caught by kblin
(This used to be commit d5d03cdd23)
2007-10-10 14:04:21 -05:00
Jelmer Vernooij
847e80dee9 r15224: Check whether -MT is actually supported by the compiler before using
automatic dependencies
(This used to be commit 6598efc6b3)
2007-10-10 14:04:20 -05:00
Jelmer Vernooij
94af743baa r15203: Allow system 'bool' type to be defined in another header then stdbool.h
(This used to be commit a5a648de94)
2007-10-10 14:04:17 -05:00
Jelmer Vernooij
e2e3a8e007 r15200: Move MIN/MAX macros to libreplace as some systems have them
in sys/param.h
(This used to be commit 3f0396aade)
2007-10-10 14:04:16 -05:00
Jelmer Vernooij
4ab73d6045 r15000: Move some more autoconf tests out of build/m4/rewrite.m4
Guarantee availability of __FUNCTION__ in libreplace
(This used to be commit 76b1576541)
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
4a61e4901e r14999: Remove more unused autoconf code
Simplify va_copy() replacement code a bit
(This used to be commit a5c87360a7)
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
c50125f6ef r14844: Support a stdbool.h replacement in lib/replace/
(This used to be commit bccfddcafa)
2007-10-10 13:59:41 -05:00
Jelmer Vernooij
595702c9fa r13577: Move some (possibly system-defined) defines to replace.h
(This used to be commit 2b3d56e153)
2007-10-10 13:51:57 -05:00
Stefan Metzmacher
073866887d 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
(This used to be commit 32f2cf433f)
2007-10-10 13:49:59 -05:00
Jelmer Vernooij
5c8447773f r12801: Some more include/ cleanups (remove unused macros + move files
to specific dirs)
(This used to be commit 243cf760b0)
2007-10-10 13:49:57 -05:00
Stefan Metzmacher
64b611a18e r12364: add UINT32_MAX and UINT64_MAX replacement defines
(hopefully fix the build on OpenBSD)

metze
(This used to be commit cbe06ade21)
2007-10-10 13:47:31 -05:00
Jelmer Vernooij
efe67458c1 r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
in build/smb_build/, remove unused pstring macros
(This used to be commit 4322962074)
2007-10-10 13:47:19 -05:00
Andrew Tridgell
1584f64920 r10896: added a strcasestr() replacement function
(This used to be commit 4483d275e1)
2007-10-10 13:39:41 -05:00
Jelmer Vernooij
ecbf28630e r10664: Include limits.h in replace.h for HOST_NAME_MAX
(This used to be commit dc3dc79674)
2007-10-10 13:39:15 -05:00
Jelmer Vernooij
70b52b02a7 r10476: Move some more types to libreplace. Fix missing strndup errors
for heimdal
(This used to be commit e09ffdfb1d)
2007-10-10 13:38:51 -05:00
Jelmer Vernooij
da46c9252e r10453: Fix the build
(This used to be commit 7be3ec4dbb)
2007-10-10 13:38:48 -05:00
Jelmer Vernooij
f3b412fbd6 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.
(This used to be commit 29919a7105)
2007-10-10 13:38:45 -05:00
Andrew Tridgell
5c453f5698 r8465: once we define socklen_t, then tell other include files we have it. This prevents roken
trying to redefine it
(This used to be commit aa9491c0cb)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
c4173f6725 r8458: next target is irix - this gets the socket wrapper code building
(This used to be commit 3d4a2221c3)
2007-10-10 13:23:05 -05:00
Andrew Tridgell
af0574378b r8450: more configure tests for solaris. It now builds some binaries, but
fails in the ejs floating point code.
(This used to be commit 30e1b6140e)
2007-10-10 13:23:04 -05:00
Andrew Tridgell
2ea372afd9 r8420: slowly getting my way through some more heimdal portability fixes
(This used to be commit 59c3de6ca8)
2007-10-10 13:23:01 -05:00
Andrew Tridgell
12ed349f90 r8418: PRINTF_ATTRIBUTE declaration has to come before it is used :-)
(This used to be commit a1ca8352f4)
2007-10-10 13:23:00 -05:00
Andrew Tridgell
72fbfff1a7 r8417: fixed handling of PRINTF_ATTRIBUTE for heimdal portion of build
(This used to be commit 117d2fa31d)
2007-10-10 13:23:00 -05:00
Andrew Tridgell
54ffd4fdbf r8313: moved PRINTF_ATTRIBUTE to replace.h to try to get irix building with heimdal
(This used to be commit 7d4e309f02)
2007-10-10 13:20:05 -05:00
Andrew Tridgell
bce8cda061 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.
(This used to be commit d4648249b2)
2007-10-10 13:17:45 -05:00