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


Default branch: MAIN


Revision 1.107 / (download) - annotate - [select for diffs], Thu Jul 20 16:21:23 2023 UTC (7 months, 1 week ago) by lukem
Branch: MAIN
CVS Tags: HEAD
Changes since 1.106: +2 -2 lines
Diff to previous 1.106 (colored)

tools: binstall can use posix_spawn() instead of vfork()

Revision 1.106 / (download) - annotate - [select for diffs], Thu Jul 20 15:15:23 2023 UTC (7 months, 1 week ago) by lukem
Branch: MAIN
Changes since 1.105: +14 -37 lines
Diff to previous 1.105 (colored)

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) - annotate - [select for diffs], Fri Jun 30 17:13:50 2023 UTC (8 months ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.99: +5 -4 lines
Diff to previous 1.99 (colored) next main 1.100 (colored)

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) - annotate - [select for diffs], Sat Jun 3 09:10:13 2023 UTC (8 months, 4 weeks ago) by lukem
Branch: MAIN
Changes since 1.104: +17 -8 lines
Diff to previous 1.104 (colored)

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) - annotate - [select for diffs], Tue May 30 18:54:21 2023 UTC (9 months ago) by lukem
Branch: MAIN
Changes since 1.103: +12 -4 lines
Diff to previous 1.103 (colored)

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) - annotate - [select for diffs], Tue May 30 18:39:19 2023 UTC (9 months ago) by lukem
Branch: MAIN
Changes since 1.102: +38 -3 lines
Diff to previous 1.102 (colored)

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) - annotate - [select for diffs], Tue May 30 18:31:55 2023 UTC (9 months ago) by lukem
Branch: MAIN
Changes since 1.101: +1 -4 lines
Diff to previous 1.101 (colored)

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) - annotate - [select for diffs], Mon May 29 21:30:42 2023 UTC (9 months ago) by lukem
Branch: MAIN
Changes since 1.100: +15 -13 lines
Diff to previous 1.100 (colored)

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) - annotate - [select for diffs], Tue May 23 19:53:24 2023 UTC (9 months, 1 week ago) by lukem
Branch: MAIN
Changes since 1.99: +5 -4 lines
Diff to previous 1.99 (colored)

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) - annotate - [select for diffs], Thu Feb 25 13:41:58 2021 UTC (3 years ago) by christos
Branch: 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
Changes since 1.98: +5 -4 lines
Diff to previous 1.98 (colored)

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) - annotate - [select for diffs], Wed Jun 24 14:39:01 2020 UTC (3 years, 8 months ago) by uwe
Branch: MAIN
Changes since 1.97: +11 -5 lines
Diff to previous 1.97 (colored)

Add AC_MSG_RESULT yes/no to the uio checks.

Revision 1.91.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:34 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.91.2.1: +31 -3 lines
Diff to previous 1.91.2.1 (colored) to branchpoint 1.91 (colored) next main 1.92 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.97 / (download) - annotate - [select for diffs], Sat Jun 22 13:42:53 2019 UTC (4 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, 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
Changes since 1.96: +12 -4 lines
Diff to previous 1.96 (colored)

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) - annotate - [select for diffs], Wed Jun 19 23:33:07 2019 UTC (4 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.95: +2 -1 lines
Diff to previous 1.95 (colored)

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) - annotate - [select for diffs], Wed Jun 19 03:40:15 2019 UTC (4 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.94: +21 -2 lines
Diff to previous 1.94 (colored)

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) - annotate - [select for diffs], Mon Jun 10 22:10:13 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.91: +8 -5 lines
Diff to previous 1.91 (colored)

Sync with HEAD

Revision 1.89.2.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:49 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.89.2.1: +8 -5 lines
Diff to previous 1.89.2.1 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored)

Sync with HEAD

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

Revision 1.94 / (download) - annotate - [select for diffs], Thu Aug 30 12:05:34 2018 UTC (5 years, 6 months ago) by christos
Branch: 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
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored)

deal with getsubopt and strncasecmp (needed by mdocml)

