Commit Graph

179 Commits

Author SHA1 Message Date
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
elad 994154b2ab Add nbcompat SHA2 header. 2005-08-26 15:57:17 +00:00
tron ff5245dd05 Define "_PATH_VI" if necessary to make cross-building work again under
Solaris (and potentially other platforms) after "disklabel" has been
added to the hosts tools.
2005-08-22 15:27:11 +00:00
christos c4ee9f6d2e 64 bit inode changes 2005-08-19 02:07:18 +00:00
christos 4de0ea44a5 Replace the original fgetln with a simpler one that:
1. Works if the last line does not end up in \n
2. Does not scan the string multiple times.
3. Does not copy the string, but writes it directly in the buffer.
4. Handles out of memory conditions gracefully.
2005-05-15 21:31:26 +00:00
jmc 2b4f5f9782 Update notes for testing on linux, OS/X 2005-04-05 00:21:22 +00:00
wiz 1dc296553a Remove commas in AC_CHECK_FUNCS that shouldn't be there.
Closes PR 29577 by Valeriy E. Ushakov.
2005-03-02 18:08:43 +00:00
jmc 0a58d4b08d Define LOGIN_NAME_MAX explicitly here and override any system provided one
since the compat tools need to use the NetBSD limits, not the local system
ones (and some systems don't provide this yet anyways). Fixes PR#29170
2005-02-01 05:26:03 +00:00
jmc f7b3f12b97 Turns out some platforms (freebsd5) expose st_birthtime but not
st_birthtimensec. Make sure and check for both so programs can deal w. it
2005-01-13 00:52:40 +00:00
jmc 427a8339c4 Provide a definition for __UNCONST since there's no guarentee our sys/cdefs.h
gets pulled in
2004-12-11 09:34:08 +00:00