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

274 Commits

Author SHA1 Message Date
Stefan Metzmacher
fd2e67dadf r19186: that doesn't help...
metze
(This used to be commit 59c6d51ab3)
2007-10-10 14:20:50 -05:00
Stefan Metzmacher
2e059dec54 r19173: see if HPUX 11.23 needs the same workaround as 11.11
metze
(This used to be commit 896326d508)
2007-10-10 14:20:49 -05:00
Stefan Metzmacher
ff4e832130 r19131: merge from samba3:
fix the logic for the AC_PROG_CC_C99 test

metze
(This used to be commit 5ccc020639)
2007-10-10 14:20:38 -05:00
Stefan Metzmacher
2210d51e4e r19122: merge from samba3:
sync system/iconv.h

metze
(This used to be commit 9c74964b61)
2007-10-10 14:20:37 -05:00
Andrew Tridgell
5efcccb259 r19120: silence a warning about a test function
(This used to be commit 59915150f0)
2007-10-10 14:20:37 -05:00
Andrew Tridgell
8f3c1e9fdb r19117: I've changed the checker wrapper on snab to allow for a
.checker_innocent file, similar to our .valgrind_suppressions file.
(This used to be commit 8228efdb93)
2007-10-10 14:20:36 -05:00
Andrew Tridgell
0f60472cb2 r19116: fixed a checker warning
(This used to be commit 48243721df)
2007-10-10 14:20:36 -05:00
Stefan Metzmacher
6ddc797e3a r19033: prepare to use the libreplace testsuite as LOCAL-REPLACE in smbtorture
metze
(This used to be commit 71fc73e11c)
2007-10-10 14:20:30 -05:00
Stefan Metzmacher
03cb0224d4 r19032: let the getdents replacement fail and see what the build-farm says.
metze
(This used to be commit 4ed53dfafc)
2007-10-10 14:20:30 -05:00
Stefan Metzmacher
37806f79cd r19029: test if opendir() on a file sets errno = ENOTDIR
metze
(This used to be commit 6b5f06b059)
2007-10-10 14:20:30 -05:00
Stefan Metzmacher
c4f106c414 r19023: lets see what the build-farm says about trying the
getdirentries() based readdir() replacement first.

metze
(This used to be commit 268c8bc7ef)
2007-10-10 14:20:29 -05:00
Volker Lendecke
127c96f499 r19017: Merge from Samba3:
Attempt to fix the BSD RAW-CHKPATH failures: In Samba3 we rely on opendir
returning ENOTDIR when the file opened is not a directory. Can we merge this
back into Samba4?

This includes the tabs->spaces fix requested by Stefan.

Volker
(This used to be commit 7b9ee1171d)
2007-10-10 14:20:28 -05:00
Stefan Metzmacher
e8a005acfe r18999: merge from samba3:
- make more usage of PRINTF_ATTRIBUTE()
- vsyslog takes a 'const char *format'

metze
(This used to be commit cdcd4232d2)
2007-10-10 14:20:28 -05:00
Volker Lendecke
9f98bcf6a8 r18991: Fix bug 4133 -- Thanks to Olaf Flebbe
(This used to be commit d8bea42bb7)
2007-10-10 14:20:27 -05:00
Andrew Tridgell
2550f5ae12 r18970: avoid strndup and strnlen on AIX. They are quite broken. See
http://lists.samba.org/archive/samba-technical/2004-August/036915.html
(This used to be commit c178c84f01)
2007-10-10 14:20:25 -05:00
Stefan Metzmacher
3f96df61da r18960: fix caching of some configure tests AC_CACHE_CHECK()
*needs* '_cv_' in the shell var to do caching...

metze
(This used to be commit cb334632fa)
2007-10-10 14:20:24 -05:00
Stefan Metzmacher
c0c135c774 r18957: we need to include unistd.h in system/network.h because
it contains the ioctl() prototype on some systems
and we need to make sure it gets included before socket_wrapper
defines ioctl swrap_ioctl