Revision 1.93 / (download) - annotate - [select for diffs], Thu Aug 16 12:03:36 2018 UTC (5 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.92: +7 -4 lines
Diff to previous 1.92 (colored)

add strncasecmp

Revision 1.92 / (download) - annotate - [select for diffs], Sat Aug 11 16:24:59 2018 UTC (5 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

Add strcasecmp

Revision 1.89.2.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:26:09 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.89: +1 -1 lines
Diff to previous 1.89 (colored)

Sync with HEAD

Revision 1.91 / (download) - annotate - [select for diffs], Wed Jun 13 04:17:43 2018 UTC (5 years, 8 months ago) by maya
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.90: +0 -1 lines
Diff to previous 1.90 (colored)

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) - annotate - [select for diffs], Mon Jun 11 18:48:25 2018 UTC (5 years, 8 months ago) by maya
Branch: MAIN
Changes since 1.89: +2 -1 lines
Diff to previous 1.89 (colored)

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) - annotate - [select for diffs], Sat Feb 3 22:02:02 2018 UTC (6 years ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.87.6.2: +2 -2 lines
Diff to previous 1.87.6.2 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored)

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) - annotate - [select for diffs], Thu Dec 21 23:06:58 2017 UTC (6 years, 2 months ago) by snj
Branch: netbsd-8
Changes since 1.87.6.1: +4 -4 lines
Diff to previous 1.87.6.1 (colored) to branchpoint 1.87 (colored)

revert ticket 435

Revision 1.87.6.1 / (download) - annotate - [select for diffs], Thu Dec 21 19:11:21 2017 UTC (6 years, 2 months ago) by snj
Branch: netbsd-8
Changes since 1.87: +4 -4 lines
Diff to previous 1.87 (colored)

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) - annotate - [select for diffs], Sat Dec 9 04:22:53 2017 UTC (6 years, 2 months ago) by sevan
Branch: 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
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored)

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) - annotate - [select for diffs], Mon Oct 2 22:19:45 2017 UTC (6 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.87: +4 -4 lines
Diff to previous 1.87 (colored)

handle __fpurge being declared in <stdio_ext.h>

Revision 1.84.2.3 / (download) - annotate - [select for diffs], Mon Mar 20 06:58:02 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.84.2.2: +7 -2 lines
Diff to previous 1.84.2.2 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)

Sync with HEAD

Revision 1.87 / (download) - annotate - [select for diffs], Sat Jan 7 21:30:42 2017 UTC (7 years, 1 month ago) by christos
Branch: 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
Changes since 1.86: +7 -2 lines
Diff to previous 1.86 (colored)

strmode on MacOS/X is in string.h

Revision 1.84.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:57 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.84.2.1: +30 -3 lines
Diff to previous 1.84.2.1 (colored) to branchpoint 1.84 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.86 / (download) - annotate - [select for diffs], Sat Jan 7 02:52:04 2017 UTC (7 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107
Changes since 1.85: +30 -3 lines
Diff to previous 1.85 (colored)

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) - annotate - [select for diffs], Fri Nov 4 14:49:25 2016 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.84: +6 -4 lines
Diff to previous 1.84 (colored)

Sync with HEAD

Revision 1.85 / (download) - annotate - [select for diffs], Wed Oct 19 21:54:20 2016 UTC (7 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104
Changes since 1.84: +6 -4 lines
Diff to previous 1.84 (colored)

try to fix missing decls

Revision 1.84 / (download) - annotate - [select for diffs], Sun Jul 26 14:01:53 2015 UTC (8 years, 7 months ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

Add reallocarr(3) to tools/compat

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

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Wed Apr 22 07:18:58 2015 UTC (8 years, 10 months ago) by snj
Branch: 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
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

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) - annotate - [select for diffs], Fri Jan 16 18:44:06 2015 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored)

strto{i,u}

