SCCS-vsn: usr.bin/make/config.h 5.7
SCCS-vsn: usr.bin/make/main.c 5.7
SCCS-vsn: usr.bin/make/var.c 5.4
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#)config.h 5.6 (Berkeley) %G%
+ * @(#)config.h 5.7 (Berkeley) %G%
*/
#define DEFSHELL 1 /* Bourne shell */
*/
#define DEFSHELL 1 /* Bourne shell */
#define INCLUDES
#define LIBRARIES
#define INCLUDES
#define LIBRARIES
-/*
- * DEF_OLD_VARS
- * If defined, variable substitution follows the make style. PMake-style
- * substitution cannot be turned on. In addition, pmake will never
- * generate a warning for an undefined variable.
- */
-/*#define DEF_OLD_VARS*/
-
/*
* LIBSUFF
* Is the suffix used to denote libraries and is used by the Suff module
/*
* LIBSUFF
* Is the suffix used to denote libraries and is used by the Suff module
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)main.c 5.6 (Berkeley) %G%";
+static char sccsid[] = "@(#)main.c 5.7 (Berkeley) %G%";
#endif /* not lint */
/*-
#endif /* not lint */
/*-
} else {
amMake = FALSE;
backwards = FALSE; /* Do things MY way, not MAKE's */
} else {
amMake = FALSE;
backwards = FALSE; /* Do things MY way, not MAKE's */
-#else
- oldVars = FALSE; /* don't substitute for undefined variables */
-#endif
-static char sccsid[] = "@(#)var.c 5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)var.c 5.4 (Berkeley) %G%";
#endif /* not lint */
/*-
#endif /* not lint */
/*-
* the string...
*/
if (oldVars) {
* the string...
*/
if (oldVars) {
-#ifndef DEF_OLD_VARS
- if (!sysVmake && !amMake && undefErr && !errorReported) {
- Parse_Error (PARSE_WARNING,
- "Undefined variable \"%.*s\"",length,str);
- }
-#endif
str += length;
} else if (undefErr) {
/*
str += length;
} else if (undefErr) {
/*