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

520 Commits

Author SHA1 Message Date
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