Revision 1.74.6.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:53 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.74.6.2: +18 -3 lines
Diff to previous 1.74.6.2 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:57:39 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.81: +7 -1 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Rebase.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Jun 6 01:40:40 2014 UTC (9 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.81: +7 -1 lines
Diff to previous 1.81 (colored)

Deal with errc/warnc

Revision 1.73.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:42:30 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.73.2.1: +16 -6 lines
Diff to previous 1.73.2.1 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)

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) - annotate - [select for diffs], Thu Jan 9 11:26:58 2014 UTC (10 years, 1 month ago) by apb
Branch: 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
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Add strnlen to configure tests in tools/compat

Revision 1.80 / (download) - annotate - [select for diffs], Wed Aug 14 10:14:45 2013 UTC (10 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.79: +2 -1 lines
Diff to previous 1.79 (colored)

add test for struct tm tm_gmtoff member

Revision 1.79 / (download) - annotate - [select for diffs], Fri Aug 9 20:12:38 2013 UTC (10 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.78: +3 -1 lines
Diff to previous 1.78 (colored)

makefs_udf uses clock_gettime, and on some versions of linux that lives in librt

Revision 1.78 / (download) - annotate - [select for diffs], Tue Aug 6 21:50:19 2013 UTC (10 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.77: +3 -2 lines
Diff to previous 1.77 (colored)

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) - annotate - [select for diffs], Tue Jul 23 21:07:38 2013 UTC (10 years, 7 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.76: +6 -1 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

sync with HEAD

Revision 1.77 / (download) - annotate - [select for diffs], Fri Jul 19 10:53:20 2013 UTC (10 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1
Changes since 1.76: +6 -1 lines
Diff to previous 1.76 (colored)

Fix some tests for musl libc -based systems.

from Justin Cormack and Jens Staal

Revision 1.74.6.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:57 2013 UTC (10 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.74.6.1: +2 -2 lines
Diff to previous 1.74.6.1 (colored) to branchpoint 1.74 (colored)

resync from head

Revision 1.76 / (download) - annotate - [select for diffs], Tue Mar 5 16:26:41 2013 UTC (10 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base, agc-symver-base, agc-symver
Branch point for: riastradh-drm2
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

add dprintf

Revision 1.74.6.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:29 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.74: +3 -2 lines
Diff to previous 1.74 (colored)

resync with head

Revision 1.75 / (download) - annotate - [select for diffs], Sun Feb 17 00:34:11 2013 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.74: +3 -2 lines
Diff to previous 1.74 (colored)

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) - annotate - [select for diffs], Thu Nov 10 14:31:53 2011 UTC (12 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

sync with head

Revision 1.74 / (download) - annotate - [select for diffs], Thu Nov 3 14:13:53 2011 UTC (12 years, 4 months ago) by joerg
Branch: 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
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

Add getline(3) compat glue.

Revision 1.67.2.3 / (download) - annotate - [select for diffs], Wed Nov 2 19:43:02 2011 UTC (12 years, 4 months ago) by riz
Branch: 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
Changes since 1.67.2.2: +3 -3 lines
Diff to previous 1.67.2.2 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

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) - annotate - [select for diffs], Sun Aug 14 20:22:42 2011 UTC (12 years, 6 months ago) by apb
Branch: MAIN
CVS Tags: yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.72: +4 -1 lines
Diff to previous 1.72 (colored)

Detect the presence of <pthread.h>, and add a HAVE_PTHREAD_H
variable in defs.mk.

Revision 1.72 / (download) - annotate - [select for diffs], Sun Aug 14 20:20:59 2011 UTC (12 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.71: +15 -10 lines
Diff to previous 1.71 (colored)

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) - annotate - [select for diffs], Fri Jan 15 11:26:25 2010 UTC (14 years, 1 month ago) by asau
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

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) - annotate - [select for diffs], Tue Dec 15 19:53:20 2009 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.67.2.1: +4 -4 lines
Diff to previous 1.67.2.1 (colored) next main 1.67.2.2 (colored)

Allow tools to build on OSX 10.6 (Snow Leopard).

Revision 1.67.2.1.2.1 / (download) - annotate - [select for diffs], Sat Oct 3 21:30:36 2009 UTC (14 years, 5 months ago) by snj
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE
Changes since 1.67.2.1: +4 -4 lines
Diff to previous 1.67.2.1 (colored) next main 1.67.2.2 (colored)

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) - annotate - [select for diffs], Sat Oct 3 21:28:00 2009 UTC (14 years, 5 months ago) by snj
Branch: 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
Changes since 1.67.2.1: +4 -4 lines
Diff to previous 1.67.2.1 (colored) to branchpoint 1.67 (colored)

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) - annotate - [select for diffs], Tue Jun 16 22:35:34 2009 UTC (14 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

add fpurge; needed by awk.

Revision 1.60.2.3 / (download) - annotate - [select for diffs], Sat Feb 14 19:50:28 2009 UTC (15 years ago) by snj
Branch: netbsd-4
Changes since 1.60.2.2: +17 -5 lines
Diff to previous 1.60.2.2 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

Apply patch (requested by adrianp in ticket #1278):
Fix build on netbsd-5 amd64 hosts.

Revision 1.60.2.1.2.1 / (download) - annotate - [select for diffs], Sat Feb 14 19:45:57 2009 UTC (15 years ago) by snj
Branch: netbsd-4-0
Changes since 1.60.2.1: +17 -5 lines
Diff to previous 1.60.2.1 (colored) next main 1.60.2.2 (colored)

Apply patch (requested by adrianp in ticket #1278):
Fix build on netbsd-5 amd64 hosts.

Revision 1.69 / (download) - annotate - [select for diffs], Tue Feb 3 05:22:40 2009 UTC (15 years ago) by dbj
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.68: +4 -4 lines
Diff to previous 1.68 (colored)

do not require sys/mtio.h for a tools build of pax

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Thu Jan 15 04:21:26 2009 UTC (15 years, 1 month ago) by snj
Branch: 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
Changes since 1.67: +39 -3 lines
Diff to previous 1.67 (colored)

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) - annotate - [select for diffs], Mon Jan 5 06:11:43 2009 UTC (15 years, 1 month ago) by tnozaki
Branch: MAIN
Changes since 1.67: +39 -3 lines
Diff to previous 1.67 (colored)

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) - annotate - [select for diffs], Tue Nov 18 19:12:57 2008 UTC (15 years, 3 months ago) by snj
Branch: netbsd-4
Changes since 1.60.2.1: +4 -3 lines
Diff to previous 1.60.2.1 (colored) to branchpoint 1.60 (colored)

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) - annotate - [select for diffs], Sat Oct 18 16:25:04 2008 UTC (15 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: netbsd-5-base, matt-mips64-base2
Branch point for: netbsd-5
Changes since 1.66: +4 -3 lines
Diff to previous 1.66 (colored)

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) - annotate - [select for diffs], Tue Nov 6 23:35:36 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.64: +17 -5 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

sync with HEAD

Revision 1.66 / (download) - annotate - [select for diffs], Fri Oct 19 15:56:54 2007 UTC (16 years, 4 months ago) by christos
Branch: 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
Changes since 1.65: +16 -5 lines
Diff to previous 1.65 (colored)

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) - annotate - [select for diffs], Fri Sep 28 09:11:12 2007 UTC (16 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.64: +4 -3 lines
Diff to previous 1.64 (colored)

Add raise_default_signal().

Revision 1.60.4.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:05:26 2007 UTC (16 years, 6 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.60: +20 -2 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Thu Aug 30 22:37:36 2007 UTC (16 years, 6 months ago) by pavel
Branch: 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
Changes since 1.60: +20 -2 lines
Diff to previous 1.60 (colored)

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) - annotate - [select for diffs], Tue Aug 7 08:27:41 2007 UTC (16 years, 6 months ago) by apb
Branch: MAIN
Branch point for: matt-armv6
Changes since 1.63: +5 -3 lines
Diff to previous 1.63 (colored)

Update the instructions to say that regen should be done again
to pick up changed RCS IDs.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Aug 7 08:22:04 2007 UTC (16 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.62: +4 -2 lines
Diff to previous 1.62 (colored)

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) - annotate - [select for diffs], Tue Aug 7 07:47:51 2007 UTC (16 years, 6 months ago) by apb
Branch: MAIN
Changes since 1.61: +16 -2 lines
Diff to previous 1.61 (colored)

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) - annotate - [select for diffs], Tue Jul 3 12:11:10 2007 UTC (16 years, 8 months ago) by nakayama
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, hpcarm-cleanup
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

Add strndup(3) to libnbcompat, since estrndup(3) added into efun.c calls it.

Revision 1.60 / (download) - annotate - [select for diffs], Mon Oct 9 14:59:05 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: wrstuden-fixsa, netbsd-4
Changes since 1.59: +4 -3 lines
Diff to previous 1.59 (colored)

sideways check for error functions.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Oct 7 16:19:35 2006 UTC (17 years, 4 months ago) by elad
Branch: MAIN
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored)

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) - annotate - [select for diffs], Sun Aug 20 18:52:05 2006 UTC (17 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

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) - annotate - [select for diffs], Wed Feb 22 00:14:05 2006 UTC (18 years ago) by dogcow
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

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) - annotate - [select for diffs], Sat Feb 11 10:35:29 2006 UTC (18 years ago) by wiz
Branch: MAIN
Changes since 1.55: +11 -2 lines
Diff to previous 1.55 (colored)

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) - annotate - [select for diffs], Sat Feb 11 01:28:01 2006 UTC (18 years ago) by wiz
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

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) - annotate - [select for diffs], Sat Feb 11 00:54:35 2006 UTC (18 years ago) by wiz
Branch: MAIN
Changes since 1.53: +6 -10 lines
Diff to previous 1.53 (colored)

