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.448 2008/06/29 11:20:05 agehall Exp $ + // $Id: master.pike.in,v 1.449 2008/06/29 12:21:52 agehall Exp $      #pike __REAL_VERSION__   //#pragma strict_types      // Some programs destroys character pairs beginning with the currency   // symbol when running in chinese locale.   #if "¤/" != "\244/"   #error "master.pike.in is corrupted."   #endif   
pike.git/lib/master.pike.in:1883:    "putenv",      #ifdef GETCWD_CACHE    "cd",    "getcwd",   #endif   });      enum bool { false=0, true=1 };    - //! Prefix for Pike-related Pike header files. + //! Prefix for Pike-related C header files.   string include_prefix;      //! Prefix for autodoc files.   string doc_prefix;      //! Flags suitable for use when compiling Pike C modules   string cflags;      //! Flags suitable for use when linking Pike C modules - string ldflags; + string ldflags; // Not yet used      //! @decl int strlen(string|multiset|array|mapping|object thing)   //! @appears strlen   //! Alias for @[sizeof].   //! @deprecated sizeof      //! @decl int write(string fmt, mixed ... args)   //! @appears write   //! Writes a string on stdout. Works just like @[Stdio.File.write]   //! on @[Stdio.stdout].
pike.git/lib/master.pike.in:1951:    add_include_path("¤share_prefix¤/include");    add_module_path("¤share_prefix¤/modules");   #endif      #if "¤lib_prefix¤"[0]!='¤'    // add path for architecture-dependant files    add_include_path("¤lib_prefix¤/include");    add_module_path("¤lib_prefix¤/modules");   #endif    + #if "¤cflags¤ "[0]!='¤' +  cflags = "¤cflags¤"; + #endif +  + #if "¤ldflags¤ "[0]!='¤' +  ldflags = "¤ldflags¤"; + #endif +    #if "¤include_prefix¤"[0]!='¤'    include_prefix = "¤include_prefix¤"; -  +  cflags = (cflags || "") + " -I" + include_prefix;   #endif -  +    #if "¤doc_prefix¤"[0]!='¤'    doc_prefix = "¤doc_prefix¤";   #endif    -  cflags = "¤cflags¤"; -  ldflags = "¤ldflags¤"; -  +    #if constant(__embedded_resource_directory)    // for use with embedded interpreters    // add path for architecture-dependant files    add_include_path(__embedded_resource_directory + "/lib/include");    add_module_path(__embedded_resource_directory + "/lib/modules");    add_module_path(__embedded_resource_directory + "/" + replace(uname()->machine, " ", "_") + "/modules");      #endif       system_module_path=pike_module_path;