The NetBSD Project

CVS log for src/tools/compat/configure.ac

[BACK] Up to [cvs.NetBSD.org] / src / tools / compat

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.99.6.2: download - view: text, markup, annotated - select for diffs
Sun Nov 17 13:32:52 2024 UTC (2 weeks ago) by martin
Branches: netbsd-10
Diff to: previous 1.99.6.1: preferred, colored; branchpoint 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99.6.1: +2 -2 lines
Pull up following revision(s) (requested by kre in ticket #1004):

	tools/compat/configure: revision 1.106
	lib/libc/string/__strsignal.c: revision 1.26
	tools/compat/configure.ac: revision 1.108
	tools/compat/nbtool_config.h.in: revision 1.57
	usr.bin/elf2aout/elf2aout.c: revision 1.24
	tools/compat/Makefile: revision 1.93
	sys/arch/macppc/stand/fixcoff/fixcoff.c: revision 1.13
	tools/compat/compat_defs.h: revision 1.123

Include <arpa/inet.h> for htonl()  (From Jan-Benedict Glaw)
Probably this should be using htobe32() instead of htonl()
(and so <endian.h> rather than <arpa/inet.h>) as there is
no sign of any network anywhere near here.   But that's for
another day, and to be done by someone who can test it.

Portability fixes from Jan-Benedict Glaw
The args to help() and usage() need to be const char *
and main() should be declared as returning int.

Add shquote to libnbcompat
Include shquote() in configure tests
Regen for added shquote()

Stop attempting to return a (char*) in place of (const char *)
This removes a cast that was added in 1994, when __strsignal()
returned a char * to convert the const char * element of sys_siglist
into a type that matched.

It should have been removed when __strsignal() was changed to
return const char * in 1998.   But wasn't.

This should fix an inane warning (treated as an error) from a
compile stupid enough to allow a natural char * (as in char buf[N])
to be returned as a result (which is, of course, fine), but complains
about returning (char *) applied to a (const char *).

Revision 1.108: download - view: text, markup, annotated - select for diffs
Thu Oct 31 17:05:05 2024 UTC (4 weeks, 3 days ago) by kre
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +2 -2 lines

Include shquote() in configure tests

Revision 1.107: download - view: text, markup, annotated - select for diffs
Thu Jul 20 16:21:23 2023 UTC (16 months, 1 week ago) by lukem
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +2 -2 lines
tools: binstall can use posix_spawn() instead of vfork()

Revision 1.106: download - view: text, markup, annotated - select for diffs
Thu Jul 20 15:15:23 2023 UTC (16 months, 1 week ago) by lukem
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +14 -37 lines
tools/compat: provide nb_check_cc_flag.m4

Implement m4 macro NB_CHECK_CC_FLAG(FLAG, [VAR=FLAG_DERIVED])
	Determine if the C compiler supports FLAG,
	and sets output variable VAR to FLAG if FLAG is supported.

	If VAR is not provided, default to FLAG_DERIVED, which is
	FLAG converted to upper-case and all special characters
	replaced with "_", and the result prepended with "CC_".
	FLAG_DERIVED is appended to the m4 macro NB_CHECK_CC_FLAG_VARS.
	E.g., if FLAG is "-Wexample=yes", FLAG_DERIVED is "CC_WEXAMPLE_YES".

This is implemented in separate buildaux/nb_check_cc_flag.m4,
based on configure's NB_CC_FLAG(), but supports VAR override.

Adapt configure from internal NB_CC_FLAG() to NB_CHECK_CC_FLAG().

(Note: AX_CHECK_COMPILE_FLAG() from autoconf-archive could be enhanced
to support the clang and gcc workarounds I've implemented here.)

Revision 1.99.6.1: download - view: text, markup, annotated - select for diffs
Fri Jun 30 17:13:50 2023 UTC (17 months ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +5 -4 lines
Pull up following revision(s) (requested by riastradh in ticket #221):

	external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c: revision 1.18
	external/cddl/osnet/sys/sys/opentypes.h: revision 1.7
	tools/compat/configure: revision 1.100
	external/cddl/osnet/dist/tools/ctf/cvt/barrier.c: revision 1.6
	external/cddl/osnet/dist/tools/ctf/cvt/barrier.h: revision 1.4
	external/cddl/osnet/dist/tools/ctf/cvt/barrier.c: revision 1.7
	external/cddl/osnet/dist/tools/ctf/cvt/barrier.c: revision 1.8
	tools/compat/configure.ac: revision 1.100
	external/cddl/osnet/dist/tools/ctf/cvt/tdata.c: revision 1.10
	tools/compat/nbtool_config.h.in: revision 1.54

ctfmerge: error check sem_*() and pthread_*() APIs

terminate() if sem_*() returns -1 or pthread_*() returns != 0.
(Set errno from pthread_*() so terminate() prints the strerror message).

Note: Failing on errors instead of ignoring them helps identify
reasons for intermittent failures, such as those on macOS host builds:

  ERROR: nbctfmerge: barrier_init: sem_init(bar_sem): Function not implemented

ctfmerge: fix macOS semaphore implementation

Use dispatch_semaphore_create() if present instead of sem_init().
macOS doesn't actually implement sem_init() (et al)
(even though it provides the prototypes as deprecated).

This was detected by the previous commit to ctfmerge
that added error handling.

Implement ctfmerge's barrier operations in terms of
dispatch(3) APIs such as dispatch_semaphore_create() (et al).

Update tools/compat/configure.ac to find dispatch_semaphore_create().
Fixes ctfmerge on macOS hosts.

Inspired by https://stackoverflow.com/a/27847103

tools/compat: regen for dispatch_semaphore_create

ctfmerge: fix macOS semaphore implementation, part 2
dispatch_semaphore_signal() doesn't return an error, just an
indicator of whether a thread was woken or not, so there's
no need to fail on non-zero return.

osnet: on macOS, use <mach/boolean.h> for boolean_t
macOS/x86_64 defines boolean_t as 'unsigned int' not 'int',
which causes a build issue with tools/ctfmerge on that host
after my recent fixes for macOS semaphores.

So use the <mach/boolean.h> instead of a local typedef ifdef __APPLE__.
May fix a macOS/x86_64 build issue reported by cjep@.
Builds fine on NetBSD/amd64 or macOS/arm.

Note: this compat stuff is clunky, and based on the commit log,
annoyingly error prone. A newer sync of osnet from upstream /may/
improve a lot of these compat typedef workarounds for solaris types...

Revision 1.105: download - view: text, markup, annotated - select for diffs
Sat Jun 3 09:10:13 2023 UTC (17 months, 4 weeks ago) by lukem
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +17 -8 lines
tools/compat: support all bsd.own.mk disabled warnings

Check the host CC support for all the warnings now in <bsd.own.mk>
and override appropriately in defs.mk.

In general there's a 1:1 mapping, with the special case
CC_WNO_ADDRESS_OF_PACKED_MEMBER which is set from both
@CC_WNO_ADDRESS_OF_PACKED_MEMBER@ (gcc) and
@CC_WNO_ERROR_ADDRESS_OF_PACKED_MEMBER@ (clang).

Revision 1.104: download - view: text, markup, annotated - select for diffs
Tue May 30 18:54:21 2023 UTC (18 months ago) by lukem
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +12 -4 lines
tools/compat: disable host CC warnings

Determine if the host CC supports flags to disable various
warnings similar to <bsd.own.mk> GCC_*, CLANG_*, and CC_*,
and override the <bsd.own.mk> equivalents in defs.mk.

Silences "warning: unknown warning option '...'" from our source.
External source (e.g., binutils and gcc) need their own fixes
to enhance their detection of supported clang compiler flags.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Tue May 30 18:39:19 2023 UTC (18 months ago) by lukem
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +38 -3 lines
tools/compat: detect supported host compiler flags

Define NB_CC_FLAG(FLAG) to use AX_CHECK_COMPILE_FLAG
to determine if the host compiler supports FLAG
and define and AC_SUBST CC_FLAG if so.

Use workarounds to force clang to hard-fail on unknown -Wwarning,
and gcc to use -WWARN to check unknown -Wno-WARN because the
latter doesn't cause an error in gcc.

In the future we could use NB_CC_FLAG([-fcommon]) for
older NetBSD release branches compiled with host gcc 10+.

Rework Darwin -no-cpp-precomp check to use NB_CC_FLAG().
Note: this flag probably hasn't been required on macOS (Darwin)
for a long time, but serves as a good example on how to use this.

Display varaibles at the end of configure to show what was detected.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Tue May 30 18:31:55 2023 UTC (18 months ago) by lukem
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +1 -4 lines
tools/compat: don't expose HAVE_PTHREAD_H to make

Non of the tools Makefiles needs HAVE_PTHREAD_H, so don't
AC_SUBST it or provide in defs.mk.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Mon May 29 21:30:42 2023 UTC (18 months ago) by lukem
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +15 -13 lines
tools/compat/configure.ac: style tweaks

Use "NB_" prefix not "AC_" for our macros ("AC_" is for autoconf).
Fail is NB_ macro isn't defined.
Use AC_DEFUN() instead of define().
Consistently use () in zero argument macro calls.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Tue May 23 19:53:24 2023 UTC (18 months, 1 week ago) by lukem
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +5 -4 lines
ctfmerge: fix macOS semaphore implementation

Use dispatch_semaphore_create() if present instead of sem_init().

macOS doesn't actually implement sem_init() (et al)
(even though it provides the prototypes as deprecated).
This was detected by the previous commit to ctfmerge
that added error handling.

Implement ctfmerge's barrier operations in terms of
dispatch(3) APIs such as dispatch_semaphore_create() (et al).

Update tools/compat/configure.ac to find dispatch_semaphore_create().

Fixes ctfmerge on macOS hosts.

Inspired by https://stackoverflow.com/a/27847103.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Thu Feb 25 13:41:58 2021 UTC (3 years, 9 months ago) by christos
Branches: MAIN
CVS tags: netbsd-10-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: netbsd-10
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +5 -4 lines
Add reallocarray; this is used by the new regex code and we don't want to
convert it to reallocarr so the code is kept similar with the original from
FreeBSD.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Wed Jun 24 14:39:01 2020 UTC (4 years, 5 months ago) by uwe
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +11 -5 lines
Add AC_MSG_RESULT yes/no to the uio checks.

Revision 1.91.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:34 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.91.2.1: preferred, colored; branchpoint 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91.2.1: +31 -3 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.97: download - view: text, markup, annotated - select for diffs
Sat Jun 22 13:42:53 2019 UTC (5 years, 5 months ago) by hannken
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +12 -4 lines
Update tools/compat/configure for new path of "rpc/types.h".

Remove intermediate patch from rpcgen/Makefile.

Patch from Nick Hudson, errors from me.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Wed Jun 19 23:33:07 2019 UTC (5 years, 5 months ago) by kamil
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -1 lines
Add more SunOS types to tools/compat

Add fallback defintions of: uchar_t, ushort_t, uint_t, ulong_t.

Needed by the libctf code on Ubuntu 16.x.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Wed Jun 19 03:40:15 2019 UTC (5 years, 5 months ago) by kamil
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +21 -2 lines
Add sys/uio.h & enum uio_seg, enum uio_rw to tools/compat

This is needed for bootstrapping the tools on Ubuntu 16.x.

Revision 1.91.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:13 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +8 -5 lines
Sync with HEAD

Revision 1.89.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:49 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.89.2.1: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.2.1: +8 -5 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Aug 30 12:05:34 2018 UTC (6 years, 3 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +2 -2 lines
deal with getsubopt and strncasecmp (needed by mdocml)

Revision 1.93: download - view: text, markup, annotated - select for diffs
Thu Aug 16 12:03:36 2018 UTC (6 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +7 -4 lines
add strncasecmp

Revision 1.92: download - view: text, markup, annotated - select for diffs
Sat Aug 11 16:24:59 2018 UTC (6 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -3 lines
Add strcasecmp

Revision 1.89.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:09 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +1 -1 lines
Sync with HEAD

Revision 1.91: download - view: text, markup, annotated - select for diffs
Wed Jun 13 04:17:43 2018 UTC (6 years, 5 months ago) by maya
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625
Branch point for: phil-wifi
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +0 -1 lines
Revert my previous config test inclusion for u_longlong_t.

Fixing this differently by avoiding the need for the definition.
It also caused a problem in OS X, as I neglected to include a correct header

Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Jun 11 18:48:25 2018 UTC (6 years, 5 months ago) by maya
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +2 -1 lines
Add configure check and fallback definition for u_longlong_t

Should help linux tools compilation of dtrace tools, and not
affect NetBSD.

From Chuck Zmudzinski in current-users, with light modification
by myself.

Revision 1.87.6.3: download - view: text, markup, annotated - select for diffs
Sat Feb 3 22:02:02 2018 UTC (6 years, 9 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Diff to: previous 1.87.6.2: preferred, colored; branchpoint 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87.6.2: +2 -2 lines
Pull up following revision(s) (requested by sevan in ticket #435):
	tools/compat/configure: revision 1.88 via patch
	tools/compat/configure.ac: revision 1.89 via patch
	tools/compat/nbtool_config.h.in: revision 1.42
Add asnprintf() to the AC_CHECK_DECLS list.
Resolves conflict when cross compiling on Cygwin the provided implementation
does not get picked up.
Closes PR toolchain/52797
--
regen

Revision 1.87.6.2: download - view: text, markup, annotated - select for diffs
Thu Dec 21 23:06:58 2017 UTC (6 years, 11 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.87.6.1: preferred, colored; branchpoint 1.87: preferred, colored
Changes since revision 1.87.6.1: +4 -4 lines
revert ticket 435

Revision 1.87.6.1: download - view: text, markup, annotated - select for diffs
Thu Dec 21 19:11:21 2017 UTC (6 years, 11 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +4 -4 lines
Pull up following revision(s) (requested by sevan in ticket #435):
	tools/compat/compat_defs.h: 1.108
	tools/compat/configure: 1.87-1.88
	tools/compat/configure.ac: 1.88-1.89
	tools/compat/fpurge.c: 1.2
	tools/compat/nbtool_config.h.in: 1.41-1.42
handle __fpurge being declared in <stdio_ext.h>
--
regen
--
Add asnprintf() to the AC_CHECK_DECLS list.
Resolves conflict when cross compiling on Cygwin the provided implementation
does not get picked up.
Closes PR toolchain/52797
--
regen

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Dec 9 04:22:53 2017 UTC (6 years, 11 months ago) by sevan
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +2 -2 lines
Add asnprintf() to the AC_CHECK_DECLS list.
Resolves conflict when cross compiling on Cygwin the provided implementation
does not get picked up.

Closes PR toolchain/52797

Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Oct 2 22:19:45 2017 UTC (7 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +4 -4 lines
handle __fpurge being declared in <stdio_ext.h>

Revision 1.84.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:58:02 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.84.2.2: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.2: +7 -2 lines
Sync with HEAD

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Jan 7 21:30:42 2017 UTC (7 years, 10 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +7 -2 lines
strmode on MacOS/X is in string.h

Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:57 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.84.2.1: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.2.1: +30 -3 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.86: download - view: text, markup, annotated - select for diffs
Sat Jan 7 02:52:04 2017 UTC (7 years, 10 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-20170107
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +30 -3 lines
Check for declarations, not the existance of functions since some are
visible only when _NETBSD_SOURCE is defined. This avoids || defined(__NetBSD__)
hacks.

Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:25 2016 UTC (8 years ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +6 -4 lines
Sync with HEAD

Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Oct 19 21:54:20 2016 UTC (8 years, 1 month ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-20161104
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +6 -4 lines
try to fix missing decls

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Jul 26 14:01:53 2015 UTC (9 years, 4 months ago) by kamil
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -2 lines
Add reallocarr(3) to tools/compat

This should unbreak libutil(3) creation on systems withot reallocarr(3).

Revision 1.82.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 22 07:18:58 2015 UTC (9 years, 7 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +2 -2 lines
Pull up following revision(s) (requested by roy in ticket #648):
	common/lib/libc/stdlib/_strtoi.h: revisions 1.1, 1.2
	common/lib/libc/stdlib/strtoi.c: revision 1.1
	common/lib/libc/stdlib/strtou.c: revision 1.1
	distrib/sets/lists/base/ad.aarch64: patch
	distrib/sets/lists/base/ad.arm: patch
	distrib/sets/lists/base/ad.mips: patch
	distrib/sets/lists/base/ad.powerpc: patch
	distrib/sets/lists/base/md.amd64: patch
	distrib/sets/lists/base/md.sparc64: patch
	distrib/sets/lists/base/shl.mi: patch
	distrib/sets/lists/comp/mi: revision 1.1939
	distrib/sets/lists/debug/ad.aarch64: patch
	distrib/sets/lists/debug/ad.arm: patch
	distrib/sets/lists/debug/ad.mips: patch
	distrib/sets/lists/debug/ad.powerpc: patch
	distrib/sets/lists/debug/md.amd64: patch
	distrib/sets/lists/debug/md.sparc64: patch
	distrib/sets/lists/debug/shl.mi: patch
	include/inttypes.h: revision 1.11
	lib/libc/shlib_version: patch
	lib/libc/stdlib/Makefile.inc: revision 1.84
	lib/libc/stdlib/strtol.3: revisions 1.27-1.31
	lib/libc/stdlib/strtoul.3: revisions 1.26-1.29
	sys/lib/libkern/Makefile.libkern: revision 1.37
	sys/lib/libkern/libkern.h: revision 1.117
	tools/compat/Makefile: revision 1.73
	tools/compat/compat_defs.h: revision 1.101
	tools/compat/configure.ac: revision 1.83
	tools/compat/configure: revision 1.82
	tools/compat/nbtool_config.h.in: revision 1.36
add strto{i,u} from Kamil Rytarowski as discussed in tech-userlevel.
--
strtoi and strtou additions
--
strtoi and strtou for the kernel
--
strtoi and strtou additions
--
strtoi and strtou man pages
--
strto{i,u}
--
regen
--
Remove trailing whitespace.
--
match variable names with man page (Kamil Rytarowski)
--
cleanups from (Kamil Rytarowski)
--
add strtoi strtou (Kamil Rytarowski)
--
PR/49640: Kamil Rytarowski: Improve error printing
--
Use existing month for Dd.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Jan 16 18:44:06 2015 UTC (9 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -2 lines
strto{i,u}

Revision 1.74.6.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:53 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.74.6.2: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.6.2: +18 -3 lines
Rebase to HEAD as of a few days ago.

Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:57:39 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +7 -1 lines
Rebase.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Jun 6 01:40:40 2014 UTC (10 years, 5 months ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +7 -1 lines
Deal with errc/warnc

Revision 1.73.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:42:30 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.73.2.1: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.2.1: +16 -6 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.81: download - view: text, markup, annotated - select for diffs
Thu Jan 9 11:26:58 2014 UTC (10 years, 10 months ago) by apb
Branches: MAIN
CVS tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3 lines
Add strnlen to configure tests in tools/compat

Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Aug 14 10:14:45 2013 UTC (11 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -1 lines
add test for struct tm tm_gmtoff member

Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri Aug 9 20:12:38 2013 UTC (11 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -1 lines
makefs_udf uses clock_gettime, and on some versions of linux that lives in librt

Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Aug 6 21:50:19 2013 UTC (11 years, 3 months ago) by apb
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -2 lines
Add a configure test for snprintb_m.  We will assume that
the rpesence of snprintb_m implies the presence of snprintb.

Revision 1.76.4.1: download - view: text, markup, annotated - select for diffs
Tue Jul 23 21:07:38 2013 UTC (11 years, 4 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +6 -1 lines
sync with HEAD

Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Jul 19 10:53:20 2013 UTC (11 years, 4 months ago) by pooka
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +6 -1 lines
Fix some tests for musl libc -based systems.

from Justin Cormack and Jens Staal

Revision 1.74.6.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:28:57 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.74.6.1: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.6.1: +2 -2 lines
resync from head

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Mar 5 16:26:41 2013 UTC (11 years, 9 months ago) by christos
Branches: MAIN
CVS tags: riastradh-drm2-base, agc-symver-base, agc-symver
Branch point for: riastradh-drm2
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -2 lines
add dprintf

Revision 1.74.6.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:29 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -2 lines
resync with head

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Feb 17 00:34:11 2013 UTC (11 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -2 lines
cygwin defines u_quad_t in <rpc/types.h>, so include this to the headers
we include and test by default.

Revision 1.73.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:31:53 2011 UTC (13 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3 lines
sync with head

Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Nov 3 14:13:53 2011 UTC (13 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: tls-maxphys
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3 lines
Add getline(3) compat glue.

Revision 1.67.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 2 19:43:02 2011 UTC (13 years, 1 month ago) by riz
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Diff to: previous 1.67.2.2: preferred, colored; branchpoint 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.2.2: +3 -3 lines
Pull up following revision(s) (requested by tsutsui in ticket #1676):
	tools/compat/configure.ac: revision 1.71
	tools/compat/configure: revision 1.71
	tools/compat/nbtool_config.h.in: revision 1.24
Test for <sys/endian.h> and provide HAVE_SYS_ENDIAN_H.
Fixes FreeBSD hosted builds (PR 42440 and PR 42470).
Approved by <dholland>.
Regenerate.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Aug 14 20:22:42 2011 UTC (13 years, 3 months ago) by apb
Branches: MAIN
CVS tags: yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -1 lines
Detect the presence of <pthread.h>, and add a HAVE_PTHREAD_H
variable in defs.mk.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun Aug 14 20:20:59 2011 UTC (13 years, 3 months ago) by apb
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +15 -10 lines
Prevent expansion of <dollar>NetBSD<dollar> in a string that's
indended to be copied to nbtool_config.h.

Fix most lines longer than 80 columns.  I don't know how to fix the
long lines in the definition of NB_CHECK_INTTYPE.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Jan 15 11:26:25 2010 UTC (14 years, 10 months ago) by asau
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3 lines
Test for <sys/endian.h> and provide HAVE_SYS_ENDIAN_H.
Fixes FreeBSD hosted builds (PR 42440 and PR 42470).

Approved by <dholland>.

Revision 1.67.2.1.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 15 19:53:20 2009 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.67.2.1: preferred, colored; next MAIN 1.67.2.2: preferred, colored
Changes since revision 1.67.2.1: +4 -4 lines
Allow tools to build on OSX 10.6 (Snow Leopard).

Revision 1.67.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 3 21:30:36 2009 UTC (15 years, 2 months ago) by snj
Branches: netbsd-5-0
CVS tags: netbsd-5-0-2-RELEASE
Diff to: previous 1.67.2.1: preferred, colored; next MAIN 1.67.2.2: preferred, colored
Changes since revision 1.67.2.1: +4 -4 lines
Pull up following revision(s) (requested by apb in ticket #1020):
	bin/pax/Makefile: revision 1.38
	bin/pax/ar_io.c: revision 1.49
	tools/compat/configure: revision 1.69
	tools/compat/configure.ac: revision 1.69
do not require sys/mtio.h for a tools build of pax

Revision 1.67.2.2: download - view: text, markup, annotated - select for diffs
Sat Oct 3 21:28:00 2009 UTC (15 years, 2 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Diff to: previous 1.67.2.1: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.2.1: +4 -4 lines
Pull up following revision(s) (requested by apb in ticket #1020):
	bin/pax/Makefile: revision 1.38
	bin/pax/ar_io.c: revision 1.49
	tools/compat/configure: revision 1.69
	tools/compat/configure.ac: revision 1.69
do not require sys/mtio.h for a tools build of pax

Revision 1.70: download - view: text, markup, annotated - select for diffs
Tue Jun 16 22:35:34 2009 UTC (15 years, 5 months ago) by christos
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3 lines
add fpurge; needed by awk.

Revision 1.60.2.3: download - view: text, markup, annotated - select for diffs
Sat Feb 14 19:50:28 2009 UTC (15 years, 9 months ago) by snj
Branches: netbsd-4
Diff to: previous 1.60.2.2: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.2.2: +17 -5 lines
Apply patch (requested by adrianp in ticket #1278):
Fix build on netbsd-5 amd64 hosts.

Revision 1.60.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 14 19:45:57 2009 UTC (15 years, 9 months ago) by snj
Branches: netbsd-4-0
Diff to: previous 1.60.2.1: preferred, colored; next MAIN 1.60.2.2: preferred, colored
Changes since revision 1.60.2.1: +17 -5 lines
Apply patch (requested by adrianp in ticket #1278):
Fix build on netbsd-5 amd64 hosts.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Feb 3 05:22:40 2009 UTC (15 years, 10 months ago) by dbj
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -4 lines
do not require sys/mtio.h for a tools build of pax

Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 15 04:21:26 2009 UTC (15 years, 10 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: netbsd-5-0, matt-nb5-mips64
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +39 -3 lines
Pull up following revision(s) (requested by jmcneill in ticket #270):
	lib/libc/locale/fix_grouping.c: revision 1.3
	lib/libc/locale/iswctype_sb.c: revision 1.7
	lib/libc/locale/rune.h: revision 1.14
	lib/libc/locale/runetype.h: file removal
	lib/libc/locale/runetype_local.h: revision 1.1
	lib/libc/stdio/fparseln.c: revision 1.8
	lib/libc/string/wcscmp.c: revision 1.7
	lib/libc/string/wcsncmp.c: revision 1.7
	lib/libc/string/wmemcmp.c: revision 1.5
	tools/compat/configure: regen
	tools/compat/configure.ac: revision 1.68
	tools/compat/nbtool_config.h.in: regen
	usr.bin/mklocale/Makefile: revision 1.15
	usr.bin/mklocale/lex.l: revision 1.16
	usr.bin/mklocale/yacc.y: revision 1.27
1. reworking PR lib/40317:
libnbcompat already contains empty fparseln.lo
so previous fix doesn't work correctly.
i've just added broken fparseln check to configure script.
2. reworking cross build breakage under FreeBSD/MacOS X.
FreeBSD/MacOS X still have public /usr/include/runetype.h
derived from 4.4BSD-Lite.  so i renamed out private header from
src/lib/libc/locale/runetype.h to src/lib/libc/locale/runetype_local.h
to solve this problems.
3. fix build breakage when CITRUS=no was set.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Jan 5 06:11:43 2009 UTC (15 years, 10 months ago) by tnozaki
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +39 -3 lines
1. reworking PR lib/40317:
libnbcompat already contains empty fparseln.lo
so previous fix doesn't work correctly.
i've just added broken fparseln check to configure script.

2. reworking cross build breakage under FreeBSD/MacOS X.
FreeBSD/MacOS X still have public /usr/include/runetype.h
derived from 4.4BSD-Lite.  so i renamed out private header from
src/lib/libc/locale/runetype.h to src/lib/libc/locale/runetype_local.h
to solve this problems.

3. fix build breakage when CITRUS=no was set.

Revision 1.60.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 18 19:12:57 2008 UTC (16 years ago) by snj
Branches: netbsd-4
Diff to: previous 1.60.2.1: preferred, colored; branchpoint 1.60: preferred, colored
Changes since revision 1.60.2.1: +4 -3 lines
Pull up following revision(s) (requested by tsutsui in ticket #1224):
	tools/compat/Makefile: revision 1.52
	tools/compat/configure.ac: revision 1.67
Prepare dummy <resolv.h> and <arpa/nameser.h> to make asn1_compile and
compile_et compile on systems which don't have these BIND headers like
Cygwin.
Tested by "build.sh -m i386 -U release" on CYGWIN_NT-5.1-1.5.25,
and should close PR toolchain/29032.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Oct 18 16:25:04 2008 UTC (16 years, 1 month ago) by tsutsui
Branches: MAIN
CVS tags: netbsd-5-base, matt-mips64-base2
Branch point for: netbsd-5
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -3 lines
Prepare dummy <resolv.h> and <arpa/nameser.h> to make asn1_compile and
compile_et compile on systems which don't have these BIND headers like Cygwin.

Tested by "build.sh -m i386 -U release" on CYGWIN_NT-5.1-1.5.25,
and should close PR toolchain/29032.

Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:35:36 2007 UTC (17 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +17 -5 lines
sync with HEAD

Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Oct 19 15:56:54 2007 UTC (17 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, mjf-devfs2-base, mjf-devfs2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +16 -5 lines
I am now convinced of the error of my ways, and I am checking for all the
decls mtree is using.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Sep 28 09:11:12 2007 UTC (17 years, 2 months ago) by lukem
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -3 lines
Add raise_default_signal().

Revision 1.60.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:05:26 2007 UTC (17 years, 3 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +20 -2 lines
Sync w/ NetBSD-4-RC_1

Revision 1.60.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 30 22:37:36 2007 UTC (17 years, 3 months ago) by pavel
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE
Branch point for: netbsd-4-0
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +20 -2 lines
Pull up following revision(s) (requested by apb in ticket #827):
	tools/compat/Makefile: revision 1.50
	tools/compat/compat_defs.h: revision 1.60
	tools/compat/configure.ac: revision 1.62-1.64
More detailed instructions for what to do when editing configure.ac.
In particular, discourage the use of non-tools versions of
autoconf and autoheader.
Provide definitions for {be,le}{16,32,64}{enc,dec} if necessary.
This is adapted from the very detailed fix provided by
Giles Lean in PR bin/36678.
Only one simplified implementation is provided, instead of the
two implementations conditional on __GNUC_PREREQ__(2,95) that are
provided in NetBSD's <sys/endian.h>.  The use of memcpy instead of
__builtin__memcpy, and the absence of __inline or __unused, should make
it independent of GCC.
Update the instructions to say that regen should be done again
to pick up changed RCS IDs.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Aug 7 08:27:41 2007 UTC (17 years, 3 months ago) by apb
Branches: MAIN
Branch point for: matt-armv6
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +5 -3 lines
Update the instructions to say that regen should be done again
to pick up changed RCS IDs.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Aug 7 08:22:04 2007 UTC (17 years, 3 months ago) by apb
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -2 lines
Provide definitions for {be,le}{16,32,64}{enc,dec} if necessary.
This is adapted from the very detailed fix provided by
Giles Lean in PR bin/36678.

Only one simplified implementation is provided, instead of the
two implementations conditional on __GNUC_PREREQ__(2,95) that are
provided in NetBSD's <sys/endian.h>.  The use of memcpy instead of
__builtin__memcpy, and the absence of __inline or __unused, should make
it independent of GCC.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Aug 7 07:47:51 2007 UTC (17 years, 3 months ago) by apb
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +16 -2 lines
More detailed instructions for what to do when editing configure.ac.
In particular, discourage the use of non-tools versions of
autoconf and autoheader.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Jul 3 12:11:10 2007 UTC (17 years, 5 months ago) by nakayama
Branches: MAIN
CVS tags: matt-mips64-base, matt-mips64, hpcarm-cleanup
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3 lines
Add strndup(3) to libnbcompat, since estrndup(3) added into efun.c calls it.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Oct 9 14:59:05 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
CVS tags: netbsd-4-base
Branch point for: wrstuden-fixsa, netbsd-4
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -3 lines
sideways check for error functions.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Oct 7 16:19:35 2006 UTC (18 years, 1 month ago) by elad
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -4 lines
PR/31232: Wim Lewis: tools/compat doesn't check for pre-existence of
strmode()

Commited slightly different diff, input and okay from apb@

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Aug 20 18:52:05 2006 UTC (18 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3 lines
Also check for DIR.__dd_fd.  tools/compat now builds on the WWDC developer
preview version of Mac OS X "Leopard".

Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Feb 22 00:14:05 2006 UTC (18 years, 9 months ago) by dogcow
Branches: MAIN
CVS tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3 lines
Twiddle configure/configure.ac to check/define/create machine/endian.h; this
should fix PR/32878. Tested on NetBSD-current, FreeBSD4, Solaris8.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Feb 11 10:35:29 2006 UTC (18 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +11 -2 lines
Redo previous differently: use AH_TOP and AH_BOTTOM macros to insert
header and footer into nbtool_config.h.in directly.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Feb 11 01:28:01 2006 UTC (18 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2 lines
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.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Feb 11 00:54:35 2006 UTC (18 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +6 -10 lines
Add AC_CHECK_DECLS test for strsuftoll. hannken reports it is needed
for building nbmakefs on 3.0/i386.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Feb 9 22:26:06 2006 UTC (18 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +15 -10 lines
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.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Feb 9 22:03:15 2006 UTC (18 years, 9 months ago) by dogcow
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -2 lines
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.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Feb 2 04:15:03 2006 UTC (18 years, 10 months ago) by dbj
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2 lines
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

Revision 1.42.2.2.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 6 09:56:40 2005 UTC (19 years, 8 months ago) by he
Branches: netbsd-2
CVS tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Diff to: previous 1.42.2.2: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.2: +3 -3 lines
Pull up revision 1.48 (via patch, requested by jmc in ticket #1026):
  Convert remaining host tools for amiga to correct cross tools.
  Now allows complete amiga builds on non-NetBSD and non-BSD hosts.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Mar 2 18:08:44 2005 UTC (19 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3 lines
Remove commas in AC_CHECK_FUNCS that shouldn't be there.
Closes PR 29577 by Valeriy E. Ushakov.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jan 13 00:52:40 2005 UTC (19 years, 10 months ago) by jmc
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -3 lines
Turns out some platforms (freebsd5) expose st_birthtime but not
st_birthtimensec. Make sure and check for both so programs can deal w. it

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Nov 28 06:57:14 2004 UTC (20 years ago) by jmc
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
Add heapsort to libnbcompat

Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Oct 12 03:28:32 2004 UTC (20 years, 1 month ago) by jmc
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +5 -1 lines
Check for fstatvfs and provide/use it only if the host system has it.
Fixes PR#27221

Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 25 07:50:06 2004 UTC (20 years, 4 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.1: +0 -1 lines
Pull up revision 1.45 (requested by dbj in ticket #712):
remove HAVE_STRUCT_STATFS_F_IOSIZE
this is not currently being used and should be replaced with
HAVE_STRUCT_STATVFS_F_IOSIZE, but that will be done separately.
This commit should be able to be safely pulled up to
the netbsd-2-0 branch to address PR toolchain/26415

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Jul 24 16:32:01 2004 UTC (20 years, 4 months ago) by dbj
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -1 lines
check for HAVE_STRUCT_STATVFS_F_IOSIZE
addresses PR toolchain/26415

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Jul 24 12:24:59 2004 UTC (20 years, 4 months ago) by dbj
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -2 lines
remove HAVE_STRUCT_STATFS_F_IOSIZE
this is not currently being used and should be replaced with
HAVE_STRUCT_STATVFS_F_IOSIZE, but that will be done separately.
This commit should be able to be safely pulled up to
the netbsd-2-0 branch to address PR toolchain/26415

Revision 1.20.2.4: download - view: text, markup, annotated - select for diffs
Fri Jul 23 14:33:14 2004 UTC (20 years, 4 months ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.20.2.3: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.3: +4 -4 lines
Apply patch (request by dbj in ticket 1723):
Fix building the netbsd-1-6 branch under Darwin/MacOS.

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Tue Jun 22 07:30:28 2004 UTC (20 years, 5 months ago) by tron
Branches: netbsd-2-0
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +27 -4 lines
Pull up revision 1.44 (requested by jmc in ticket #527):
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Jun 20 22:20:15 2004 UTC (20 years, 5 months ago) by jmc
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +27 -4 lines
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944

Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Jun 18 20:07:31 2004 UTC (20 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2 lines
Check for group_from_gid().

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Nov 12 19:43:58 2003 UTC (21 years ago) by dbj
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
use sys/poll.h and HAVE_SYS_POLL_H instead of just HAVE_POLL_H
HAVE_SYS_POLL_H is used by src/include/roken.h needed by the host tool asn1_compile

Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Oct 27 00:12:43 2003 UTC (21 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
Overhaul how `build.sh tools' are used:

    *	Rename "config.h" to "nbtool_config.h" and
	HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
	This makes in more obvious in the source when we're using
	tools/compat/config.h versus "standard autoconf" config.h

    *	Consistently move the inclusion of nbtool_config.h to before
    	<sys/cdefs.h> so that the former can provide __RCSID() (et al),
    	and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
	#if HAVE_NBTOOL_CONFIG_H
	#include "nbtool_config.h"
	#endif
to the top of the source files (for the general case).

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Jul 26 20:24:00 2003 UTC (21 years, 4 months ago) by salo
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2 lines
netbsd.org->NetBSD.org

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Jul 25 03:21:15 2003 UTC (21 years, 4 months ago) by atatat
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -2 lines
More properly host-tool-ify stat

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jul 18 13:45:16 2003 UTC (21 years, 4 months ago) by fredb
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
As discussed briefly on tech-toolchain, AIX doesn't have "u_long",
so add a check for that. Partial fix for PR toolchain/22177.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Jun 3 03:16:49 2003 UTC (21 years, 6 months ago) by uwe
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
Add atoll(3) to libnbcompat.  We need it when building target's gcc
for a 64-bit target on a 32-bit host.

NB: There seems to be a bug in either gcc itself or the way we import
it, b/c the incorrect #define HAVE_ATOLL is picked from (e.g. for
sparc64) gnu/usr.bin/gcc/arch/sparc64/auto-host.h - so when gen*
auxilary (host) programs are built in gnu/usr.bin/gcc/backend, they
incorrectly pick-up target's HAVE_ATOLL.

For now providing atoll(3) in libnbcompat is a simple and sufficient
workaround.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Mar 14 03:38:42 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3 lines
Add a putc_unlocked().

Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Mar 13 16:27:04 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -2 lines
Fix the socklen_t test; we need to explcitly list the headers we want
included for that test.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Mar 13 04:30:39 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4 lines
Check for sys/socket.h and socklen_t.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Dec 16 00:35:00 2002 UTC (21 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -1 lines
Include <sys/types.h> before <grp.h>; Mac OS 10.2.2 needs this.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Dec 16 00:32:00 2002 UTC (21 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -2 lines
Include <sys/types.h> before including <dirent.h>; Mac OS 10.2.2
needs this.

Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 1 19:10:27 2002 UTC (22 years ago) by he
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Diff to: previous 1.20.2.2: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.2: +2 -2 lines
Pull up revision 1.24 (requested by thorpej in ticket #834):
  Always NetBSD's own fts(3) in compat builds.  Some systems
  (among them RedHat 7.3) do not have fts(3) implementations
  which work correctly with -D_FILE_OFFSET_BITS=64.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Nov 30 21:43:28 2002 UTC (22 years ago) by lukem
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
add check back for util.h; needed on some foreign systems

Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 30 15:11:05 2002 UTC (22 years ago) by he
Branches: netbsd-1-6
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.1: +4 -4 lines
Pull up revision 1.23 (via patch, requested by thorpej in ticket #807):
   o Check for mkstemp() and mkdtemp(), and build them into
     libcompat if necessary.
   o mktemp is now a host-tool, so remove the now obsoleted
     script.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Nov 30 03:04:46 2002 UTC (22 years ago) by lukem
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -3 lines
- Migrate fparseln(3) from libutil to libc, where it should have been in
  the first place...
- Bump libutil major (to 7.0) and libc minor (to 12.91).

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Nov 29 13:00:24 2002 UTC (22 years ago) by lukem
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -2 lines
replace missing strsuftoll(3)

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Sun Nov 3 16:19:38 2002 UTC (22 years, 1 month ago) by he
Branches: netbsd-1-6
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -6 lines
Pull up revision 1.22 (via patch, requested by thorpej in ticket #797):
  Include various more functions in libnbcompat, mostly
  becuase our tools use features not universally present in
  other versions. This applies to glob(3), vis(3), and the
  MD2, MD4, RMD160 and SHA1 implementations.
  Also add checks for random(3) and termios.h for the Heimdal
  host tools.
  Update README to indicate the current state of building the
  host tools on Solaris 8 (for SPARC).

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Oct 7 18:12:36 2002 UTC (22 years, 2 months ago) by briggs
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Just check for poll.h, don't fail if it's not present.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Oct 6 12:09:34 2002 UTC (22 years, 2 months ago) by lukem
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
Provide strtoll() in libnbcompat.
Should fix relevant build issue on HP-UX and MacOS X hosts.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Oct 5 04:13:30 2002 UTC (22 years, 2 months ago) by lukem
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
check for lchflags

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Oct 4 22:10:10 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
Check for <poll.h> and poll(2).

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Sep 16 04:10:37 2002 UTC (22 years, 2 months ago) by briggs
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Always use NetBSD's fts(3) in compat builds.  Some systems (notably
Red Hat 7.3, at least) do not have fts(3) implementations that work
correctly with -D_FILE_OFFSET_BITS=64.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Sep 14 04:30:27 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -5 lines
* Check for mkstemp() and mkdtemp(), and build them into libnbcompat
  if necessary.
* mktemp is now a host-tool, so nuke the lame script (which isn't even
  properly installed during the tools bootstrap).

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Sep 13 19:07:01 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -7 lines
* Always include the NetBSD glob(3) in libnbcompat, as the host
  tools use some features of glob(3) that are not available on
  all systems.
* Always include the NetBSD vis(3) in libnbcompat, since vis(3)
  is not really standardized, and the vis(3) present on some systems
  is different from ours.
* Always include the NetBSD MD2, MD4, MD5, RMD160, and SHA1 implementations
  in libnbcompat.  The host tools use features of the NetBSD versions
  which aren't present on all systems that include those functions.
* Add a check for random(3) -- the Heimdal host tools want it.
* Add a check for termios.h -- the Heimdal host tools want it.
* Update the README to indicate the current state of building the
  host tools on Solaris 8 (for SPARC).

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jul 3 17:16:27 2002 UTC (22 years, 5 months ago) by pooka
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -3 lines
Fine-grain checking somewhat:
* check for user_from_uid() in addition to pwcache_userdb()
* check for svis() in addition to vis()

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Apr 24 19:41:58 2002 UTC (22 years, 7 months ago) by bjh21
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -1 lines
Rather than hardcoding two possible locations of the POSIX shell (for
Solaris and everything else), set _PATH_BSHELL to the first occurrence of
"sh" on the path.  This should be rather more portable.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Apr 23 00:13:51 2002 UTC (22 years, 7 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
Add test for alloca() and <alloca.h>, since Sun Workshop C 5.0 needs this.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Apr 22 19:23:33 2002 UTC (22 years, 7 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
Create sys/endian.h if it doesn't exist, since rmd160.c includes it directly.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Apr 19 22:47:11 2002 UTC (22 years, 7 months ago) by tv
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Emit an empty <stdint.h> if the host doesn't have one.  Should fix PR 16416.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Apr 18 21:05:22 2002 UTC (22 years, 7 months ago) by tv
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -2 lines
Re-add test for <sys/endian.h>; it disappeared somewhere along the way.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Apr 18 15:31:52 2002 UTC (22 years, 7 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Add a stub issetugid() for platforms that don't have it.  For now, we assume
that no host program will be installed set-id, so the stub function always
returns 0.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Apr 1 13:59:35 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Revert addition of mkdtemp() to libnbcompat.  I don't think we need mktemp(1)
after all.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Mar 31 18:04:12 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Add mkdtemp to libnbcompat, since glibc doesn't have it an mktemp(1) will
need it.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Mar 31 12:58:54 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -2 lines
Add the md[245], sha1 and rmd160 functions to libnbcompat, conditional on their
not being in the host libc.
This will be necessary to make cksum into a host tool.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Mar 7 22:48:07 2002 UTC (22 years, 9 months ago) by tv
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +10 -3 lines
Don't gratuitously touch the replacement headers in ${.OBJDIR}/include;
instead, touch them only if they're changed.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Mar 7 19:18:25 2002 UTC (22 years, 9 months ago) by tv
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
Move inttypes.h to list of auto-generated-empty headers.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Mar 7 18:28:47 2002 UTC (22 years, 9 months ago) by tv
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +9 -1 lines
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.]

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Feb 26 22:29:39 2002 UTC (22 years, 9 months ago) by tv
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +11 -5 lines
Add some more bits of host compatibility.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Jan 31 22:43:48 2002 UTC (22 years, 10 months ago) by tv
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +18 -9 lines
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.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jan 29 10:20:32 2002 UTC (22 years, 10 months ago) by tv
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +39 -9 lines
Make almost all tools compile and run properly on non-NetBSD hosts.  (In
particular, most tools now run correctly on Solaris 7.)

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jan 24 04:05:28 2002 UTC (22 years, 10 months ago) by lukem
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -2 lines
- Replace pwcache(3) if necessary (pwcache_userdb(3) is checked for).
  Tested on -current and 1.5.3.
- Wrap some long lines.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jan 21 20:04:36 2002 UTC (22 years, 10 months ago) by tv
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +33 -4 lines
Make many host tools compile on non-NetBSD hosts.  Not complete, but
very nearly there.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Jan 10 04:31:15 2002 UTC (22 years, 10 months ago) by lukem
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -3 lines
look for <inttypes.h> and #include if found (for uint*_t)

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jan 4 14:39:07 2002 UTC (22 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -3 lines
Add replacement fgetln(3) (from lukemftp/libukem), as fparseln(3) uses it

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 21:17:58 2001 UTC (22 years, 11 months ago) by tv
Branches: MAIN
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>