Branch: Tag:

2003-10-30

2003-10-30 17:24:36 by H. William Welliver III <bill@welliver.org>

added system_module_path to master
added query option system_module_path to -x module
provides the preferred module path, lib then shared

Rev: lib/master.pike.in:1.307
Rev: lib/modules/Tools.pmod/Standalone.pmod/module.pike:1.18

6:   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.306 2003/10/08 19:59:02 mast Exp $ + // $Id: master.pike.in,v 1.307 2003/10/30 17:24:35 bill Exp $      #pike __REAL_VERSION__   
980:   #if "¤include_prefix¤"[0]!='¤'    include_prefix = "¤include_prefix¤";   #endif +  system_module_path=pike_module_path;   }      
1723:    //! Lookup from handler module to corresponding root_module.    mapping(object:joinnode) handler_root_modules = ([]);    +  array(string) system_module_path=({}); +  +  //! The complete module search path    array(string) pike_module_path=({}); -  +  +  //! The complete include search path    array(string) pike_include_path=({}); -  +  +  //! The complete program search path    array(string) pike_program_path=({}); -  +     mapping(string:string) predefines = ([]);    string ver;   
2099:    exit(1);    };    +    #ifndef NOT_INSTALLED    {    array parts = (getenv("PIKE_INCLUDE_PATH")||"")/PATH_SEPARATOR-({""});