=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/Attic/config.h,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/usr.bin/make/Attic/config.h 1998/12/05 00:06:27 1.9 --- src/usr.bin/make/Attic/config.h 2001/05/03 13:41:03 1.10 *************** *** 1,4 **** ! /* $OpenBSD: config.h,v 1.9 1998/12/05 00:06:27 espie Exp $ */ /* $NetBSD: config.h,v 1.7 1996/11/06 17:59:03 christos Exp $ */ /* --- 1,5 ---- ! /* $OpenPackages$ */ ! /* $OpenBSD: config.h,v 1.10 2001/05/03 13:41:03 espie Exp $ */ /* $NetBSD: config.h,v 1.7 1996/11/06 17:59:03 christos Exp $ */ /* *************** *** 41,47 **** * from: @(#)config.h 8.1 (Berkeley) 6/6/93 */ ! #define DEFSHELL 1 /* Bourne shell */ /* * DEFMAXJOBS --- 42,48 ---- * from: @(#)config.h 8.1 (Berkeley) 6/6/93 */ ! #define DEFSHELL 1 /* Bourne shell */ /* * DEFMAXJOBS *************** *** 82,100 **** * that don't have this problem, you should defined this. Under * NFS you probably should not, unless you aren't exporting jobs. */ ! #define LIBSUFF ".a" ! #define RECHECK /* - * POSIX - * Adhere to the POSIX 1003.2 draft for the make(1) program. - * - Use MAKEFLAGS instead of MAKE to pick arguments from the - * environment. - * - Allow empty command lines if starting with tab. - */ - #define POSIX - - /* * SYSVINCLUDE * Recognize system V like include directives [include "filename"] * SYSVVARSUB --- 83,92 ---- * that don't have this problem, you should defined this. Under * NFS you probably should not, unless you aren't exporting jobs. */ ! #define LIBSUFF ".a" ! #define RECHECK /* * SYSVINCLUDE * Recognize system V like include directives [include "filename"] * SYSVVARSUB *************** *** 118,120 **** --- 110,145 ---- # define RANLIBMAG "__.SYMDEF" # endif #endif + + #ifdef SYSVINCLUDE + #define DOFEATURE_SYSVINCLUDE FEATURE_SYSVINCLUDE + #else + #define DOFEATURE_SYSVINCLUDE 0 + #endif + #ifdef SYSVVARSUB + #define DOFEATURE_SYSVVARSUB FEATURE_SYSVVARSUB + #else + #define DOFEATURE_SYSVVARSUB 0 + #endif + #ifdef SUNSHCMD + #define DOFEATURE_SUNSHCMD FEATURE_SUNSHCMD + #else + #define DOFEATURE_SUNSHCMD 0 + #endif + + #ifndef DEFAULT_FEATURES + #define DEFAULT_FEATURES (FEATURE_UPPERLOWER | DOFEATURE_SYSVVARSUB | DOFEATURE_SYSVINCLUDE | DOFEATURE_SUNSHCMD | FEATURE_RECVARS) + #endif + + #define FEATURES(x) ((DEFAULT_FEATURES & (x)) != 0) + #define FEATURE_ODE 1 + #define FEATURE_UNIQ 2 + #define FEATURE_SORT 4 + #define FEATURE_UPPERLOWER 8 + #define FEATURE_SYSVVARSUB 16 + #define FEATURE_SYSVINCLUDE 32 + #define FEATURE_SUNSHCMD 64 + #define FEATURE_RECVARS 128 + #define FEATURE_CONDINCLUDE 256 + #define FEATURE_ASSIGN 512 + #define FEATURE_EXECMOD 1024