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
Stefan Metzmacher
b4e4c115ab
r18138: LIBREPLACE provides stuff from -ldl so it should depend on it
...
metze
2007-10-10 14:17:38 -05:00
Andrew Tridgell
b346ab2f05
r18132: getpass can't depend on fns in lib/util/
2007-10-10 14:17:37 -05:00
Andrew Tridgell
77d1a468e0
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)
2007-10-10 14:17:36 -05:00
Jelmer Vernooij
589a1c2509
r18127: Add macro AC_CHECK_DECL() for systems that don't have it.
2007-10-10 14:17:36 -05:00
Jelmer Vernooij
27aa34eb55
r18125: Remove obsolete file.
2007-10-10 14:17:36 -05:00
Jelmer Vernooij
12ce4cef2f
r18124: Keep right libs when looking for dl*() functions
2007-10-10 14:17:35 -05:00
Jelmer Vernooij
c30abc8e49
r18122: Fix warnings related to errno declaration.
2007-10-10 14:17:35 -05:00
Jelmer Vernooij
1adf65b4d7
r18121: Simplify m4 code, hopefully fix Samba4 build problems.
2007-10-10 14:17:35 -05:00
Andrew Tridgell
68caf1bba7
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)
2007-10-10 14:17:18 -05:00
Stefan Metzmacher
3c00983e2c
r18094: try to fix the samba4 build
...
metze
2007-10-10 14:17:15 -05:00
Stefan Metzmacher
5bb8a5ce32
r18093: check for the headers first and check all functions
...
metze
2007-10-10 14:17:15 -05:00
Stefan Metzmacher
c4f91114a3
r18088: sometimes autoconf picks up some old stuff:
...
- remove configure and config.h.in
- cleanup after autoconf and autoheader are done
metze
2007-10-10 14:17:14 -05:00
Andrew Tridgell
b4df3c7391
r18085: using m4_include() instead of sinclude() means we get an error if the
...
include fails - thats better than the compile failing mysteriously
2007-10-10 14:17:13 -05:00
Andrew Tridgell
2dab7886c1
r18084: we don't need the double sinclude() any more
2007-10-10 14:17:13 -05:00
Andrew Tridgell
037196538a
r18081: libreplace now uses config.h again
2007-10-10 14:17:13 -05:00
Andrew Tridgell
8eccdc1cd1
r18079: fix for in-tree build with samba4 dir layout
2007-10-10 14:17:12 -05:00
Andrew Tridgell
1e5e311233
r18078: these tests came from talloc
2007-10-10 14:17:12 -05:00
Andrew Tridgell
c45c487861
r18075: with the new scheme, we now use config.h again (thanks jelmer!)
2007-10-10 14:17:11 -05:00
Andrew Tridgell
b2e680500e
r18074: config.m4 is now libreplace.m4
2007-10-10 14:17:11 -05:00
Andrew Tridgell
f18c913b6c
r18073: next step in grab libreplace plan - see IRC logs for very detailed
...
discussion wity metze and jelmer!
2007-10-10 14:17:11 -05:00
Andrew Tridgell
8d80024976
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
2007-10-10 14:17:10 -05:00
Andrew Tridgell
71c0a0731c
r18061: this should fix the libreplace build on us4 with gcc
2007-10-10 14:17:10 -05:00
Andrew Tridgell
838de24dfe
r18060: use gmake for libreplace if available
2007-10-10 14:17:10 -05:00
Andrew Tridgell
64eff9d9d9
r18059: another cpp error
2007-10-10 14:17:10 -05:00
Andrew Tridgell
bac8d5ce28
r18058: we don't actually need __VA_ARGS__ yet (its another C99 feature which
...
I don't think we use anywhere)
2007-10-10 14:17:09 -05:00
Andrew Tridgell
e4c3b9ea2f
r18057: fixed an #ifdef
2007-10-10 14:17:09 -05:00
Andrew Tridgell
0b80ee8b3b
r18056: includes needed for O_CREAT
2007-10-10 14:17:09 -05:00
Andrew Tridgell
1c91de687f
r18055: aix needs time.h for timegm.c to compile
2007-10-10 14:17:09 -05:00
Andrew Tridgell
3917436ff7
r18054: snprintf.c needs to use replace.h to get the rep_vasprintf and related
...
macros
2007-10-10 14:17:09 -05:00
Andrew Tridgell
a0bd4f5c4a
r18053: the sig_atomic_t test needs to be in libreplace for getpass.c to
...
compile on hpux
2007-10-10 14:17:08 -05:00
Andrew Tridgell
5745ecdd82
r18052: discard_const_p() isn't part of the libreplace API, so we can't use it
...
inside libreplace.
2007-10-10 14:17:08 -05:00
Andrew Tridgell
f5fc88f0c4
r18051: - add gcc warning flags
...
- fix piles of warnings and ftruncate bug in libreplace testsuite
2007-10-10 14:17:08 -05:00
Simo Sorce
dc689b5579
r18046: Add 'z' specifier support and a configure test.
...
Jeremy should I backport this to samba3 too?
2007-10-10 14:17:08 -05:00
Jelmer Vernooij
1f431dcd0a
r18045: Update format, list "test" target as phony.
2007-10-10 14:17:07 -05:00