Add AC_CHECK_DECLS test for strsuftoll. hannken reports it is needed
for building nbmakefs on 3.0/i386.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Feb 9 22:26:06 2006 UTC (18 years ago) by wiz
Branch: MAIN
Changes since 1.52: +15 -10 lines
Diff to previous 1.52 (colored)

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) - annotate - [select for diffs], Thu Feb 9 22:03:15 2006 UTC (18 years ago) by dogcow
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

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) - annotate - [select for diffs], Thu Feb 2 04:15:03 2006 UTC (18 years, 1 month ago) by dbj
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

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) - annotate - [select for diffs], Wed Apr 6 09:56:40 2005 UTC (18 years, 10 months ago) by he
Branch: 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
Changes since 1.42.2.2: +3 -3 lines
Diff to previous 1.42.2.2 (colored) next main 1.43 (colored)

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) - annotate - [select for diffs], Wed Mar 2 18:08:44 2005 UTC (19 years ago) by wiz
Branch: 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
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

Remove commas in AC_CHECK_FUNCS that shouldn't be there.
Closes PR 29577 by Valeriy E. Ushakov.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jan 13 00:52:40 2005 UTC (19 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.48: +4 -3 lines
Diff to previous 1.48 (colored)

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) - annotate - [select for diffs], Sun Nov 28 06:57:14 2004 UTC (19 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Add heapsort to libnbcompat

Revision 1.47 / (download) - annotate - [select for diffs], Tue Oct 12 03:28:32 2004 UTC (19 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.46: +5 -1 lines
Diff to previous 1.46 (colored)

Check for fstatvfs and provide/use it only if the host system has it.
Fixes PR#27221

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Sun Jul 25 07:50:06 2004 UTC (19 years, 7 months ago) by tron
Branch: 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
Changes since 1.42.2.1: +0 -1 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

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) - annotate - [select for diffs], Sat Jul 24 16:32:01 2004 UTC (19 years, 7 months ago) by dbj
Branch: MAIN
Changes since 1.45: +2 -1 lines
Diff to previous 1.45 (colored)

check for HAVE_STRUCT_STATVFS_F_IOSIZE
addresses PR toolchain/26415

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jul 24 12:24:59 2004 UTC (19 years, 7 months ago) by dbj
Branch: MAIN
Changes since 1.44: +1 -2 lines
Diff to previous 1.44 (colored)

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) - annotate - [select for diffs], Fri Jul 23 14:33:14 2004 UTC (19 years, 7 months ago) by tron
Branch: netbsd-1-6
Changes since 1.20.2.3: +4 -4 lines
Diff to previous 1.20.2.3 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Apply patch (request by dbj in ticket 1723):
Fix building the netbsd-1-6 branch under Darwin/MacOS.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Tue Jun 22 07:30:28 2004 UTC (19 years, 8 months ago) by tron
Branch: netbsd-2-0
Changes since 1.42: +27 -4 lines
Diff to previous 1.42 (colored)

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) - annotate - [select for diffs], Sun Jun 20 22:20:15 2004 UTC (19 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.43: +27 -4 lines
Diff to previous 1.43 (colored)

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) - annotate - [select for diffs], Fri Jun 18 20:07:31 2004 UTC (19 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Check for group_from_gid().

Revision 1.42 / (download) - annotate - [select for diffs], Wed Nov 12 19:43:58 2003 UTC (20 years, 3 months ago) by dbj
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

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) - annotate - [select for diffs], Mon Oct 27 00:12:43 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

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) - annotate - [select for diffs], Sat Jul 26 20:24:00 2003 UTC (20 years, 7 months ago) by salo
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

