Ignore:
Timestamp:
Mar 17, 2008, 11:21:36 PM (17 years ago)
Author:
bird
Message:

Implemented local variable definitions - CONFIG_WITH_LOCAL_VARIABLES.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/function.c

    r1387 r1408  
    6262#ifdef __OS2__
    6363# define CONFIG_WITH_OS2_LIBPATH 1
    64 #endif 
     64#endif
    6565#ifdef CONFIG_WITH_OS2_LIBPATH
    6666# define INCL_BASE
     
    571571        o = variable_buffer_output (o, "automatic", 9);
    572572        break;
     573#ifdef CONFIG_WITH_LOCAL_VARIABLES
     574      case o_local:
     575        o = variable_buffer_output (o, "local", 5);
     576        break;
     577#endif
    573578      }
    574579
     
    33383343/* Sets or gets the OS/2 libpath variables.
    33393344
    3340    The first argument indicates which variable - BEGINLIBPATH, 
    3341    ENDLIBPATH, LIBPATHSTRICT or LIBPATH. 
    3342 
    3343    The second indicates whether this is a get (not present) or 
     3345   The first argument indicates which variable - BEGINLIBPATH,
     3346   ENDLIBPATH, LIBPATHSTRICT or LIBPATH.
     3347
     3348   The second indicates whether this is a get (not present) or
    33443349   set (present) operation. When present it is the new value for
    33453350   the variable. */
     
    34083413      if (len >= len_max)
    34093414        {
    3410           error (NILF, _("$(libpath): The new `%s' value is too long (%d bytes, max %d)"), 
     3415          error (NILF, _("$(libpath): The new `%s' value is too long (%d bytes, max %d)"),
    34113416                 argv[0], len, len_max);
    34123417          return variable_buffer_output (o, "", 0);
     
    35413546#ifdef CONFIG_WITH_OS2_LIBPATH
    35423547  { STRING_SIZE_TUPLE("libpath"),       1,  2,  1,  func_os2_libpath},
    3543 #endif 
     3548#endif
    35443549#ifdef KMK_HELPERS
    35453550  { STRING_SIZE_TUPLE("kb-src-tool"),   1,  1,  0,  func_kbuild_source_tool},
Note: See TracChangeset for help on using the changeset viewer.