/[make]/make/read.c
ViewVC logotype

Diff of /make/read.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.152 by psmith, Wed Oct 26 16:06:30 2005 UTC revision 1.153 by bosk, Mon Nov 14 15:31:13 2005 UTC
# Line 2917  construct_include_path (char **arg_dirs) Line 2917  construct_include_path (char **arg_dirs)
2917    
2918    dirs[idx] = 0;    dirs[idx] = 0;
2919    
2920    /* Now compute the maximum length of any name in it.  */    /* Now compute the maximum length of any name in it. Also add each
2921         dir to the .INCLUDE_DIRS variable.  */
2922    
2923    max_incl_len = 0;    max_incl_len = 0;
2924    for (i = 0; i < idx; ++i)    for (i = 0; i < idx; ++i)
# Line 2930  construct_include_path (char **arg_dirs) Line 2931  construct_include_path (char **arg_dirs)
2931          dirs[i] = savestring (dirs[i], len - 1);          dirs[i] = savestring (dirs[i], len - 1);
2932        if (len > max_incl_len)        if (len > max_incl_len)
2933          max_incl_len = len;          max_incl_len = len;
2934    
2935          /* Append to .INCLUDE_DIRS.   */
2936          do_variable_definition (NILF, ".INCLUDE_DIRS", dirs[i],
2937                                  o_default, f_append, 0);
2938      }      }
2939    
2940    include_directories = dirs;    include_directories = dirs;

Legend:
Removed from v.1.152  
changed lines
  Added in v.1.153

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26