summaryrefslogtreecommitdiff
path: root/mkconfig.rb
AgeCommit message (Collapse)Author
2008-06-06Merge changes from ruby_1_8 to reduce warnings and potentially improveknu
security. * mkconfig.rb: hide build path from rbconfig.rb. * util.c (ruby_strtod, dtoa): initialize more variables for error handling. * io.c (rscheck), marshal.c (w_nbyte, w_bytes, w_unique), (path2class, path2module): constified. * pack.c (pack_unpack), process.c (rb_syswait): suppress warnings. * suppress warnings on cygwin, mingw and mswin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-29Merge from ruby_1_8.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27* mkconfig.rb: should not use the libraries under the source directorynobu
at cross compiling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-13* configure.in (AC_SYS_LARGEFILE): keep results also in commandnobu
options, to vail out of mismatch. [ruby-list:44114] * mkconfig.rb, lib/mkmf.rb (configuration): add DEFS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-28* mkconfig.rb (patchlevel): read from version.h.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-27* merge -c 11918shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-30* mkconfig.rb: autoconf 2.61 support. [ruby-core:10016]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-21* instruby.rb, mkconfig.rb, rubytest.rb, bcc32/mkexports.rb, ↵nobu
win32/{resource,mkexports}.rb: set executable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-15* mkconfig.rb: *OBJS are not needed for extension libraries.nobu
* {bcc32,wince,win32}/Makefile.sub (config.status): fixed typo, missing comma. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-08* Makefile.in, win32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.nobu
* mkconfig.rb, ext/extmk.rb, lib/mkmf.rb, win32/mkexports.rb: suppress warnings with $VERBOSE. * win32/resource.rb: add more info. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-25* Makefile.in, mkconfig.rb: catch-up for latest autoconf.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-02* lib/forwardable.rb: RDoc typo fix from Jan Svitokmatz
<jan.svitok at gmail.com>. [ruby-core:07943] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-24* mkconfig.rb: merge multiple entries to an entry with multiple lines.nobu
* lib/mkmf.rb: allow a series of commands to link. * win32/Makefile.sub: embed manifests. * win32/setup.mak: suffix OS name by runtime version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20* mkconfig.rb: alias RbConfig for Config.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-10* Makefile.in (OUTFLAG): keep trailing spaces. [ruby-dev:27666]nobu
* mkconfig.rb: substitution refereces added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-16* configure.in (RUBY_PROG_INSTALL): not add -p option to INSTALL.nobu
files need timestamps to be kept are only ar-archive on a few platforms, and be installed by instruby.rb but not INSTALL. fixed: [ruby-core:04721] * mkconfig.rb: purge autoconf value variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-02* configure.in (CP, INSTALL): get rid of less portable options.nobu
* lib/mkmf.rb (configuration, create_makefile): correct configuration variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06* mkconfig.rb: no longer embed srcdir and compile_dir intonobu
rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-05* lib/shell/command-processor.rb (Shell::CommandProcessor::rmdir):matz
simple typo. * string.c (str_new4): ptr may refer null_str. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-27* mkconfig.rb: initialize global variables to avoid warnings.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-09* mkconfig.rb: support text-mount on Cygwin.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-04-09* regex.c (re_compile_pattern): /[\--\-]/ was warned. warn /]/.akr
* mkconfig.rb: escape `]' in regexp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31* Makefile.in, {win32,bcc32}/Makefile.sub: add new target:eban
what-where, no-install. * mkconfig.rb: add const: CROSS_COMPILING. * ext/extmk.rb: no-install support. add MAKEDIRS macro. * lib/mkmf.rb: add !ifdef .. !endif for Borland make. * process.c: improve DJGPP support. system "ls", "-l". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-27* moved a blank line.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-27* fixed generator script name.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-23* configure.in (LIBPATHFLAG): should escape $. [ruby-dev:18572]nobu
* mkconfig.rb: never substute escaped $$. * instruby.rb: not install LIBRUBY_SO unless enable-shared. [ruby-dev:18569] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-21* configure.in (XCFLAGS): CFLAGS to comile ruby itself.nobu
* configure.in (LIBEXT): suffix for static libraries. * configure.in (LIBPATHFLAG): switch template to specify library path. * configure.in (LINK_SO): command to link shared objects. * configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent files. * configure.in (EXPORT_PREFIX): prefix to exported symbols on Windows. * configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS): libraries, macros and headers used in common. * configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode excutable name. * Makefile.in (CFLAGS): append XCFLAGS. * Makefile.in (PREP): miscellaneous system dependent files. * Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb. * Makefile.in (fake.rb): CROSS_COMPILING keeps building platform. * Makefile.in (MAKEFILES): depend on *.in and config.status. * Makefile.in (parse.c): replace "y.tab.c" with actual name for byacc. * ext/extmk.rb, lib/mkmf.rb: integrated. * ext/extmk.rb: propagate MFLAGS. * ext/extmk.rb (extmake): make dummy Makefile to clean even if no Makefile is made. * lib/mkmf.rb (older): accept multiple file names and Time objects. * lib/mkmf.rb (xsystem): split and qoute. * lib/mkmf.rb (cpp_include): make include directives. * lib/mkmf.rb (try_func): try wheather specified function is available. * lib/mkmf.rb (install_files): default to site-install. * lib/mkmf.rb (checking_for): added. * lib/mkmf.rb (find_executable0): just find executable file with no message. * lib/mkmf.rb (create_header): output header file is variable. * lib/mkmf.rb (create_makefile): separate sections. * lib/mkmf.rb (init_mkmf): initialize global variables. * win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added. * bcc32/Makefile.sub (ARCH): fixed to i386. * win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not link EXTOBJS. * ext/dl/extconf.rb: use try_cpp to cross compile. * ext/dl/extconf.rb: not modify files in source directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-15* configure.in (OUTFLAG, CPPOUTFILE): moved from lib/mkmf.rb.eban
check whether ${CPP} accepts the -o option. * win32/Makefile.sub (OUTFLAG, CPPOUTFILE): ditto. * bcc32/Makefile.sub (OUTFLAG, CPPOUTFILE): ditto. * djgpp/config.sed (OUTFLAG, CPPOUTFILE): ditto. * lib/mkmf.rb (OUTFLAG, CPPOUTFILE): use CONFIG. make easy to understand log. * mkconfig.rb (val): should not strip. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-23* configure.in: RUBY_SO_NAME is msvcrt-rubyXX on mswin32/mingw32.eban
* configure.in (sitearch): new var. * mkconfig.rb, lib/mkmf.rb (sitearch): ditto. * win32/Makefile.sub, win32/setup.mak (sitearch): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-29* mkconfig.rb: unexpected `"ruby".sub("$","17") == "ruby"'gotoken
because of recent change in string.c:get_pat(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-20* mkconfig.rb: close duplicated $stdout before renaming rbconfig.rb.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-20* mkconfig.rb: don't touch rbconfig.rb if there is a trouble.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-17* mkconfig.rb (Config::expand): expand ${} too.nobu
* ext/extmk.rb.in (try_link0): expand command. * ext/extmk.rb.in (try_cpp): ditto. * ext/extmk.rb.in (extmake): default $LIBPATH to $libdir git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-11-13* signal.c (sighandle): should not re-register sighandler ifmatz
POSIX_SIGNAL is defined. * eval.c (error_print): errat array may be empty. * eval.c (rb_eval_cmd): should not upgrade safe level unless explicitly specified by argument newly added. * signal.c (sig_trap): should not allow tainted trap closure. * variable.c (rb_f_trace_var): should not allow trace_var on safe level higher than 3. * variable.c (rb_f_trace_var): should not allow tainted trace closure. * gc.c: do not use static stack until system stack overflows. * eval.c (eval): should call Exception#exception instead of calling rb_exc_new3() directly. * error.c (exc_exception): set "mesg" directly to the clone. it might be better to set mesg via some method for flexibility. * variable.c (cvar_override_check): should print original module name, if 'a' is T_ICLASS. * parse.y (yylex): float '1_.0' should not be allowed. * variable.c (var_getter): should care about var as Qfalse (ruby-bugs#PR199). * array.c (cmpint): <=> or block for {min,max} may return bignum. * array.c (sort_1): use rb_compint. * array.c (sort_2): ditto. * enum.c (min_ii): ditto. * enum.c (min_ii): ditto. * enum.c (max_i): ditto. * enum.c (max_ii): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-11-08* file.c (path_check_1): forgot to initialize 'p'.matz
* mkconfig.rb: use String#dump to generate Ruby string literal. * range.c (range_eql): should override 'eql?' * array.c (rb_ary_hash): should override 'hash' too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-08-20* ext/digest/sha2/extconf.rb: fix support for cross-compiling.eban
* mkconfig.rb: fix support for autoconf 2.52. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-31* mkconfig.rb, ext/configsub.rb: VERSION -> RUBY_VERSION.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-25* mkconfig.rb: typo.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-24* mkconfig.rb: autoconf 2.50 support.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-07* parse.y (arg): "||=" should not warn for uninitialized instancematz
variables. * eval.c (rb_eval): ditto. * eval.c (eval): preserve and restore ruby_cref as well. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-22* mkconfig.rb: autoconf 2.49 support.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-17* mkconfig.rb: remove DEFS definition.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-12-28changes from personal modifies -- matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-09-27ebaneban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-03matz - nakada win32 patchmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-07-31ebaneban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-07-31matz - biorhythm.rbmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-06-192000-06-19eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1999-12-0219991292matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1999-08-131.4.0matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e