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

8 Commits

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