netbsd.org->NetBSD.org

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jul 25 03:21:15 2003 UTC (20 years, 7 months ago) by atatat
Branch: MAIN
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored)

More properly host-tool-ify stat

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jul 18 13:45:16 2003 UTC (20 years, 7 months ago) by fredb
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

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) - annotate - [select for diffs], Tue Jun 3 03:16:49 2003 UTC (20 years, 9 months ago) by uwe
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

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) - annotate - [select for diffs], Fri Mar 14 03:38:42 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

Add a putc_unlocked().

Revision 1.35 / (download) - annotate - [select for diffs], Thu Mar 13 16:27:04 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.34: +5 -2 lines
Diff to previous 1.34 (colored)

Fix the socklen_t test; we need to explcitly list the headers we want
included for that test.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Mar 13 04:30:39 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

Check for sys/socket.h and socklen_t.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Dec 16 00:35:00 2002 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

Include <sys/types.h> before <grp.h>; Mac OS 10.2.2 needs this.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Dec 16 00:32:00 2002 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

Include <sys/types.h> before including <dirent.h>; Mac OS 10.2.2
needs this.

Revision 1.20.2.3 / (download) - annotate - [select for diffs], Sun Dec 1 19:10:27 2002 UTC (21 years, 3 months ago) by he
Branch: 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
Changes since 1.20.2.2: +2 -2 lines
Diff to previous 1.20.2.2 (colored) to branchpoint 1.20 (colored)

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) - annotate - [select for diffs], Sat Nov 30 21:43:28 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

