aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mkmf.rb
Commit message (Collapse)AuthorAgeFilesLines
* * lib/mkmf.rb (create_makefile): fix for parallel execution.nobu2009-09-101-4/+5
| | | | | | | [ruby-core:25509] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (rm_f, rm_rf): pass the last hash through if exists.nobu2009-08-211-2/+4
| | | | | | | [ruby-dev:39153] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (check_sizeof): added optional compiler optionnobu2009-08-061-7/+9
| | | | | | | | | | argument. [ruby-core:24785] * lib/mkmf.rb (create_makefile): suppressed shadowing outer local variable warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (#link_command): should dup CONFTEST_C which ismatz2009-06-041-1/+1
| | | | | | frozen. ref [ruby-core:23675]. [ruby-core:23702] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): checks for duplication of sourcenobu2009-05-311-10/+12
| | | | | | | files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Tue May 26 11:01:41 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>takano322009-05-261-2/+2
| | | | | | | | * lib/mkmf.rb: use map! to replace strings in $objs array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mon May 25 13:27:32 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>takano322009-05-251-1/+1
| | | | | | | | * lib/mkmf.rb: dont use gsub! method for frozen string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (SRC_EXT): should be flat.nobu2009-05-171-1/+1
| | | | | | http://twitter.com/_tad_/status/1825862632 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_link0): removes waste dSYM directories leftnobu2009-05-081-1/+14
| | | | | | | when debug and universal-binary are enabled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (check_sizeof): fixed wrong recuring result fornobu2009-05-081-4/+8
| | | | | | | intrinsic types. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in, win32/Makefile.sub (RUBY_BASE_NAME):nobu2009-05-081-0/+1
| | | | | | | | | | program base name. [ruby-dev:38241] * configure.in (--with-soname): base name of shared library. [ruby-dev:38290] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): needs default library path even ifnobu2009-04-211-1/+1
| | | | | | | cross compiling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (what_type?): fixed typo, and refined for member ofnobu2009-04-081-25/+51
| | | | | | | aggregation types. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (Logging.postpone): copy postponed output always.nobu2009-04-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (what_type?): fixed typo.nobu2009-04-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): support for parallel make. anobu2009-04-011-1/+1
| | | | | | | patch from Takuto Matsuu at [ruby-dev:38220]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (link_command, cc_command, cpp_command): should notnobu2009-03-271-3/+0
| | | | | | | override extout defined in extmk.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (what_type?): checks more restrictively, andnobu2009-03-271-15/+31
| | | | | | | supports universal binary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_SIZEOF): allows qualified name.nobu2009-03-191-6/+17
| | | | | | | | | | | | | | * configure.in (RUBY_REPLACE_TYPE): checks more strictly. * configure.in (struct stat.st_size, struct stat.st_blocks), (struct stat.st_ino): check for size. * lib/mkmf.rb (check_sizeof): allows qualified name. * file.c (rb_stat_ino, rb_stat_blocks): check by size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (CXX_EXT): checks for case-sensitive filesystem withnobu2009-03-141-10/+10
| | | | | | | FNM_SYSCASE rather than build_os. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {ext,lib,test}/**/*.rb: removed trailing spaces.nobu2009-03-061-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake), lib/mkmf.rb (create_makefile): $objs andnobu2009-03-031-3/+2
| | | | | | | $srcs are always Array or nil now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): use un.rb as cp instead ofusa2009-02-251-1/+1
| | | | | | | | | | | cmd.exe's copy command. * lib/mkmf.rb (create_makefile): no longer need to convert path separator when copying file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): added phony targets.nobu2009-02-191-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): removes directories in the depthnobu2009-02-191-2/+1
| | | | | | | order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): creates target directories beforenobu2009-02-191-2/+1
| | | | | | | copying. [ruby-core:21958] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_header): needs dependent headers if trying tonobu2009-02-071-2/+2
| | | | | | | | | compile. * ext/socket/extconf.rb: net/if.h depends on other headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_header): checks the header depending onnobu2009-01-271-3/+7
| | | | | | | | | | | | platform. * lib/mkmf.rb (have_header, find_header): use try_header. * win32/Makefile.sub (try_header): uses try_compile to get rid of slow -E option of VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (distclean-enc, realclean-enc): do not call clean ofnobu2009-01-271-2/+2
| | | | | | | | | | | | | | | | | | | enc.mk twice or more. * enc/depend (cleanobjs): added deffile. * lib/mkmf.rb (create_makefile): removes deffile at clean instead of distclean. * win32/Makefile.sub (miniruby, LIBRUBY_SO): removes lib and exp files. * win32/Makefile.sub (clean, distclean): have moved to common.mk. * win32/rmdirs.bat: omits `not empty' message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): should point correct path tomatz2009-01-261-1/+1
| | | | | | ruby.h and defines.h. [ruby-core:21570] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile):fixed the variables order becausenobu2009-01-251-1/+1
| | | | | | | converter proc refers the separator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, win32/Makefile.sub (RMDIRS): remove directory andnobu2009-01-251-25/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parents. * Makefile.in, win32/Makefile.sub (distclean-rdoc): added to remove temprary rdoc. * Makefile.in, win32/Makefile.sub (distclean): removes extout directory. * Makefile.in, win32/Makefile.sub (clean-ext): skips non-existent directories. * common.mk (clean, distclean): cleans rdoc. * configure.in (RMDIRS, RMALL): added to clean extout. * lib/fileutils.rb (FileUtils#rmdir): added :parents option. * lib/mkmf.rb (create_makefile): cleans installed files at clean instead of distclean. * lib/mkmf.rb (create_makefile): added clean-so and clean-rb. * lib/mkmf.rb (def init_mkmf): added DISTCLEANDIRS. * lib/un.rb (rmdir): added -p option. * tool/rmdirs, win32/rmdirs.bat: removes directory and the parents. * win32/rm.bat: added -r option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (configuration): tools under the top sourcenobu2009-01-231-6/+6
| | | | | | | directory are not installed, so unusable outside extmk.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (configuration): leaves PATH_SEPARATOR unchanged.nobu2009-01-231-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (mkintpath): new function which converts native pathnobu2009-01-231-3/+26
| | | | | | | | | | | to format acceptable in Makefile. * lib/mkmf.rb (configuration): convers srcdir, topdir and hdrdir. a patch by Alexey Borzenkov <snaury AT gmail.com> at [ruby-core:21448]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_func): got rid of c-mode confusion.nobu2009-01-231-6/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): removes installed files undernobu2009-01-221-6/+8
| | | | | | | extout at distclean. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): does not use both of makefile.rb andnobu2009-01-041-1/+3
| | | | | | | | | extconf.rb at the same time. * lib/mkmf.rb (DLLIB): depends on Makefile. [ruby-core:21096] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (Makefile): removes GNU make specific files onnobu2008-12-241-1/+5
| | | | | | | | | | | distclean. * Makefile.in (distclean-ext): removes extension directories. * lib/mkmf.rb (try_do): removes conftest.dSYM git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_tmpsrc): get rid of side effects.nobu2008-10-221-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (CLEANINGS): uses escaped form tabs to preventing thenobu2008-10-111-9/+9
| | | | | | | confusion. [ruby-talk:317345] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($config_h): now always defines for old libraries.nobu2008-10-051-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * djgpp/GNUmakefile.in: removed. Ruby no longer supports djgpp.yugui2008-10-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * djgpp/README.djgpp: ditto. * djgpp/config.hin: ditto. * djgpp/config.sed: ditto. * djgpp/configure.bat: ditto. * djgpp/mkver.sed: ditto. * ext/Setup.dj: ditto. * dln.c: removed djgpp supports. * file.c: ditto. * gc.c: ditto. * io.c: ditto. * process.c: ditto. * ruby.c: ditto. * signal.c: ditto. * util.c: ditto. * vm_core.h: ditto. * lib/fileutils.rb: ditto. * lib/mkmf.rb: ditto. * ext/socket/socket.c: ditto. * test/fileutils/test_fileutils.rb: ditto. * test/ruby/test_env.rb: ditto. * test/ruby/test_path.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * x68/_dtos18.c: removed. Ruby no longer supports human68k.yugui2008-10-041-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * x68/_round.c: ditto. * x68/fconvert.c: ditto. * x68/select.c: ditto. * ext/Setup.x68: ditto. * missing/x68.c: ditto. * dln.c (dln_find_exe_r): removed human68k supports. (dln_find_1): ditto. * lib/mkmf.rb: ditto. * ext/extmk.rb (Init_ext): ditto. * ext/socket/socket.c (init_sock): ditto. * gc.c (GC_MALLOC_LIMIT): ditto. (rb_setjmp, rb_jmpbuf): ditto. (mark_current_machine_context): ditto. * include/ruby/defines.h (PATH_ENV): ditto. * io.c: ditto. * process.c: ditto. * ruby.c: ditto. * test/ruby/test_env.rb: ditto. * test/ruby/test_path.rb: ditto. * LEGAL git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (distclean): added RM_RF conftest.dSYM.yugui2008-09-011-0/+2
| | | | | | | Fixes distclean-ext problem on Mac OS X. (RM_RF): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_devel?): checks if the compiler works.nobu2008-08-311-10/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (Logging.log_open): opens in binary mode to get rid ofnobu2008-08-311-4/+7
| | | | | | | extra CR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_func, try_var, have_struct_member),nobu2008-08-311-6/+7
| | | | | | | | | | | (scalar_ptr_type?, scalar_type?): use MAIN_DOES_NOTHING. * lib/mkmf.rb (MAIN_DOES_NOTHING): defaults to ordinary main. * win32/Makefile.sub (config): for MAIN_DOES_NOTHING for wince. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: not check config.h.nobu2008-08-171-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): add include/ruby/backward to $INCFLAGS.nobu2008-08-171-1/+3
| | | | | | | | * include/ruby/backward/{st,util}.h: added for backward compatibility. [ruby-dev:35811] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e