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

24 Commits

Author SHA1 Message Date
Michael Adam
3b07f6aeb1 r25515: Revert r25448:
Immediate structures are *not* supportet by the native C compiler
at least on Solaris, Tru64 and HP-UX.

Michael
(This used to be commit 6d07e29de2)
2007-10-10 15:07:46 -05:00
Jelmer Vernooij
a8f264eb2f r25448: Remove IMMEDIATE_STRUCTURES define, which was used for splint. Newer versions of splint support immediate structures just fine.
(This used to be commit d54a47ecdc)
2007-10-10 15:07:35 -05:00
Stefan Metzmacher
d596200dde r23303: so HP-UX 11.11 also likes the 11.00 workarround for broken
pread/pwrite when using large file support.

metze
(This used to be commit d890a2dabf)
2007-10-10 14:53:10 -05:00
Stefan Metzmacher
547f27daa2 r23296: HP-UX 11.11 also gets sizeof(uint64_t) == 4
so try the same fix as for 11.00

metze
(This used to be commit d89088128a)
2007-10-10 14:53:09 -05:00
Stefan Metzmacher
d3807e3f5c r23293: the fix for HP-UX 11.11 doesn't work on HP-UX 11.00
we end up with sozeof(uint64_t) == 4 :-(

the _APP32_64BIT_OFF_T section in <sys/unistd.h> missed
to redirect pread, pwrite to pread64, pwrite64 in HP-UX 11.00
so try it manually as a workarround

metze
(This used to be commit bb2da636be)
2007-10-10 14:53:09 -05:00
Stefan Metzmacher
f0daf9602d r23266: HP-UX 11.23 doesn't like this, but HP-UX 11.00 and 11.11 need it
metze
(This used to be commit 6dff6c93fc)
2007-10-10 14:53:08 -05:00
Stefan Metzmacher
1e3a49478e r23265: HP-UX 11.00 also needs this, try to see if 11.23 is also happy
with it...

metze
(This used to be commit 71eac88f7e)
2007-10-10 14:53:07 -05:00
Stefan Metzmacher
22a155af05 r19609: fix uninitialized perl variabel, we need AC_SUBST() for all configure vars
we want to use in perl...

metze
(This used to be commit 2b021e2d8c)
2007-10-10 14:25:04 -05:00
Stefan Metzmacher
0019163d85 r19198: fix typo...
metze
(This used to be commit 70bab6edfc)
2007-10-10 14:20:52 -05:00
Stefan Metzmacher
d66e80c650 r19195: this should fix should workaround the broken
HPUX 11.23 <machine/sys/getppdp.h> on host hpisgr8
in the build-farm.

metze
(This used to be commit 88adbd7443)
2007-10-10 14:20:51 -05:00
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
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
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
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
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
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
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
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
3de6b469cc r18479: start hiding libreplace configure tests behind macros
AC_LIBREPLACE_CC_CHECKS
AC_LIBREPLACE_BROKEN_CHECKS
and
AC_LIBREPLACE_ALL_CHECKS
which calls the 2 others

I'll add some more, so that samba3/samba4 can later call
them in the wanted order and all standalone builds
use AC_LIBREPLACE_ALL_CHECKS.

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