metze
(This used to be commit f37b13cbe6)
2007-10-10 14:20:24 -05:00
Stefan Metzmacher
174742a74c r18947: overload listen() and ioctl() in socket_wrapper
metze
(This used to be commit dfaccdca1b)
2007-10-10 14:20:23 -05:00
Andrew Tridgell
410256e75a r18914: this bug fix needs to be for just hpux 11.11
(This used to be commit 2cccede13d)
2007-10-10 14:20:20 -05:00
Andrew Tridgell
ed7639a304 r18913: an attempt to get tdb/ldb working on the HPUX box 'gwen'. This idea
come from Don McCall. Don may well be able to provide us with a
configure test in the future which does this in a nicer way, I just
want to see if it works now.
(This used to be commit f7f548a1c7)
2007-10-10 14:20:20 -05:00
Andrew Tridgell
2b2c7ee2f0 r18862: as andrew pointed our on irc, if we are going to define _TRUE, then
better make it be true :)
(This used to be commit 4bda5ed3f9)
2007-10-10 14:20:17 -05:00
Andrew Tridgell
311e26246c r18861: merge from samba3
(This used to be commit c5e2fcdc10)
2007-10-10 14:20:17 -05:00
Andrew Tridgell
a90eba6316 r18859: finally worked out what is going wrong with immediate structures. The
problem is that the AC_PROG_CC_C99 macro ends up selecting either
-std=std99 or -std=gnu99 for gcc. Ironically enough, that breaks
constant structure initialisers!

