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

204 Commits

Author SHA1 Message Date
Stefan Metzmacher
a7ce2c6c53 r18420: fix the build...
metze
2007-10-10 14:18:26 -05:00
Stefan Metzmacher
8774eeb0dc r18419: fix include paths of the configure tests
metze
2007-10-10 14:18:26 -05:00
Stefan Metzmacher
5279656a15 r18418: Tru64 has a different prototype for seekdir() returning int
when _OSF_SOURCE is defined

metze
2007-10-10 14:18:26 -05:00
Andrew Tridgell
3ddb77c1e3 r18407: test for epoll.h and select.h 2007-10-10 14:18:24 -05:00
Andrew Tridgell
5fc756a770 r18401: some of our code also relies on fprintf() handling C99
semantics. Easiest to just replace it if it doesn't.
2007-10-10 14:18:24 -05:00
Andrew Tridgell
025b142ff2 r18400: move MAP_FAILED define to lib/replace/system/shmem.h 2007-10-10 14:18:23 -05:00
Stefan Metzmacher
aca8a3f8c0 r18388: remove _XOPEN_SOURCE it causes trouble on BSD and IRIX
I need to find a way to define it only on Tru64 maybe.

metze
2007-10-10 14:18:23 -05:00
Stefan Metzmacher
0f48c8ad7c r18383: ok we need _XOPEN_SOURCE 500 and include standards.h on Tru64
to get MAP_FAILED

metze
2007-10-10 14:18:22 -05:00
Stefan Metzmacher
8109eb9d28 r18382: define _XOPEN_SOURCE to hopefully bring in MAP_FAILED in
sys/mman.h on Tru64

metze
2007-10-10 14:18:22 -05:00
Stefan Metzmacher
ec6365b5f1 r18381: make sure autoconf doesn't add '-O2' to CFLAGS
metze
2007-10-10 14:18:21 -05:00
Andrew Tridgell
03ed41515b r18378: try enabling _OSF_SOURCE to see if it fixes the tru64 build problems -
thanks to volker for the suggestion
2007-10-10 14:18:21 -05:00
Andrew Tridgell
3752cc2b57 r18359: better handling of child process killing in standard mode 2007-10-10 14:18:18 -05:00
Andrew Tridgell
eacb5357c3 r18353: try to fix the assumption of NULL being handled in printf()
permanently by replacing printf() on systems that don't have a C99
printf lib
2007-10-10 14:18:16 -05:00
Andrew Tridgell
e251c211f7 r18350: we have to check for lstat() to keep roken happen on hpux 2007-10-10 14:18:15 -05:00
Andrew Tridgell
095b805774 r18343: fixed setlinebuf() prototype, added test for it, and use it in two
places to avoid a #ifdef
2007-10-10 14:18:13 -05:00
Andrew Tridgell
f3b24ea48a r18340: some HPUX boxes don't have ptrdiff_t 2007-10-10 14:18:12 -05:00
Andrew Tridgell
e98e0a28a0 r18339: need these checks for roken.h on hpux 2007-10-10 14:18:12 -05:00
Andrew Tridgell
c2f2dbb5d1 r18337: more -Ae tests in check_cc.m4
honor the MMAP_BLACKLIST
2007-10-10 14:18:11 -05:00
Andrew Tridgell
eb93fb8e54 r18336: autoconf tries to force on C89 mode on HP-UX, using the -Ae
flag. Unfortunately that flag conflicts with the -AC99 flag, and we
get lots of breakage.

This is a trick to force off the -Ae option
2007-10-10 14:18:11 -05:00
Andrew Tridgell
45a3a6a566 r18335: more portable bool tests 2007-10-10 14:18:11 -05:00
Andrew Tridgell
6ff100b266 r18332: added back in our shared mmap test code 2007-10-10 14:18:10 -05:00
Andrew Tridgell
449fab2c26 r18321: fixed some warnings on AIX 2007-10-10 14:18:08 -05:00
Andrew Tridgell
d082a3c5f5 r18304: fixed misuse of size_t in dopr() 2007-10-10 14:18:05 -05:00
Stefan Metzmacher
43970e6d08 r18292: import some autoconf 2.60 specific macros,
so that older autoconf versions still work

