Module Name: src
Committed By: joerg
Date: Mon Apr 18 03:27:40 UTC 2011
Modified Files:
src/usr.bin/grep: fastgrep.c file.c grep.c queue.c util.c
Log Message:
Include nbtool_config.h for tool builds.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/grep/fastgrep.c src/usr.bin/grep/grep.c
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/grep/file.c
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/grep/queue.c
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/grep/util.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/grep/fastgrep.c
diff -u src/usr.bin/grep/fastgrep.c:1.4 src/usr.bin/grep/fastgrep.c:1.5
--- src/usr.bin/grep/fastgrep.c:1.4 Sun Feb 27 17:33:37 2011
+++ src/usr.bin/grep/fastgrep.c Mon Apr 18 03:27:40 2011
@@ -35,8 +35,12 @@
* meantime, we need to use this workaround.
*/
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
#include <sys/cdefs.h>
-__RCSID("$NetBSD: fastgrep.c,v 1.4 2011/02/27 17:33:37 joerg Exp $");
+__RCSID("$NetBSD: fastgrep.c,v 1.5 2011/04/18 03:27:40 joerg Exp $");
#include <limits.h>
#include <stdbool.h>
Index: src/usr.bin/grep/grep.c
diff -u src/usr.bin/grep/grep.c:1.4 src/usr.bin/grep/grep.c:1.5
--- src/usr.bin/grep/grep.c:1.4 Wed Feb 16 01:31:33 2011
+++ src/usr.bin/grep/grep.c Mon Apr 18 03:27:40 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: grep.c,v 1.4 2011/02/16 01:31:33 joerg Exp $ */
+/* $NetBSD: grep.c,v 1.5 2011/04/18 03:27:40 joerg Exp $ */
/* $FreeBSD: head/usr.bin/grep/grep.c 211519 2010-08-19 22:55:17Z delphij $ */
/* $OpenBSD: grep.c,v 1.42 2010/07/02 22:18:03 tedu Exp $ */
@@ -29,8 +29,12 @@
* SUCH DAMAGE.
*/
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
#include <sys/cdefs.h>
-__RCSID("$NetBSD: grep.c,v 1.4 2011/02/16 01:31:33 joerg Exp $");
+__RCSID("$NetBSD: grep.c,v 1.5 2011/04/18 03:27:40 joerg Exp $");
#include <sys/stat.h>
#include <sys/types.h>
Index: src/usr.bin/grep/file.c
diff -u src/usr.bin/grep/file.c:1.5 src/usr.bin/grep/file.c:1.6
--- src/usr.bin/grep/file.c:1.5 Wed Feb 16 18:35:39 2011
+++ src/usr.bin/grep/file.c Mon Apr 18 03:27:40 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: file.c,v 1.5 2011/02/16 18:35:39 joerg Exp $ */
+/* $NetBSD: file.c,v 1.6 2011/04/18 03:27:40 joerg Exp $ */
/* $FreeBSD: head/usr.bin/grep/file.c 211496 2010-08-19 09:28:59Z des $ */
/* $OpenBSD: file.c,v 1.11 2010/07/02 20:48:48 nicm Exp $ */
@@ -30,8 +30,12 @@
* SUCH DAMAGE.
*/
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
#include <sys/cdefs.h>
-__RCSID("$NetBSD: file.c,v 1.5 2011/02/16 18:35:39 joerg Exp $");
+__RCSID("$NetBSD: file.c,v 1.6 2011/04/18 03:27:40 joerg Exp $");
#include <sys/param.h>
#include <sys/types.h>
Index: src/usr.bin/grep/queue.c
diff -u src/usr.bin/grep/queue.c:1.2 src/usr.bin/grep/queue.c:1.3
--- src/usr.bin/grep/queue.c:1.2 Wed Feb 16 01:31:33 2011
+++ src/usr.bin/grep/queue.c Mon Apr 18 03:27:40 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: queue.c,v 1.2 2011/02/16 01:31:33 joerg Exp $ */
+/* $NetBSD: queue.c,v 1.3 2011/04/18 03:27:40 joerg Exp $ */
/* $FreeBSD: head/usr.bin/grep/queue.c 211496 2010-08-19 09:28:59Z des $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
@@ -31,8 +31,12 @@
* Dodge. It is used in place of <sys/queue.h> to get a better performance.
*/
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
#include <sys/cdefs.h>
-__RCSID("$NetBSD: queue.c,v 1.2 2011/02/16 01:31:33 joerg Exp $");
+__RCSID("$NetBSD: queue.c,v 1.3 2011/04/18 03:27:40 joerg Exp $");
#include <sys/param.h>
#include <sys/queue.h>
Index: src/usr.bin/grep/util.c
diff -u src/usr.bin/grep/util.c:1.9 src/usr.bin/grep/util.c:1.10
--- src/usr.bin/grep/util.c:1.9 Sun Feb 27 17:33:37 2011
+++ src/usr.bin/grep/util.c Mon Apr 18 03:27:40 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: util.c,v 1.9 2011/02/27 17:33:37 joerg Exp $ */
+/* $NetBSD: util.c,v 1.10 2011/04/18 03:27:40 joerg Exp $ */
/* $FreeBSD: head/usr.bin/grep/util.c 211496 2010-08-19 09:28:59Z des $ */
/* $OpenBSD: util.c,v 1.39 2010/07/02 22:18:03 tedu Exp $ */
@@ -29,8 +29,12 @@
* SUCH DAMAGE.
*/
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
#include <sys/cdefs.h>
-__RCSID("$NetBSD: util.c,v 1.9 2011/02/27 17:33:37 joerg Exp $");
+__RCSID("$NetBSD: util.c,v 1.10 2011/04/18 03:27:40 joerg Exp $");
#include <sys/stat.h>
#include <sys/types.h>