Commit Graph

11 Commits

Author SHA1 Message Date
tv fa2ae538c9 Add compat defns for uint*_t (the non-underscored ones).
[The logic in all of this is ugly, and should instead be fixed up to use
AC_CHECK_SIZEOF to use primitives if the counterpart type is unavailable.]
2002-03-07 18:28:46 +00:00
tv 259a2ab95f Add some more bits of host compatibility. 2002-02-26 22:29:38 +00:00
tv 9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
tv a328e34106 Make almost all tools compile and run properly on non-NetBSD hosts. (In
particular, most tools now run correctly on Solaris 7.)
2002-01-29 10:20:28 +00:00
lukem 2b616edfca - Replace pwcache(3) if necessary (pwcache_userdb(3) is checked for).
Tested on -current and 1.5.3.
- Wrap some long lines.
2002-01-24 04:05:27 +00:00
thorpej d00b294ffa Split compat definitions into a separate file so that autoconf
doesn't comment out #undef's that we want to keep.
2002-01-22 20:42:59 +00:00
tv 9a14a10fb6 Somewhere along the line, the _DIAGASSERT was lost. Re-add it (as a macro
that expands to nothing); only NetBSD hosts really have this.
2002-01-21 23:22:17 +00:00
tv 9d5d28c26f Make many host tools compile on non-NetBSD hosts. Not complete, but
very nearly there.
2002-01-21 20:04:36 +00:00
lukem fe4a1b3537 look for <inttypes.h> and #include if found (for uint*_t) 2002-01-10 04:31:15 +00:00
lukem 07fae6dedd Add replacement fgetln(3) (from lukemftp/libukem), as fparseln(3) uses it 2002-01-04 14:39:06 +00:00
tv 87d14ee4ac Add the framework for autoconf-based src/tools/compat structure. This will
(after it is more fleshed out) allow the host tools to work more cleanly
on non-NetBSD hosts.
2001-12-11 21:17:56 +00:00