metze
2007-10-10 14:18:03 -05:00
Andrew Tridgell
46ab2b9971 r18289: don't check for inline till we've worked out the main compiler flags 2007-10-10 14:18:02 -05:00
Andrew Tridgell
b4b028e65e r18288: autoconf already has a C99 test builtin!
If this works well, we can remove our own test
2007-10-10 14:18:02 -05:00
Andrew Tridgell
2dc9239a36 r18287: add support for the -qlanglvl=extc99 and -qlanglvl=stdc99 flags,
needed on AIX 5.2 for C99 structures
2007-10-10 14:18:02 -05:00
Andrew Tridgell
3e0f262b38 r18284: enable _XOPEN_SOURCE_EXTENDED to fix a HP-UX bug with the definition
of sendfile()
2007-10-10 14:18:01 -05:00
Andrew Tridgell
03f9c67c06 r18283: libreplace.m4 needs to be early in configure.ac in other packages too 2007-10-10 14:18:01 -05:00
Andrew Tridgell
4860d02565 r18280: more portability tidyups, ensuring we use libreplace everywhere 2007-10-10 14:18:00 -05:00
Andrew Tridgell
77c442cd46 r18278: move more header checks and _GNU_SOURCE into libreplace 2007-10-10 14:18:00 -05:00
Andrew Tridgell
d853dcfda7 r18221: moved more configure checks into lib/replace/ 2007-10-10 14:17:52 -05:00
Andrew Tridgell
50318dc55e r18219: move some more portability checks out of samba4 and info lib/replace 2007-10-10 14:17:52 -05:00
Andrew Tridgell
46f72d7e3f r18216: a special override for the broken HP-UX C compiler. It does support
C99 initialisers without any flags, but if you don't give it -AC99
then it dies when those initialisers are very complex
2007-10-10 14:17:51 -05:00
Andrew Tridgell
6a48f75eae r18206: need rep_ macro for setlinebuf 2007-10-10 14:17:49 -05:00
Andrew Tridgell
dd7af58b83 r18205: need rep_ macros for seteuid and setegid 2007-10-10 14:17:49 -05:00
Stefan Metzmacher
159f745702 r18183: - add LIBREPLACE globaly and add LIBREPLACE_HOSTCC
- also specify USE_HOSTCC = YES on binaries that use HOSTCC

I also disable autodependecies as this change let make run forever,
I hopefully fix that tomorrow

metze
2007-10-10 14:17:47 -05:00
Andrew Tridgell
57cd0ca176 r18160: - pread and pwrite replacements need to be non-static
- replacing rename() is pointless - all platforms have it (and the
  #define of rename breaks some code)

- use system/locale.h in snprintf.c

- fix passwd.h for initgroups

- stdlib is in replace.h, not needed elsewhere

- fix the initgroups replacement

- fix mapping of dl functions to rep_*
2007-10-10 14:17:44 -05:00
Stefan Metzmacher
47b4509db9 r18159: always recreate the the archive and use -s (which does the same as ranlib)
and see how portable it is

metze
2007-10-10 14:17:44 -05:00
Andrew Tridgell
859fefc3b9 r18156: fix platforms that need timegm replacement 2007-10-10 14:17:43 -05:00
Stefan Metzmacher
38f9e90a12 r18152: move our AC macros into lib/replace/libreplace_macros.m4
and include them from there

metze
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
6ffebfb9b7 r18151: remove testfile
metze
2007-10-10 14:17:42 -05:00
Stefan Metzmacher
20543e0306 r18147: add make realdistclean
metze
2007-10-10 14:17:41 -05:00
Andrew Tridgell
f226645d73 r18146: we need signal.h in some places 2007-10-10 14:17:41 -05:00
Stefan Metzmacher
d0f40dd3e5 r18145: rename cc_feature.m4 into libreplace_macros.m4
metze
2007-10-10 14:17:40 -05:00
Stefan Metzmacher
da9be10dc6 r18144: make the logic a bit more cut&paste friendly
metze
2007-10-10 14:17:40 -05:00
Andrew Tridgell
a4d1f1d222 r18143: the 'showflags' convention from Samba is useful for the other packages 2007-10-10 14:17:40 -05:00
Andrew Tridgell
47c305c7dc r18141: an accidental nested C comment! 2007-10-10 14:17:39 -05:00
Andrew Tridgell
41419e54d5 r18140: and this reduces warnings about toupper() 2007-10-10 14:17:39 -05:00
Andrew Tridgell
f46ab799b4 r18139: irix needs system/network.h here 2007-10-10 14:17:38 -05:00