Commit Graph

188 Commits

Author SHA1 Message Date
dogcow
4af19d6ae8 Back out this addition; it's The Wrong Thing when other system headers get
included.
2007-01-28 10:10:16 +00:00
dogcow
f7c54e5b52 Due to recent changes in the cd9660 code, crosscompilation of tools/makefs
now fails due to the use of [be]e{16,32}dec. Add a compat header, and force
the inclusion of <sys/endian.h>.
2007-01-28 09:19:33 +00:00
ginsbach
37ee0e11e5 Fix tools build, binstall/xinstall, for systems without id_t, e.g.
MacOS X 10.3.9.  This should better match the NetBSD definition of id_t
in sys/sys/types.h.
2007-01-09 17:34:27 +00:00
agc
06c3bf82f1 Fixes to allow veriexecgen to be built as a host tool. 2006-12-20 22:03:20 +00:00
he
0a97c3f688 Complete the move of string_to_flags() and flags_to_string() from the
bin/ls sources to libutil:
 o Bump libutil minor version number
 o Fix uses to include <util.h> to pick up the function definitions
 o Fix most uses of flags_to_string() to release the now-malloc()ed result
2006-12-14 20:09:35 +00:00
dogcow
9070e87821 ...and one more for xcompilation (due to lib/libc/hash/sha1/sha1hl.c, sigh.) 2006-10-29 06:56:01 +00:00
dogcow
2b33ff3b97 cross (and native) building works again. woo. 2006-10-29 06:17:08 +00:00
mrg
3e7961407f make sure we can find <sys/{rmd160,sha2}.h>. make sure the crypto/foo.h
versions of these include something that exists...
2006-10-27 22:32:45 +00:00
mrg
af62440127 add ${.CURDIR}/../../common/lib/libc/hash/{rmd160,sha2} to the .PATH
so that these sources are found after this code moved.

(hi christos!)
2006-10-27 22:25:26 +00:00
christos
9b803358d7 PR/34848: Roland Illig: NetBSD's sed cannot handle files that are missing
the final new line.
This is an fgetln() problem; fix and add a way to test.
2006-10-18 15:17:38 +00:00
apb
a1d21442a0 Wrap #ifndef __BIT_TYPES_DEFINED__ around #define __BIT_TYPES_DEFINED__.
Reported by Narayana Prasad.
2006-10-16 19:44:23 +00:00
christos
c3c402ca3b kill __unused 2006-10-12 16:19:06 +00:00
christos
5883c53809 regen. 2006-10-09 14:59:41 +00:00
christos
9c3c382c56 sideways check for error functions. 2006-10-09 14:59:05 +00:00
thorpej
b3971ecdf5 Put common/lib/libc/stdlib into .PATH. From Hisashi T Fujinaka. 2006-10-08 04:31:55 +00:00
apb
26bf5ec9ea Add definitions for strmode. This was missing from the
patch in PR 31232.
2006-10-07 22:00:22 +00:00
apb
ff5cff67a1 regen 2006-10-07 19:19:14 +00:00
elad
09256aac55 PR/31232: Wim Lewis: tools/compat doesn't check for pre-existence of
strmode()

Commited slightly different diff, input and okay from apb@
2006-10-07 16:19:35 +00:00
apb
01948befcb Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* _PATH_BSHELL from the host's <paths.h> might be broken, so override it
  with our PATH_BSHELL, which is derived from HOST_SH.
2006-09-29 20:00:15 +00:00
christos
c4db14231b Some tools need efuns. 2006-08-26 18:26:14 +00:00
christos
f38f9fbc4a Remove advertising clause. 2006-08-26 16:24:29 +00:00
thorpej
c1f7db8026 Also check for DIR.__dd_fd. tools/compat now builds on the WWDC developer
preview version of Mac OS X "Leopard".
2006-08-20 18:52:05 +00:00
christos
471f50c864 Don't remove files that are needed for a build after make clean. Before
'make clean; make' failed in tools because necessary configure generated
files were removed. The failure manifested itself with string_to_flags
being undefined in binstall.
2006-05-20 00:23:39 +00:00
dogcow
79548d7aef Twiddle configure/configure.ac to check/define/create machine/endian.h; this
should fix PR/32878. Tested on NetBSD-current, FreeBSD4, Solaris8.
2006-02-22 00:14:05 +00:00
dyoung
9151f942f8 Two changes to facilitate building tools on Darwin:
1. #undef d_fileno, which is set by Darwin's <dirent.h>,
           and which clashes with d_fileno in NetBSD headers.

        2. Install the sys/ufs/ header files in nbinclude/ in order
           to override Darwin's own, incompatible header files.
