- Timestamp:
- May 26, 2007 8:03:34 PM (18 years ago)
- Location:
- trunk/src/gmakenew
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmakenew/main.c
r918 r938 1317 1317 o_default, f_append, 0); 1318 1318 #endif 1319 #ifdef CONFIG_WITH_EXPLICIT_MULTITARGET 1320 do_variable_definition (NILF, ".FEATURES", "explicit-multitarget", 1321 o_default, f_append, 0); 1322 #endif 1323 #ifdef CONFIG_WITH_PREPEND_ASSIGNMENT 1324 do_variable_definition (NILF, ".FEATURES", "prepend-assignment", 1325 o_default, f_append, 0); 1326 #endif 1319 1327 1320 1328 /* Read in variables from the environment. It is important that this be … … 2761 2769 { 2762 2770 sl->max += 5; 2763 sl->list = xrealloc ( sl->list,2771 sl->list = xrealloc ((void *)sl->list, /* bird */ 2764 2772 sl->max * sizeof (char *)); 2765 2773 } -
trunk/src/gmakenew/variable.c
r937 r938 1027 1027 1028 1028 /* Define KMK_FEATURES to indicate various working KMK features. */ 1029 # if defined(CONFIG_WITH_TOUPPER_TOLOWER) \ 1030 && defined(CONFIG_WITH_RSORT) \ 1029 # if defined(CONFIG_WITH_RSORT) \ 1031 1030 && defined(CONFIG_WITH_ABSPATHEX) \ 1031 && defined(CONFIG_WITH_TOUPPER_TOLOWER) \ 1032 1032 && defined(CONFIG_WITH_VALUE_LENGTH) && defined(CONFIG_WITH_COMPARE) \ 1033 1033 && defined(CONFIG_WITH_STACK) \ 1034 1034 && defined(CONFIG_WITH_MATH) \ 1035 1035 && defined(CONFIG_WITH_XARGS) \ 1036 && defined(CONFIG_WITH_EXPLICIT_MULTITARGET) \ 1037 && defined(CONFIG_WITH_PREPEND_ASSIGNMENT) \ 1036 1038 && defined(KMK_HELPERS) 1037 1039 (void) define_variable ("KMK_FEATURES", 12, … … 1044 1046 " math-int" 1045 1047 " xargs" 1048 " explicit-multitarget" 1049 " prepend-assignment" 1046 1050 " kb-src-tool kb-obj-base kb-obj-suff kb-src-prop kb-src-one " 1047 1051 , o_default, 0); 1048 1052 # else /* MSC can't deal with strings mixed with #if/#endif, thus the slow way. */ 1053 # error "All features should be enabled by default!" 1049 1054 strcpy (buf, "append-dash-n abspath"); 1050 1055 # if defined (CONFIG_WITH_RSORT) … … 1069 1074 strcat (buf, " xargs"); 1070 1075 # endif 1071 # ifdef KMK_HELPERS 1076 # if defined (CONFIG_WITH_EXPLICIT_MULTITARGET) 1077 strcat (buf, " explicit-multitarget"); 1078 # endif 1079 # if defined (CONFIG_WITH_PREPEND_ASSIGNMENT) \ 1080 strcat (buf, " prepend-assignment"); 1081 # endif 1082 # if defined (KMK_HELPERS) 1072 1083 strcat (buf, " kb-src-tool kb-obj-base kb-obj-suff kb-src-prop kb-src-one"); 1073 1084 # endif
Note:
See TracChangeset
for help on using the changeset viewer.