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

35 Commits

Author SHA1 Message Date
Jelmer Vernooij
703ffbaaac r10478: More work on proto headers; we now generate a couple of smaller ones
that are then included by include/proto.h
2007-10-10 13:38:52 -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
Volker Lendecke
8335aa056f r10472: Check for strndup 2007-10-10 13:38:51 -05:00
Jelmer Vernooij
fbbfad0a1f r10456: More SCons fixes:
- Add framework for fallback generating code
 - Move pread / pwrite replacement functions to libreplace
 - Support pidl builds correctly
 - Support asn1 builds correctly
 - Move OS-specific checks to lib/replace/SConscript
2007-10-10 13:38:48 -05:00
Jelmer Vernooij
7be3ec4dbb r10453: Fix the build 2007-10-10 13:38:48 -05:00
Jelmer Vernooij
b2d2b4f233 r10452: Couple of small scons updates - ignore .sconsign files 2007-10-10 13:38:47 -05:00
Stefan Metzmacher
f6bd76fa15 r10449: remove double copyright header
metze
2007-10-10 13:38:47 -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
Tim Potter
9d001dc083 r10377: Save configuration stuff to sconf.cache so it isn't annoyingly run
at every single build.  Run 'scons configure=1' or delete sconf.cache
to force checks to be re-run.

Jelmer, I think this stuff is cached in the .sconf_cache directory but
the message is still displayed and it looks like it caches the compiled
test object file not the actual result of the test.
2007-10-10 13:38:33 -05:00
Jelmer Vernooij
4f0d7f75b9 r10348: Add scons scripts for remaining subsystems. Most subsystems build now,
but final linking still fails (as does generating files asn1, et, idl and proto
files)
2007-10-10 13:38:30 -05:00
Jelmer Vernooij
59d4450453 r10336: Add sconscript for a couple more subsystems. 2007-10-10 13:38:29 -05:00
Jelmer Vernooij
994093b08e r9949: Portability fixes for mingw32 2007-10-10 13:36:24 -05:00
Andrew Tridgell
57e6bd6139 r9374: HPUX is also missing setegid() 2007-10-10 13:33:29 -05:00
Andrew Tridgell
5a38b9a10b r9370: need a configure test for setresuid() 2007-10-10 13:33:28 -05:00
Andrew Tridgell
e8260a81cf r9369: an attempt to fix the build on HPUX. This is based on work by Don
McCall, but takes a slightly different approach that I hope will be
more generic
2007-10-10 13:33:28 -05:00
Stefan Metzmacher
adebd56be6 r9063: - don't pollute the global $LIBS variable with -ldl
- -lresolve seems to not being needed any more
  (it's actually not used, and the build farm seem to happy with it)

- move socket and netif configure test to seperate files
- don't pollute the global $LIBS variable with -lsocket ...
- actually make use of the -lsocket when needed
  (should fix the solaris build)

metze
2007-10-10 13:31:13 -05:00
Andrew Tridgell
d974bf3589 r8750: drat, on some systems dirfd() is a macro 2007-10-10 13:30:02 -05:00
Andrew Tridgell
ce022e4090 r8749: for completeness, add rewinddir() and dirfd() 2007-10-10 13:30:02 -05:00
Andrew Tridgell
e1bf7c4279 r8746: replace opendir/readdir/telldir/seekdir/closedir on systems where they
are broken (apparently all BSD systems). This breakage leads to unlink
on files in an open directory causing a later seekdir to miss
files. The bug happens due to a block boundary bug in the BSD libc
implementation of these calls.

This replacement code also fixes a severe memory usage problem with
telldir that can cause closedir() to take an arbitrary amount of time.

I have reported the bug in readdir to Greg Lehey (a FreeBSD maintainer)
2007-10-10 13:30:01 -05:00
Andrew Tridgell
eb3b3c8b40 r8710: another attempt at fixing HPUX 2007-10-10 13:29:56 -05:00
Andrew Tridgell
c84c516b17 r8698: attempt to cope with lack of strtoull() on HPUX 2007-10-10 13:29:55 -05:00
Andrew Tridgell
58d7a1e6a3 r8580: try to fix the build on stratus 2007-10-10 13:29:40 -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
Jelmer Vernooij
5b007037df r8437: Win32 doesn't have u_int*_t 2007-10-10 13:23:02 -05:00
Jelmer Vernooij
d2ea619125 r8434: Win32 portability updates from Steven Edwards <steven_ed4153@yahoo.com>:
- undefine anything in the win32 api or PSDK headers that Samba already defines
 - map BSD error codes to Winsock Error codes
2007-10-10 13:23:02 -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
Jelmer Vernooij
4eca613470 r7866: Remove some unused autoconf macro calls.
Some of these should probably be re-added again later when
we need them. They should then be added to the appropriate config.m4 file
in the source tree rather then in rewrite.m4.
2007-10-10 13:18:45 -05:00
Jelmer Vernooij
bf85fdd015 r7850: Support mkdir() with just one parameter. Patch from
Steven Edwards <steven_ed4153@yahoo.com>.

I've moved the Win32-specific tests to win32.m4 so it does not
make any of the POSIX configure stuff more complicated.
2007-10-10 13:18:42 -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
Jelmer Vernooij
fc7f519e4a r7166: Move replacement stuff to seperate directory
(easier to add win32-specific bits later)
Trim LIBBASIC a bit more
2007-10-10 13:17:22 -05:00