Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make Make regex support conditional on NO_REGEX (was...
details: https://anonhg.NetBSD.org/src/rev/aa9bebf9bec4
branches: trunk
changeset: 471499:aa9bebf9bec4
user: gwr <gwr%NetBSD.org@localhost>
date: Sat Apr 03 04:37:47 1999 +0000
description:
Make regex support conditional on NO_REGEX (was MAKE_BOOTSTRAP)
Solaris has a compatible regex, as do many others now...
diffstat:
usr.bin/make/var.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (71 lines):
diff -r e3fd51433fb5 -r aa9bebf9bec4 usr.bin/make/var.c
--- a/usr.bin/make/var.c Sat Apr 03 03:16:39 1999 +0000
+++ b/usr.bin/make/var.c Sat Apr 03 04:37:47 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.30 1998/11/06 23:31:09 christos Exp $ */
+/* $NetBSD: var.c,v 1.31 1999/04/03 04:37:47 gwr Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -39,14 +39,14 @@
*/
#ifdef MAKE_BOOTSTRAP
-static char rcsid[] = "$NetBSD: var.c,v 1.30 1998/11/06 23:31:09 christos Exp $";
+static char rcsid[] = "$NetBSD: var.c,v 1.31 1999/04/03 04:37:47 gwr Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: var.c,v 1.30 1998/11/06 23:31:09 christos Exp $");
+__RCSID("$NetBSD: var.c,v 1.31 1999/04/03 04:37:47 gwr Exp $");
#endif
#endif /* not lint */
#endif
@@ -94,7 +94,7 @@
*/
#include <ctype.h>
-#ifndef MAKE_BOOTSTRAP
+#ifndef NO_REGEX
#include <sys/types.h>
#include <regex.h>
#endif
@@ -170,7 +170,7 @@
int flags;
} VarPattern;
-#ifndef MAKE_BOOTSTRAP
+#ifndef NO_REGEX
typedef struct {
regex_t re;
int nsub;
@@ -193,7 +193,7 @@
static Boolean VarSYSVMatch __P((char *, Boolean, Buffer, ClientData));
#endif
static Boolean VarNoMatch __P((char *, Boolean, Buffer, ClientData));
-#ifndef MAKE_BOOTSTRAP
+#ifndef NO_REGEX
static void VarREError __P((int, regex_t *, const char *));
static Boolean VarRESubstitute __P((char *, Boolean, Buffer, ClientData));
#endif
@@ -1068,7 +1068,7 @@
return(TRUE);
}
-#ifndef MAKE_BOOTSTRAP
+#ifndef NO_REGEX
/*-
*-----------------------------------------------------------------------
* VarREError --
@@ -1887,7 +1887,7 @@
}
break;
}
-#ifndef MAKE_BOOTSTRAP
+#ifndef NO_REGEX
case 'C':
{
VarREPattern pattern;
Home |
Main Index |
Thread Index |
Old Index