# This file was created by mkconfig.rb when ruby was built. Any # changes made to this file will be lost the next time ruby is built. module Config RUBY_VERSION == "1.8.6" or raise "ruby lib version (1.8.6) doesn't match executable version (#{RUBY_VERSION})" TOPDIR = File.dirname(__FILE__).chomp!("/lib/ruby/1.8/mipsallegrexel-elf") DESTDIR = '' unless defined? DESTDIR CONFIG = {} CONFIG["DESTDIR"] = DESTDIR CONFIG["INSTALL"] = '/bin/install -c' CONFIG["prefix"] = "" CONFIG["EXEEXT"] = "" CONFIG["ruby_install_name"] = "ruby" CONFIG["RUBY_INSTALL_NAME"] = "ruby" CONFIG["RUBY_SO_NAME"] = "ruby" CONFIG["SHELL"] = "/bin/sh" CONFIG["PATH_SEPARATOR"] = ":" CONFIG["PACKAGE_NAME"] = "" CONFIG["PACKAGE_TARNAME"] = "" CONFIG["PACKAGE_VERSION"] = "" CONFIG["PACKAGE_STRING"] = "" CONFIG["PACKAGE_BUGREPORT"] = "" CONFIG["exec_prefix"] = "$(prefix)" CONFIG["bindir"] = "/ruby/bin" CONFIG["sbindir"] = "/ruby/sbin" CONFIG["libexecdir"] = "$(exec_prefix)/libexec" CONFIG["datarootdir"] = "$(prefix)/share" CONFIG["datadir"] = "$(datarootdir)" CONFIG["sysconfdir"] = "/ruby/etc" CONFIG["sharedstatedir"] = "/ruby/com" CONFIG["localstatedir"] = "/ruby/var" CONFIG["includedir"] = "/ruby/include" CONFIG["oldincludedir"] = "/usr/include" CONFIG["docdir"] = "$(datarootdir)/doc/$(PACKAGE)" CONFIG["infodir"] = "$(datarootdir)/info" CONFIG["htmldir"] = "$(docdir)" CONFIG["dvidir"] = "$(docdir)" CONFIG["pdfdir"] = "$(docdir)" CONFIG["psdir"] = "$(docdir)" CONFIG["libdir"] = "" CONFIG["localedir"] = "$(datarootdir)/locale" CONFIG["mandir"] = "$(datarootdir)/man" CONFIG["ECHO_C"] = "" CONFIG["ECHO_N"] = "-n" CONFIG["ECHO_T"] = "" CONFIG["LIBS"] = "-lm -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel" CONFIG["build_alias"] = "" CONFIG["host_alias"] = "psp" CONFIG["target_alias"] = "" CONFIG["MAJOR"] = "1" CONFIG["MINOR"] = "8" CONFIG["TEENY"] = "6" CONFIG["build"] = "i686-pc-linux-gnulibc1" CONFIG["build_cpu"] = "i686" CONFIG["build_vendor"] = "pc" CONFIG["build_os"] = "linux-gnulibc1" CONFIG["host"] = "mipsallegrexel-psp-elf" CONFIG["host_cpu"] = "mipsallegrexel" CONFIG["host_vendor"] = "psp" CONFIG["host_os"] = "elf" CONFIG["target"] = "mipsallegrexel-psp-elf" CONFIG["target_cpu"] = "mipsallegrexel" CONFIG["target_vendor"] = "psp" CONFIG["target_os"] = "elf" CONFIG["CC"] = "psp-gcc" CONFIG["CFLAGS"] = "-I. -I/opt/pspdev/psp/sdk/include -O2 -G0 -D_PSP_FW_VERSION=150 -D_PSP_=1 " CONFIG["LDFLAGS"] = "-L. -L/opt/pspdev/psp/sdk/lib" CONFIG["CPPFLAGS"] = "" CONFIG["OBJEXT"] = "o" CONFIG["CPP"] = "psp-gcc -E" CONFIG["GREP"] = "/bin/grep" CONFIG["EGREP"] = "/bin/grep -E" CONFIG["GNU_LD"] = "yes" CONFIG["CPPOUTFILE"] = "-o conftest.i" CONFIG["OUTFLAG"] = "-o " CONFIG["YACC"] = "bison -y" CONFIG["YFLAGS"] = "" CONFIG["RANLIB"] = "psp-ranlib" CONFIG["AR"] = "psp-ar" CONFIG["AS"] = "psp-as" CONFIG["ASFLAGS"] = "" CONFIG["NM"] = "" CONFIG["WINDRES"] = "" CONFIG["DLLWRAP"] = "" CONFIG["OBJDUMP"] = "" CONFIG["LN_S"] = "ln -s" CONFIG["SET_MAKE"] = "" CONFIG["INSTALL_PROGRAM"] = "$(INSTALL)" CONFIG["INSTALL_SCRIPT"] = "$(INSTALL)" CONFIG["INSTALL_DATA"] = "$(INSTALL) -m 644" CONFIG["RM"] = "rm -f" CONFIG["CP"] = "cp" CONFIG["MAKEDIRS"] = "mkdir -p" CONFIG["ALLOCA"] = "" CONFIG["DLDFLAGS"] = "" CONFIG["ARCH_FLAG"] = "" CONFIG["STATIC"] = "" CONFIG["CCDLFLAGS"] = " -fPIC" CONFIG["LDSHARED"] = "ld" CONFIG["DLEXT"] = "so" CONFIG["DLEXT2"] = "" CONFIG["LIBEXT"] = "a" CONFIG["LINK_SO"] = "" CONFIG["LIBPATHFLAG"] = " -L'%1$-s'" CONFIG["RPATHFLAG"] = " -Wl,-R'%1$-s'" CONFIG["LIBPATHENV"] = "LD_LIBRARY_PATH" CONFIG["TRY_LINK"] = "" CONFIG["STRIP"] = "strip" CONFIG["EXTSTATIC"] = "" CONFIG["setup"] = "Setup" CONFIG["MINIRUBY"] = "ruby -I/home/kilian/PSP/ruby/ruby-1.8.6 -rfake" CONFIG["PREP"] = "fake.rb" CONFIG["RUNRUBY"] = "$(MINIRUBY) -I`cd $(srcdir)/lib; pwd`" CONFIG["EXTOUT"] = ".ext" CONFIG["ARCHFILE"] = "" CONFIG["RDOCTARGET"] = "" CONFIG["XCFLAGS"] = " -DRUBY_EXPORT" CONFIG["XLDFLAGS"] = " -L." CONFIG["LIBRUBY_LDSHARED"] = "ld" CONFIG["LIBRUBY_DLDFLAGS"] = "" CONFIG["rubyw_install_name"] = "" CONFIG["RUBYW_INSTALL_NAME"] = "" CONFIG["LIBRUBY_A"] = "lib$(RUBY_SO_NAME)-static.a" CONFIG["LIBRUBY_SO"] = "lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR).$(TEENY)" CONFIG["LIBRUBY_ALIASES"] = "lib$(RUBY_SO_NAME).so" CONFIG["LIBRUBY"] = "$(LIBRUBY_A)" CONFIG["LIBRUBYARG"] = "$(LIBRUBYARG_STATIC)" CONFIG["LIBRUBYARG_STATIC"] = "-l$(RUBY_SO_NAME)-static" CONFIG["LIBRUBYARG_SHARED"] = "-Wl,-R -Wl,$(libdir) -L$(libdir) -L. " CONFIG["SOLIBS"] = "" CONFIG["DLDLIBS"] = " -lc" CONFIG["ENABLE_SHARED"] = "no" CONFIG["MAINLIBS"] = "" CONFIG["COMMON_LIBS"] = "" CONFIG["COMMON_MACROS"] = "" CONFIG["COMMON_HEADERS"] = "" CONFIG["EXPORT_PREFIX"] = "" CONFIG["MAKEFILES"] = "Makefile" CONFIG["arch"] = "mipsallegrexel-elf" CONFIG["sitearch"] = "mipsallegrexel-elf" CONFIG["sitedir"] = "/ruby/site_ruby" CONFIG["configure_args"] = " 'CC=psp-gcc' 'CFLAGS=-I. -I/opt/pspdev/psp/sdk/include -O2 -G0 -D_PSP_FW_VERSION=150 -D_PSP_=1 ' 'LDFLAGS=-L. -L/opt/pspdev/psp/sdk/lib' 'LIBS=-lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel' '--host=psp' '--config-cache' 'host_alias=psp'" CONFIG["NROFF"] = "/usr/bin/nroff" CONFIG["MANTYPE"] = "doc" CONFIG["ruby_version"] = "$(MAJOR).$(MINOR)" CONFIG["rubylibdir"] = "/ruby/$(ruby_version)" CONFIG["archdir"] = "$(rubylibdir)/$(arch)" CONFIG["sitelibdir"] = "$(sitedir)/$(ruby_version)" CONFIG["sitearchdir"] = "$(sitelibdir)/$(sitearch)" CONFIG["topdir"] = File.dirname(__FILE__) MAKEFILE_CONFIG = {} CONFIG.each{|k,v| MAKEFILE_CONFIG[k] = v.dup} def Config::expand(val, config = CONFIG) val.gsub!(/\$\$|\$\(([^()]+)\)|\$\{([^{}]+)\}/) do |var| if !(v = $1 || $2) '$' elsif key = config[v = v[/\A[^:]+(?=(?::(.*?)=(.*))?\z)/]] pat, sub = $1, $2 config[v] = false Config::expand(key, config) config[v] = key key = key.gsub(/#{Regexp.quote(pat)}(?=\s|\z)/n) {sub} if pat key else var end end val end CONFIG.each_value do |val| Config::expand(val) end end RbConfig = Config # compatibility for ruby-1.9 CROSS_COMPILING = nil unless defined? CROSS_COMPILING