add check back for util.h; needed on some foreign systems

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Sat Nov 30 15:11:05 2002 UTC (21 years, 3 months ago) by he
Branch: netbsd-1-6
Changes since 1.20.2.1: +4 -4 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored)

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) - annotate - [select for diffs], Sat Nov 30 03:04:46 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.29: +2 -3 lines
Diff to previous 1.29 (colored)

- 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) - annotate - [select for diffs], Fri Nov 29 13:00:24 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.28: +3 -2 lines
Diff to previous 1.28 (colored)

replace missing strsuftoll(3)

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Sun Nov 3 16:19:38 2002 UTC (21 years, 4 months ago) by he
Branch: netbsd-1-6
Changes since 1.20: +6 -6 lines
Diff to previous 1.20 (colored)

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) - annotate - [select for diffs], Mon Oct 7 18:12:36 2002 UTC (21 years, 4 months ago) by briggs
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Just check for poll.h, don't fail if it's not present.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Oct 6 12:09:34 2002 UTC (21 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Provide strtoll() in libnbcompat.
Should fix relevant build issue on HP-UX and MacOS X hosts.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Oct 5 04:13:30 2002 UTC (21 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

check for lchflags

Revision 1.25 / (download) - annotate - [select for diffs], Fri Oct 4 22:10:10 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Check for <poll.h> and poll(2).

Revision 1.24 / (download) - annotate - [select for diffs], Mon Sep 16 04:10:37 2002 UTC (21 years, 5 months ago) by briggs
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

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) - annotate - [select for diffs], Sat Sep 14 04:30:27 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored)

