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

173 Commits

Author SHA1 Message Date
Andrew Tridgell
afe2fde6fd r18221: moved more configure checks into lib/replace/
(This used to be commit d853dcfda7)
2007-10-10 14:17:52 -05:00
Andrew Tridgell
24f4b6eff2 r18219: move some more portability checks out of samba4 and info lib/replace
(This used to be commit 50318dc55e)
2007-10-10 14:17:52 -05:00
Andrew Tridgell
b7f937bdbb 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
(This used to be commit 46f72d7e3f)
2007-10-10 14:17:51 -05:00
Andrew Tridgell
8717b5e3e6 r18206: need rep_ macro for setlinebuf
(This used to be commit 6a48f75eae)
2007-10-10 14:17:49 -05:00
Andrew Tridgell
26a3023cc8 r18205: need rep_ macros for seteuid and setegid
(This used to be commit dd7af58b83)
2007-10-10 14:17:49 -05:00
Stefan Metzmacher
6b5e86f47b 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
(This used to be commit 159f745702)
2007-10-10 14:17:47 -05:00
Andrew Tridgell
3ca73facc5 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_*
(This used to be commit 57cd0ca176)
2007-10-10 14:17:44 -05:00
Stefan Metzmacher
d093b28b55 r18159: always recreate the the archive and use -s (which does the same as ranlib)
and see how portable it is

metze
(This used to be commit 47b4509db9)
2007-10-10 14:17:44 -05:00
Andrew Tridgell
70b6211c98 r18156: fix platforms that need timegm replacement
(This used to be commit 859fefc3b9)
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
6150443532 r18152: move our AC macros into lib/replace/libreplace_macros.m4
and include them from there

metze
(This used to be commit 38f9e90a12)
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
53a78afe30 r18151: remove testfile
metze
(This used to be commit 6ffebfb9b7)
2007-10-10 14:17:42 -05:00
Stefan Metzmacher
ce8ed3a961 r18147: add make realdistclean
metze
(This used to be commit 20543e0306)
2007-10-10 14:17:41 -05:00
Andrew Tridgell
fed41fd9b1 r18146: we need signal.h in some places
(This used to be commit f226645d73)
2007-10-10 14:17:41 -05:00
Stefan Metzmacher
e997a767aa r18145: rename cc_feature.m4 into libreplace_macros.m4
metze
(This used to be commit d0f40dd3e5)
2007-10-10 14:17:40 -05:00
Stefan Metzmacher
68d172c506 r18144: make the logic a bit more cut&paste friendly
metze
(This used to be commit da9be10dc6)
2007-10-10 14:17:40 -05:00
Andrew Tridgell
ed356c7989 r18143: the 'showflags' convention from Samba is useful for the other packages
(This used to be commit a4d1f1d222)
2007-10-10 14:17:40 -05:00
Andrew Tridgell
90f485eecd r18141: an accidental nested C comment!
(This used to be commit 47c305c7dc)
2007-10-10 14:17:39 -05:00
Andrew Tridgell
92ff10f7b0 r18140: and this reduces warnings about toupper()
(This used to be commit 41419e54d5)
2007-10-10 14:17:39 -05:00
Andrew Tridgell
9ac11823bb r18139: irix needs system/network.h here
(This used to be commit f46ab799b4)
2007-10-10 14:17:38 -05:00
Stefan Metzmacher
01dee6e3dd r18138: LIBREPLACE provides stuff from -ldl so it should depend on it
metze
(This used to be commit b4e4c115ab)
2007-10-10 14:17:38 -05:00
Andrew Tridgell
cdd352bfcb r18132: getpass can't depend on fns in lib/util/
(This used to be commit b346ab2f05)
2007-10-10 14:17:37 -05:00
Andrew Tridgell
a983b06d37 r18129: moved the system includes into libreplace - this gives much more
isolation of our portability environment from the main code, and also
simplifies the includes system (no separate #ifdef _SAMBA_BUILD for
tdb. ldb etc now)
(This used to be commit 77d1a468e0)
2007-10-10 14:17:36 -05:00
Jelmer Vernooij
3e11f4c061 r18127: Add macro AC_CHECK_DECL() for systems that don't have it.
(This used to be commit 589a1c2509)
2007-10-10 14:17:36 -05:00
Jelmer Vernooij
4f643be1cb r18125: Remove obsolete file.
(This used to be commit 27aa34eb55)
2007-10-10 14:17:36 -05:00
Jelmer Vernooij
7e251d1f11 r18124: Keep right libs when looking for dl*() functions
(This used to be commit 12ce4cef2f)
2007-10-10 14:17:35 -05:00
Jelmer Vernooij
7619eff87d r18122: Fix warnings related to errno declaration.
(This used to be commit c30abc8e49)
2007-10-10 14:17:35 -05:00
Jelmer Vernooij
a59706f721 r18121: Simplify m4 code, hopefully fix Samba4 build problems.
(This used to be commit 1adf65b4d7)
2007-10-10 14:17:35 -05:00
Andrew Tridgell
e906cb5966 r18111: base inclusion of replacement printf fns on function existance, not
declaration. Otherwise _GNU_SOURCE and _BSD_SOURCE stuffs things up
(possibly fixable, but not now)
(This used to be commit 68caf1bba7)
2007-10-10 14:17:18 -05:00
Stefan Metzmacher
c91a27fd80 r18094: try to fix the samba4 build
metze
(This used to be commit 3c00983e2c)
2007-10-10 14:17:15 -05:00
Stefan Metzmacher
c2dfdbb64d r18093: check for the headers first and check all functions
metze
(This used to be commit 5bb8a5ce32)
2007-10-10 14:17:15 -05:00
Stefan Metzmacher
72c697167e r18088: sometimes autoconf picks up some old stuff:
- remove configure and config.h.in
- cleanup after autoconf and autoheader are done