So, simplest solution is to not try that configure test if we know we
are using gcc
(This used to be commit 331435daf3)
2007-10-10 14:20:16 -05:00
Jelmer Vernooij
85ba30961b r18769: Re-enable __VA_ARGS__ test (but don't make it fatal)
(This used to be commit cc8c403de8)
2007-10-10 14:19:10 -05:00
Jelmer Vernooij
22f5fed6a6 r18723: Update list of provided macros/defines in README.
(This used to be commit 5e951bdeec)
2007-10-10 14:19:04 -05:00
Stefan Metzmacher
0780eb7f82 r18675: merge from samba3:
we need to define the macros the indicate we have bool
even if we have not defining bool ourself

metze
(This used to be commit 0c18e5d938)
2007-10-10 14:19:01 -05:00
Stefan Metzmacher
550495b6f9 r18674: merge from samba3,
PRINTF_ATTRIBUTE seems to not work with gcc 3.0

metze
(This used to be commit dfb9bfba94)
2007-10-10 14:19:01 -05:00
Andrew Tridgell
e84ee4a6fd r18600: - fix shell syntax in tests for libraries
- add library test for libpopt
(This used to be commit 13878b7e7e)
2007-10-10 14:18:55 -05:00
Andrew Tridgell
550834c9df r18594: fail the configure step if the required library is not found for tdb,
talloc or libreplace
(This used to be commit 9f45f970f7)
2007-10-10 14:18:54 -05:00
Stefan Metzmacher
4a854fe809 r18593: try to get the same socket_wrapper file building in samba3 and samba4
this is preparation of adding libreplace to samba3 later.

metze
(This used to be commit 26228e4b2e)
2007-10-10 14:18:54 -05:00
Stefan Metzmacher
5d6a38004a r18592: we don't need this twice
metze
(This used to be commit e9fe725cf4)
2007-10-10 14:18:53 -05:00
Andrew Tridgell
6e3b94d3bc r18563: - move more of the header checks into lib/replace/
- change the test for net/if.h to do a full compile, not just an
  existance test. net/if.h is completely broken on hpux, and can never
  compile (it uses stuff before it defines it), so by using a
  AC_TRY_COMPILE() test we avoid using net/if.h on hpux, which should
  fix the build
(This used to be commit bde18f3d5c)
2007-10-10 14:18:46 -05:00
Stefan Metzmacher
a8fd66f91f r18549: move gcc version check to libreplace and reorder the tests a bit
for nicer output

metze
(This used to be commit 888a769af5)
2007-10-10 14:18:45 -05:00
Stefan Metzmacher
040b5b812e r18544: - use AC_LIBREPLACE_LOCATION_CHECKS in samba4
- to get the ordering right we need to specify AC_CANONICAL_BUILD explicit
- add AC_CANONICAL_TARGET

metze
(This used to be commit 1ea52d7584)
2007-10-10 14:18:44 -05:00
Andrew Tridgell
182ab7107c r18539: 'make distclean' should delete config.cache
(This used to be commit 5a8becb1be)
2007-10-10 14:18:43 -05:00
Andrew Tridgell
fafa8c3e47 r18535: move the AC_CANONICAL_HOST and host specific flag tests into
libreplace. This should fix the standalone build of tdb on HPUX, where
we need to blacklist mmap.

Unfortunately this requires that we have a copy of config.guess and
config.sub in each of our project subdirectories. I tried to find a
way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just
put config.{guess,sub} in the lib/replace/ directory, but I couldn't
figure out how to do that in a way that kept autoconf happy for each
of our separate builds. Any autoconf guru out there see a way to do
this?
(This used to be commit 823cd3ab35)
2007-10-10 14:18:42 -05:00
Andrew Tridgell
eef5a6f538 r18518: we replace snprintf() if its not C99, so we should also add the rep_
prototype in that case
(This used to be commit 64b5ff171d)
2007-10-10 14:18:41 -05:00
Stefan Metzmacher
cbb1975c8c r18514: fix configure caching of AC_VERIFY_C_PROTOTYPE() macro
metze
(This used to be commit 8e49dc69e7)
2007-10-10 14:18:40 -05:00
Stefan Metzmacher
a0e87e5dc7 r18505: add configure checks for telldir() and seekdir()
telldir() is different on older OpenBSD versions
seekdir() is different Tru64

tridge: OpenBSD seems to like this replacement:-)
        while MAC OS 10 gets 134 runtime error:-(
	lets wait what Tru64 will give

metze
(This used to be commit 1f4e602ff2)
2007-10-10 14:18:40 -05:00
Stefan Metzmacher
a9aa6d0c67 r18503: - _GNU_SOURCE is defined by libreplace
- move AS_HELP_STRING replacement to libreplace

metze
(This used to be commit ace406a36e)
2007-10-10 14:18:40 -05:00
Stefan Metzmacher
d184a9cc32 r18502: remove unused lines
metze
(This used to be commit 37f55c08c3)
2007-10-10 14:18:39 -05:00
Stefan Metzmacher
8ed1176a8d r18501: libreplace needs 'long long', bailout if not present
or the size is not 8 bytes or more.

samba4 doesn't need type checks anymore

metze
(This used to be commit d8fdd05482)
2007-10-10 14:18:39 -05:00
Stefan Metzmacher
ac24d381a5 r18499: this hopefully lets the code compile on OpenBSD
the prototype was fixed in this revision
http://www.openbsd.org/cgi-bin/cvsweb/src/include/dirent.h.diff?r1=1.15&r2=1.16

so we'll need a configure test to find the prototype of
telldir later

metze
(This used to be commit c4da3b4364)
2007-10-10 14:18:39 -05:00
Andrew Tridgell
bdfecf3c97 r18493: another "blind coding" attempt at a getdirentries() based readdir()
replacement
(This used to be commit 94b73d692b)
2007-10-10 14:18:37 -05:00
Andrew Tridgell
ae98478385 r18492: an attempt at replacing readdir() with something based on
getdirentries()

This is untested on any of the platforms that matter, so we'll just
have to see if the build farm machines like it
(This used to be commit 343b0871b1)
2007-10-10 14:18:37 -05:00
Andrew Tridgell
90c3e8b906 r18491: fixed a warning
(This used to be commit 1b17f0f08f)
2007-10-10 14:18:37 -05:00
Andrew Tridgell
fd6030eac7 r18490: on irix _XOPEN_SOURCE_EXTENDED needs to be defined to 1, not just
defined
(This used to be commit 39d984738b)
2007-10-10 14:18:37 -05:00
Andrew Tridgell
6fa6c74d59 r18488: we have to make sure any extensions flags also make it into
confdefs.h, otherwise the real build and the configure tests will not
be significant

this change fixes the build of libreplace on hpux with gcc
(This used to be commit d37fc31532)
2007-10-10 14:18:36 -05:00
Stefan Metzmacher
f80d6bc100 r18486: hopefully this fixes the panics on solaris
metze
(This used to be commit 22cfc3404c)
2007-10-10 14:18:36 -05:00
Stefan Metzmacher
d08fb7b1cc r18485: include libreplace.m4 in the aclocal.m4 files
and use the macros in configure.ac

metze
(This used to be commit 95d33e4d71)
2007-10-10 14:18:36 -05:00