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

27 Commits

Author SHA1 Message Date
Stefan Metzmacher
d19ab62081 r25976: libreplace: not all platforms like _XOPEN_SOURCE=600
- Only use _XOPEN_SOURCE=600 on Tru64
- _OSF_SOURCE is also Tru64 specific

metze
2007-12-21 05:45:26 +01:00
Stefan Metzmacher
d42f2e5759 r25974: libreplace: see what the build-farm says if we use _XOPEN_SOURCE=600
On Tru64 this brings in socklen_t and some other socket stuff

metze
2007-12-21 05:45:26 +01:00
Stefan Metzmacher
05b4619c5b r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINE
metze
2007-12-21 05:45:24 +01:00
Michael Adam
6d07e29de2 r25515: Revert r25448:
Immediate structures are *not* supportet by the native C compiler
at least on Solaris, Tru64 and HP-UX.

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

metze
2007-10-10 14:53:10 -05:00
Stefan Metzmacher
d89088128a r23296: HP-UX 11.11 also gets sizeof(uint64_t) == 4
so try the same fix as for 11.00

metze
2007-10-10 14:53:09 -05:00
Stefan Metzmacher
bb2da636be 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
2007-10-10 14:53:09 -05:00
Stefan Metzmacher
6dff6c93fc r23266: HP-UX 11.23 doesn't like this, but HP-UX 11.00 and 11.11 need it
metze
2007-10-10 14:53:08 -05:00
Stefan Metzmacher
71eac88f7e r23265: HP-UX 11.00 also needs this, try to see if 11.23 is also happy
with it...

metze
2007-10-10 14:53:07 -05:00
Stefan Metzmacher
2b021e2d8c r19609: fix uninitialized perl variabel, we need AC_SUBST() for all configure vars
we want to use in perl...

metze
2007-10-10 14:25:04 -05:00
Stefan Metzmacher
70bab6edfc r19198: fix typo...
metze
2007-10-10 14:20:52 -05:00
Stefan Metzmacher
88adbd7443 r19195: this should fix should workaround the broken
HPUX 11.23 <machine/sys/getppdp.h> on host hpisgr8
in the build-farm.

metze
2007-10-10 14:20:51 -05:00
Stefan Metzmacher
59c6d51ab3 r19186: that doesn't help...
metze
2007-10-10 14:20:50 -05:00
Stefan Metzmacher
896326d508 r19173: see if HPUX 11.23 needs the same workaround as 11.11
metze
2007-10-10 14:20:49 -05:00
Stefan Metzmacher
5ccc020639 r19131: merge from samba3:
fix the logic for the AC_PROG_CC_C99 test

metze
2007-10-10 14:20:38 -05:00
Andrew Tridgell
c178c84f01 r18970: avoid strndup and strnlen on AIX. They are quite broken. See
http://lists.samba.org/archive/samba-technical/2004-August/036915.html
2007-10-10 14:20:25 -05:00
Andrew Tridgell
2cccede13d r18914: this bug fix needs to be for just hpux 11.11 2007-10-10 14:20:20 -05:00
Andrew Tridgell
f7f548a1c7 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.
2007-10-10 14:20:20 -05:00
Andrew Tridgell
331435daf3 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
2007-10-10 14:20:16 -05:00
Stefan Metzmacher
888a769af5 r18549: move gcc version check to libreplace and reorder the tests a bit
for nicer output

metze
2007-10-10 14:18:45 -05:00
Andrew Tridgell
823cd3ab35 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?
2007-10-10 14:18:42 -05:00
Stefan Metzmacher
37f55c08c3 r18502: remove unused lines
metze
2007-10-10 14:18:39 -05:00
Stefan Metzmacher
d8fdd05482 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
2007-10-10 14:18:39 -05:00
Andrew Tridgell
d37fc31532 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
2007-10-10 14:18:36 -05:00
Stefan Metzmacher
22cfc3404c r18486: hopefully this fixes the panics on solaris
metze
2007-10-10 14:18:36 -05:00
Stefan Metzmacher
e7a30456c7 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
2007-10-10 14:18:36 -05:00