pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1:   // -*- Pike -*-   //   // Master Control Program for Pike.   //   // This file is part of Pike. For copyright information see COPYRIGHT.   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.214 2002/08/10 22:41:25 per Exp $ + // $Id: master.pike.in,v 1.215 2002/08/10 23:56:52 nilsson Exp $      #pike __REAL_VERSION__      // Some programs destroys character pairs beginning with the currency   // symbol when running in chinese locale.   #if "ยค/" != "\244/"   #error "master.pike.in is corrupted."   #endif      // --- Some configurable parameters
pike.git/lib/master.pike.in:1593:    {    sscanf(b,"%s=%s",a,b);    a="="+a;    }    putenv(a, b);    }else{    werror("Broken environment var %s\n",a);    }    }    -  void _error(string a, void|mixed ... b) { +  void _error(string a, mixed ... b) {    werror(a, @b);    exit(1);    };      #ifndef NOT_INSTALLED    q=(getenv("PIKE_INCLUDE_PATH")||"")/":"-({""});    for(i=sizeof(q)-1;i>=0;i--) add_include_path(q[i]);       q=(getenv("PIKE_PROGRAM_PATH")||"")/":"-({""});    for(i=sizeof(q)-1;i>=0;i--) add_program_path(q[i]);       q=(getenv("PIKE_MODULE_PATH")||"")/":"-({""});    for(i=sizeof(q)-1;i>=0;i--) add_module_path(q[i]);   #endif    -  +  // Some configure scripts depends on this format.    string format_paths() {    return ("master.pike...: " + (_master_file_name || __FILE__) + "\n"    "Module path...: " + pike_module_path*"\n"    "" + "\n"    "Include path..: " + pike_include_path*"\n"    "" + "\n"    "Program path..: " + pike_program_path*"\n"    "" + "\n");    };