metze
(This used to be commit c4f91114a3)
2007-10-10 14:17:14 -05:00
Andrew Tridgell
0dd630cfa7 r18085: using m4_include() instead of sinclude() means we get an error if the
include fails - thats better than the compile failing mysteriously
(This used to be commit b4df3c7391)
2007-10-10 14:17:13 -05:00
Andrew Tridgell
81fdc61c11 r18084: we don't need the double sinclude() any more
(This used to be commit 2dab7886c1)
2007-10-10 14:17:13 -05:00
Andrew Tridgell
b5c0202bff r18081: libreplace now uses config.h again
(This used to be commit 037196538a)
2007-10-10 14:17:13 -05:00
Andrew Tridgell
780b339656 r18079: fix for in-tree build with samba4 dir layout
(This used to be commit 8eccdc1cd1)
2007-10-10 14:17:12 -05:00
Andrew Tridgell
6e5beba866 r18078: these tests came from talloc
(This used to be commit 1e5e311233)
2007-10-10 14:17:12 -05:00
Andrew Tridgell
b383add7b0 r18075: with the new scheme, we now use config.h again (thanks jelmer!)
(This used to be commit c45c487861)
2007-10-10 14:17:11 -05:00
Andrew Tridgell
b70a7de802 r18074: config.m4 is now libreplace.m4
(This used to be commit b2e680500e)
2007-10-10 14:17:11 -05:00
Andrew Tridgell
a57365a2e6 r18073: next step in grab libreplace plan - see IRC logs for very detailed
discussion wity metze and jelmer!
(This used to be commit f18c913b6c)
2007-10-10 14:17:11 -05:00
Andrew Tridgell
8e9c4e83fa r18067: some tweaks for irix and hpux
this checks for -AC99 or -c99 to get C99 structure init to work. It's
based on a similar macro metze did for Samba4.

the double sinclude() is weird, but I can't see any other way to use a
common config.m4 between libreplace and all the projects that use it
(This used to be commit 8d80024976)
2007-10-10 14:17:10 -05:00
Andrew Tridgell
5d363fa0dd r18061: this should fix the libreplace build on us4 with gcc
(This used to be commit 71c0a0731c)
2007-10-10 14:17:10 -05:00
Andrew Tridgell
bd35940710 r18060: use gmake for libreplace if available
(This used to be commit 838de24dfe)
2007-10-10 14:17:10 -05:00
Andrew Tridgell
a41abfd514 r18059: another cpp error
(This used to be commit 64eff9d9d9)
2007-10-10 14:17:10 -05:00
Andrew Tridgell
09a4749a31 r18058: we don't actually need __VA_ARGS__ yet (its another C99 feature which
I don't think we use anywhere)
(This used to be commit bac8d5ce28)
2007-10-10 14:17:09 -05:00
Andrew Tridgell
3539b6ae7b r18057: fixed an #ifdef
(This used to be commit e4c3b9ea2f)
2007-10-10 14:17:09 -05:00
Andrew Tridgell
e057ef3c6f r18056: includes needed for O_CREAT
(This used to be commit 0b80ee8b3b)
2007-10-10 14:17:09 -05:00
Andrew Tridgell
a587277aa3 r18055: aix needs time.h for timegm.c to compile
(This used to be commit 1c91de687f)
2007-10-10 14:17:09 -05:00
Andrew Tridgell
d9319068f5 r18054: snprintf.c needs to use replace.h to get the rep_vasprintf and related
macros
(This used to be commit 3917436ff7)
2007-10-10 14:17:09 -05:00
Andrew Tridgell
474b74b345 r18053: the sig_atomic_t test needs to be in libreplace for getpass.c to
compile on hpux
(This used to be commit a0bd4f5c4a)
2007-10-10 14:17:08 -05:00
Andrew Tridgell
cbae8b2014 r18052: discard_const_p() isn't part of the libreplace API, so we can't use it
inside libreplace.
(This used to be commit 5745ecdd82)
2007-10-10 14:17:08 -05:00