Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/grep Include nbtool_config.h for tool builds.



details:   https://anonhg.NetBSD.org/src/rev/563d2acbff9e
branches:  trunk
changeset: 764378:563d2acbff9e
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Apr 18 03:27:40 2011 +0000

description:
Include nbtool_config.h for tool builds.

diffstat:

 usr.bin/grep/fastgrep.c |  6 +++++-
 usr.bin/grep/file.c     |  8 ++++++--
 usr.bin/grep/grep.c     |  8 ++++++--
 usr.bin/grep/queue.c    |  8 ++++++--
 usr.bin/grep/util.c     |  8 ++++++--
 5 files changed, 29 insertions(+), 9 deletions(-)

diffs (109 lines):

diff -r f8e769e7a612 -r 563d2acbff9e usr.bin/grep/fastgrep.c
--- a/usr.bin/grep/fastgrep.c   Mon Apr 18 03:04:31 2011 +0000
+++ b/usr.bin/grep/fastgrep.c   Mon Apr 18 03:27:40 2011 +0000
@@ -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>
diff -r f8e769e7a612 -r 563d2acbff9e usr.bin/grep/file.c
--- a/usr.bin/grep/file.c       Mon Apr 18 03:04:31 2011 +0000
+++ b/usr.bin/grep/file.c       Mon Apr 18 03:27:40 2011 +0000
@@ -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>
diff -r f8e769e7a612 -r 563d2acbff9e usr.bin/grep/grep.c
--- a/usr.bin/grep/grep.c       Mon Apr 18 03:04:31 2011 +0000
+++ b/usr.bin/grep/grep.c       Mon Apr 18 03:27:40 2011 +0000
@@ -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>
diff -r f8e769e7a612 -r 563d2acbff9e usr.bin/grep/queue.c
--- a/usr.bin/grep/queue.c      Mon Apr 18 03:04:31 2011 +0000
+++ b/usr.bin/grep/queue.c      Mon Apr 18 03:27:40 2011 +0000
@@ -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>
diff -r f8e769e7a612 -r 563d2acbff9e usr.bin/grep/util.c
--- a/usr.bin/grep/util.c       Mon Apr 18 03:04:31 2011 +0000
+++ b/usr.bin/grep/util.c       Mon Apr 18 03:27:40 2011 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index