Commit Graph

7 Commits

Author SHA1 Message Date
lukem 171d653219 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).
2003-10-27 00:12:41 +00:00
tv 9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
perry c44d4effcd RCSID Police. 1998-01-05 05:15:43 +00:00
mikel 7bd9154d93 Upgrade to flex 2.5.4. 1996-12-10 07:18:37 +00:00
pk c0ccf6bd8a Prototypes (PR#1102). 1995-06-05 19:44:52 +00:00
jtc 852707219e Upgrade to Flex version 2.5.2 1995-05-05 05:35:08 +00:00
jtc d111379d91 The Lex library is now built from ~/lib/libl by pulling the appropriate
sources from ~/usr.bin/lex.  This will allow us to start "importing"
future flex releases.
1994-02-04 19:15:27 +00:00