2006-02-14 04:59:33 +00:00
wiz
9d363dc8b0 regen 2006-02-11 10:35:43 +00:00
wiz
dd7c0d224c Redo previous differently: use AH_TOP and AH_BOTTOM macros to insert
header and footer into nbtool_config.h.in directly.
2006-02-11 10:35:29 +00:00
wiz
d65d538b21 regen 2006-02-11 01:28:17 +00:00
wiz
a21971be10 Make using autoheader easier:
split off the autogenerated file into nbtool_config_internal.h,
and let nbtool_config.h be a file with the proper wrappers.

This way you can just change configure.ac, run autoconf and autoheader,
verify the result, and commit, but don't have to edit nbtool_config*in
manually every time.
2006-02-11 01:28:01 +00:00
wiz
6d1f07f471 Define prototypes for strsuftoll and strsuftollx if the one for
strsuftoll was not found by configure. Second part of nbmakefs build
on 3.0.
2006-02-11 00:56:08 +00:00
wiz
4591238e8a rerun autoheader (and re-add header and footer). 2006-02-11 00:55:17 +00:00
wiz
625ce9525f regen. 2006-02-11 00:54:50 +00:00
wiz
dc5360a0d6 Add AC_CHECK_DECLS test for strsuftoll. hannken reports it is needed
for building nbmakefs on 3.0/i386.
2006-02-11 00:54:35 +00:00
wiz
90c00efe34 Adapt for bswap* changes in configure.ac. 2006-02-10 07:07:20 +00:00
wiz
264739a1aa regen with autoheader; header and footer need to be added manually,
add a comment saying so.
2006-02-09 22:28:06 +00:00
wiz
1ec2d20625 regen. 2006-02-09 22:26:51 +00:00
wiz
6ad9de8b94 Use the AC_DEFINE version with three arguments consistently, since
then autoheader works too.
Replace the remaining abusers of AC_CHECK_FUNCS with AC_CHECK_DECLS
too.
2006-02-09 22:26:06 +00:00
dogcow
86811edb37 change #include <sys/endian.h> => #include <machine/endian.h> so that
it's (more) consistent in the tree; this, along with changing tools/compat's
autoconf detection from AC_CHECK_FUNCS to AC_CHECK_DECLS makes the vast
majority of htobe16 and friends' redefinition errors bite the dust.
Tested with -current and FreeBSD.
2006-02-09 22:03:15 +00:00
dbj
c03e27f52f regen 2006-02-02 04:15:16 +00:00
dbj
a3ecf0b346 touch an empty sys/bswap.h if detected as missing by configure
this fixes cross compile problems from recent changes to
convert machine/bswap.h to sys/bswap.h
2006-02-02 04:15:03 +00:00
christos
7dfafee4b6 Search the new common framework. 2005-12-20 20:39:15 +00:00
elad
345a69e003 Move rmd160.h to crypto/ to keep in sync with recent changes.
Noted by xtraeme@.
2005-09-24 21:58:36 +00:00
elad
3fcecfe373 Sync with recent MD2 changes. 2005-09-24 20:52:22 +00:00
elad
efa664c42a Sync with recent changes. 2005-09-24 19:06:20 +00:00
tron
41bb2c9889 Make cross compiling NetBSD under Linux work again. Problem noted by
R. Huvendiek on "current-users" mailing list.
2005-09-14 14:06:11 +00:00
christos
d69a9593f3 We don't need any ndbm sources. 2005-09-13 15:32:48 +00:00
christos
25f2b410ca don't use the _foo.c files; all the code is in foo.c now. 2005-09-13 13:52:23 +00:00
christos
478e2d98de compat reorg. 2005-09-13 02:30:23 +00:00
uwe
b0e7a6ada3 UINT8_MAX and UINT16_MAX are needed for disklabel. 2005-08-27 22:08:58 +00:00
elad
8eac896be6 Pull in SHA2 routines from libc to nbcompat. 2005-08-26 15:59:00 +00:00