Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit c5e2fcdc10a0869264bb1c6a13ada5f12e1b655f)
|
|
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 331435daf3275acaf282c1032c6e9f7dc3e685bb)
|
|
(This used to be commit cc8c403de8c6558031c14f929a485361b7eb0222)
|
|
(This used to be commit 5e951bdeec2d7d872410fafb9f051eb4340b6e50)
|
|
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 0c18e5d9383883f696113837a9e2d1bc078f18b1)
|
|
PRINTF_ATTRIBUTE seems to not work with gcc 3.0
metze
(This used to be commit dfb9bfba943bb4954101e7e02fa5a68046817162)
|
|
- add library test for libpopt
(This used to be commit 13878b7e7ec65b21df954f83afc0e9ceb73e44a0)
|
|
talloc or libreplace
(This used to be commit 9f45f970f71ee5585bf3c924b9c77188405fa246)
|
|
this is preparation of adding libreplace to samba3 later.
metze
(This used to be commit 26228e4b2e8debd84caebe84bb34bfbbf2ad405c)
|
|
metze
(This used to be commit e9fe725cf4021943e939f493b967e0ef5a438622)
|
|
- 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 bde18f3d5ce837f600bae8d63f31d92a579fe1f2)
|
|
for nicer output
metze
(This used to be commit 888a769af557d050d99df703ce5f651688c837c5)
|
|
- to get the ordering right we need to specify AC_CANONICAL_BUILD explicit
- add AC_CANONICAL_TARGET
metze
(This used to be commit 1ea52d75849f004752cdbe11a3dddd10b4afe47d)
|
|
(This used to be commit 5a8becb1be1b41b4fecf9f9f47a60eed5f77c264)
|
|
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 823cd3ab35456769dcefee17bdaca21f01ba0f63)
|
|
prototype in that case
(This used to be commit 64b5ff171d04bd93bd41309edfbe532c01a46e4f)
|
|
metze
(This used to be commit 8e49dc69e7d588c85c9e9e7b24b595c61c1da95a)
|
|
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 1f4e602ff239b7feabb2dd1d6938dedf91bde5cd)
|
|
- move AS_HELP_STRING replacement to libreplace
metze
(This used to be commit ace406a36ebbed230bf6c844e4639bac5e6c9882)
|
|
metze
(This used to be commit 37f55c08c304feddf2ca5d0d20deeb9a6317e2c3)
|
|
or the size is not 8 bytes or more.
samba4 doesn't need type checks anymore
metze
(This used to be commit d8fdd05482fc6b9bfb48d72db6b467e3e5c05e4d)
|
|
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 c4da3b43640368aff98e501b6ca7801821fd2fbd)
|
|
replacement
(This used to be commit 94b73d692bf85604c7be811bad0b8c6a08b18103)
|
|
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 343b0871b16c86b68badd4581420f475f94e79c9)
|
|
(This used to be commit 1b17f0f08f85238717e88966cba311ff4b933a9a)
|
|
defined
(This used to be commit 39d984738b1931e16cb0e6abfdb58108fc97da90)
|
|
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 d37fc315325c93414ce0942d28f0f47b42873b95)
|
|
metze
(This used to be commit 22cfc3404ccb621dad194fe04c5f2885fb16f79c)
|
|
and use the macros in configure.ac
metze
(This used to be commit 95d33e4d71b4c97af8413bcd136f393aa3e380dd)
|
|
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 e7a30456c76f4bf9a79cdcff6b15c894bc20c954)
|
|
alsready done by autoconf magic
- display the sizes of all standard C types
- check for int64_t and uint64_t
metze
(This used to be commit 371a33a871b67f12af177696bae6aa87d2c1d9f9)
|
|
- AC_HEADERS_STDC is not explicit needed
metze
(This used to be commit 8f20d2cfe564164ea049dbb9f52d885e11098c2a)
|
|
metze
(This used to be commit 1ae1e68fe9e1004f1a11847714b2e71715a1ce03)
|
|
metze
(This used to be commit 553a90cbe200d2030e4caefe949b48d63abe382d)
|
|
metze
(This used to be commit 0b61ea3ed7b833dbb5a7ca8ef2bb29c1b68f5cad)
|
|
- let make test trigger showflags
metze
(This used to be commit 43c1d775b900b305345afe394383b78e83e4e5cb)
|
|
metze
(This used to be commit f9bff4dbdad8c7acc649d13a5666b58967bf5d92)
|
|
metze
(This used to be commit 521e94f2693eab9053d9e3f1bbc56cdf2e0adbcd)
|
|
metze
(This used to be commit 5af86eb3f07e26aead67ab0dd46576e0aefe8eb4)
|
|
(only for the nicer configure output)
metze
(This used to be commit d53eb6bd10903d696c5ed9aad3bca3ddf35b2b51)
|
|
metze
(This used to be commit f9f14a94297d72af13b043db99fa892e5e3dcb46)
|
|
broken readdir()
Tru64 need this, linux also has getdirentries() but the native readdir() works
but it means we can write the code on linux and when it works it may work on Tru64
too.
tridge: can you try to implement this?
metze
(This used to be commit dd791d255ca61159b38a59b89f954a61fc5e9cf6)
|
|
metze
(This used to be commit a564194817d9b78e353abb6bf0548b2dd9eb130b)
|
|
- remove samba specific stuff from libreplace
- and include the readdir replacement stuff in the standalone builds
metze
(This used to be commit 3cac61152ef9a32313d7f7e5d38651f03a31f251)
|
|
metze
(This used to be commit 8662e1481504c50a45416ae09ec19b834164e77c)
|
|
metze
(This used to be commit d65e94fea910ff435b5cb6fe146f81b01df9abf6)
|
|
metze
(This used to be commit 5fddb66def8dd29a9f8d13b4b679df26aca6cfab)
|
|
that shows that Tru64 is broken...
It doesn't have getdirent() and the the replacement
code doesn't work there.
tridge: do you have any idea how to fix this?
metze
(This used to be commit a5ebfd0ab71f4f4288697f6fd3183a440ce7506b)
|
|
two conflict on irix.
(This used to be commit 4dd949c80d4400c3a80571cc28f599c37c1fcf7b)
|
|
metze
(This used to be commit a7ce2c6c53f1bbb2320fd8afe44ec12e504d95c9)
|