* 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) - annotate - [select for diffs], Fri Sep 13 19:07:01 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +6 -7 lines
Diff to previous 1.21 (colored)

* 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) - annotate - [select for diffs], Wed Jul 3 17:16:27 2002 UTC (21 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.20: +4 -3 lines
Diff to previous 1.20 (colored)

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) - annotate - [select for diffs], Wed Apr 24 19:41:58 2002 UTC (21 years, 10 months ago) by bjh21
Branch: 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
Changes since 1.19: +7 -1 lines
Diff to previous 1.19 (colored)

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) - annotate - [select for diffs], Tue Apr 23 00:13:51 2002 UTC (21 years, 10 months ago) by bjh21
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Add test for alloca() and <alloca.h>, since Sun Workshop C 5.0 needs this.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Apr 22 19:23:33 2002 UTC (21 years, 10 months ago) by bjh21
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Create sys/endian.h if it doesn't exist, since rmd160.c includes it directly.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Apr 19 22:47:11 2002 UTC (21 years, 10 months ago) by tv
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Emit an empty <stdint.h> if the host doesn't have one.  Should fix PR 16416.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Apr 18 21:05:22 2002 UTC (21 years, 10 months ago) by tv
Branch: MAIN
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

Re-add test for <sys/endian.h>; it disappeared somewhere along the way.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 18 15:31:52 2002 UTC (21 years, 10 months ago) by bjh21
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

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) - annotate - [select for diffs], Mon Apr 1 13:59:35 2002 UTC (21 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Revert addition of mkdtemp() to libnbcompat.  I don't think we need mktemp(1)
after all.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 31 18:04:12 2002 UTC (21 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Add mkdtemp to libnbcompat, since glibc doesn't have it an mktemp(1) will
need it.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 31 12:58:54 2002 UTC (21 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

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) - annotate - [select for diffs], Thu Mar 7 22:48:07 2002 UTC (21 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.10: +10 -3 lines
Diff to previous 1.10 (colored)

Don't gratuitously touch the replacement headers in ${.OBJDIR}/include;
instead, touch them only if they're changed.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 7 19:18:25 2002 UTC (21 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Move inttypes.h to list of auto-generated-empty headers.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 7 18:28:47 2002 UTC (21 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.8: +9 -1 lines
Diff to previous 1.8 (colored)

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) - annotate - [select for diffs], Tue Feb 26 22:29:39 2002 UTC (22 years ago) by tv
Branch: MAIN
Changes since 1.7: +11 -5 lines
Diff to previous 1.7 (colored)

Add some more bits of host compatibility.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jan 31 22:43:48 2002 UTC (22 years, 1 month ago) by tv
Branch: MAIN
Changes since 1.6: +18 -9 lines
Diff to previous 1.6 (colored)

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) - annotate - [select for diffs], Tue Jan 29 10:20:32 2002 UTC (22 years, 1 month ago) by tv
Branch: MAIN
Changes since 1.5: +39 -9 lines
Diff to previous 1.5 (colored)

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) - annotate - [select for diffs], Thu Jan 24 04:05:28 2002 UTC (22 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

- 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) - annotate - [select for diffs], Mon Jan 21 20:04:36 2002 UTC (22 years, 1 month ago) by tv
Branch: MAIN
Changes since 1.3: +33 -4 lines
Diff to previous 1.3 (colored)

Make many host tools compile on non-NetBSD hosts.  Not complete, but
very nearly there.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 10 04:31:15 2002 UTC (22 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.2: +2 -3 lines
Diff to previous 1.2 (colored)

look for <inttypes.h> and #include if found (for uint*_t)

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 4 14:39:07 2002 UTC (22 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.1: +2 -3 lines
Diff to previous 1.1 (colored)

Add replacement fgetln(3) (from lukemftp/libukem), as fparseln(3) uses it

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 11 21:17:58 2001 UTC (22 years, 2 months ago) by tv
Branch: 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.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>