summaryrefslogtreecommitdiffstats
path: root/lib/mkmf.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/mkmf.rb (create_makefile): need to convert path separetorusa2005-08-051-1/+11
| | | | | | | before invoking install command. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: keep curdir unexpanded.nobu2005-07-121-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): add .SUFFIXES from depend file.nobu2005-06-071-2/+9
| | | | | | | fixed: [ruby-dev:26294] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: use the semicolon as the path separatoreban2005-05-271-5/+9
| | | | | | | in the environment of MSYS. fixed: [ruby-dev:26232] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: keep srcdir unexpanded.nobu2005-05-131-4/+4
| | | | | | | | | | | | * lib/mkmf.rb (create_makefile): quote topdir and hdrdir if necessary. fixed: [ruby-core:04932] * lib/mkmf.rb (configuration), {bcc32,win32,wince}/Makefile.sub: make also INSTALL_PROG and INSTALL_DATA system dependent. fixed: [ruby-core:04931] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_var): no libs argument is given.nobu2005-05-071-2/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, lib/mkmf.rb, {bcc32,win32,wince}/Makefile.sub: improvenobu2005-04-201-1/+7
| | | | | | | C++ support. [ruby-dev:26089] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): support platforms have file separatornobu2005-04-201-1/+11
| | | | | | | | | | | | other than /. * {bcc32,win32,wince}/Makefile.sub (BUILD_FILE_SEPARATOR): separator of building platform. * {bcc32,win32,wince}/Makefile.sub (CP, INSTALL): use COPY command. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (configuration): shouldn't output hdrdir twice.usa2005-04-111-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): hdrdir needs to be defined also innobu2005-04-081-2/+2
| | | | | | | | | | Config::CONFIG. * lib/mkmf.rb (configuration, create_makefile): get rid of recursive macro reference. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): keep directory names in Makefile as macros.nobu2005-04-071-7/+8
| | | | | | | | | * lib/mkmf.rb (configuration, create_makefile): ditto. * lib/mkmf.rb (CXX_EXT): separate C++ extensions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): ensure library directories get madenobu2005-04-021-3/+4
| | | | | | | before copying libraries there. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (CP, INSTALL): get rid of less portable options.nobu2005-04-021-6/+6
| | | | | | | | * lib/mkmf.rb (configuration, create_makefile): correct configuration variable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (SRC_EXT): exclude just case different suffixes on casenobu2005-03-311-1/+5
| | | | | | | | | insensitive file system platforms. * README.EXT, README.EXT.ja (Appendix C): utility functions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (macro_defined?): try to compile for an old compilernobu2005-03-241-6/+13
| | | | | | | | | which doesn't bail out at #error directive. [ruby-dev:25818] * lib/mkmf.rb (check_sizeof): refine logging messages. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (mkmf_failed): check if Makefile is created withoutnobu2005-03-201-1/+1
| | | | | | | create_makefile. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): allow putting spaces between targetnobu2005-03-051-3/+3
| | | | | | | and colon in depend file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (mkmf_failed): fixed typo.kou2005-02-221-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, lib/mkmf.rb: use simple commands if available.nobu2005-02-221-16/+46
| | | | | | | | | | | | | * mkconfig.rb: remove autoconf internal variables from rbconfig.rb. * lib/mkmf.rb (create_makefile): substitute implicit rules in depend file. * {bcc32,win32,wince}/Makefile.sub (COMPILE_RULES, RULE_SUBST): include $(topdir) and $(hdrdir) to search path. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): reverted wrongly removed lines.nobu2005-02-191-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extract_makefile): remove no longer existing installednobu2005-02-191-22/+28
| | | | | | | | | files. * lib/mkmf.rb (install_dirs): return installation directory list. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): fix typo.usa2005-02-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub (COMMON_LIBS): add libraries included innobu2005-02-101-1/+11
| | | | | | | | | | | | | import32.lib. * lib/mkmf.rb (create_makefile): restrict prefixing with srcdir to rule lines, add search path to implicit rules, and set Borland make special macros for search path. * win32/win32.c, win32/win32.h (read): aboid a BCC runtime bug. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (with_cppflags, with_cflags, with_ldflags): keep flagsnobu2005-02-061-6/+6
| | | | | | | modified if the block returned true. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extract_makefile): extract previously collectednobu2005-02-061-50/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | informations from existing Makefile. * ext/socket/extconf.rb: check if getaddrinfo() works fine only when wide-getaddrinfo option is not given. fixed: [ruby-dev:25422] * ext/tk/extconf.rb: separate tkutil configuration. * lib/mkmf.rb ($extmk): check if under ext directory. * lib/mkmf.rb (Logging.postpone): allow recursive operation. * lib/mkmf.rb (try_constant): make sure if really a constant, reduce the number of times of compile. * lib/mkmf.rb (have_macro, have_var, byte_order): new functions. * lib/mkmf.rb (find_library): allow directory list with separators. * lib/mkmf.rb (arg_config): manage provided configuration options. * lib/mkmf.rb (dir_config): accept arrays of directory names as default values. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in: made EXTOUT configurable.nobu2005-01-311-2/+6
| | | | | | | | | * ext/extmk.rb (extmake), lib/mkmf.rb: keep topdir as relative style. * lib/mkmf.rb: make extensions in depth order. [ruby-dev:25522] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): create RUBYARCHDIR also when no extensionnobu2004-12-161-1/+2
| | | | | | | is installed. fixed: [ruby-dev:25215] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_spawn): support for DJGPP.eban2004-12-081-0/+3
| | | | | | | * lib/mkmf.rb (VPATH): specify the implicit path separator for DJGPP. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): install-rb is needed for staticallynobu2004-10-161-2/+1
| | | | | | | linked extensions. [ruby-dev:24491] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_delete): element comparison might change arraymatz2004-09-171-2/+2
| | | | | | | | | | | | | | | | size. [ruby-dev:24273] * parse.y: make ruby parser reentrant. merge ripper parser to the real one. this change makes ruby require bison. * file.c (rb_file_truncate): clear stdio buffer before truncating the file. [ruby-dev:24191] * ext/digest/digest.c: use rb_obj_class() instead of CLASS_OF which might return singleton class. [ruby-dev:24202] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/extconf.rb (find_tcl, find_tk): find stub library.nobu2004-08-201-2/+4
| | | | | | | | * lib/mkmf.rb (arg_config, with_config): deal with '-' and '_' uniformly. [ruby-dev:24118] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): Do not add $(libdir) to $LIBPATH inknu2004-07-131-3/+2
| | | | | | | | | | extmk mode. * lib/mkmf.rb (dir_config): Prepend a new library path instead of appending so it is tried first. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, lib/mkmf.rb (LIBPATHFLAG): use double quotes due tonobu2004-06-281-1/+1
| | | | | | | DOSISH compilers. [ruby-core:03107] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (libpathflag): should not quote here.nobu2004-06-261-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (libpathflag, find_header, dir_config): quote directorynobu2004-06-261-5/+4
| | | | | | | names if necessary. [ruby-talk:104505] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (check_sizeof): define result size. [ruby-core:02911]nobu2004-05-201-2/+2
| | | | | | | | * lib/mkmf.rb (create_header): macro name should not include equal sign. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_eq): alway check if operands are NaN.matz2004-05-201-1/+1
| | | | | | | | | | [ruby-list:39685] * lib/cgi/session.rb: use LOCK_SH to read, and a few other improvements. [ruby-core:02328] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_type): do not check pointer to incomplete type,nobu2004-05-201-2/+2
| | | | | | | | which always get compiled. [ruby-list:39683] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_type, check_sizeof): replace unusable characters.nobu2004-05-121-2/+2
| | | | | | | [ruby-talk:99788] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: $hdrdir should not contain macros, for backwardnobu2004-04-231-3/+3
| | | | | | | | | | compatibility. [bruby-dev:28] * lib/mkmf.rb (create_makefile): in the case of extout, just copy script files, without comparison. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): skip uncompiled extensions.nobu2004-04-081-5/+7
| | | | | | | | | | | | | | | | | | | | | * lib/mkmf.rb (create_makefile): emit no rules for static library if $static is nil, e.g., outside of ext/. * lib/test/unit/ui/console/testrunner.rb (test_started): show test name via $0. * runruby.rb: set environments to use the compiled binary. * test/runner.rb: do nothing while cross-compiling. * test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: use envutil to know ruby binary. * test/ruby/envutil.rb: give priority to RUBY environment variable to use just compiled binary and libraries. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): extract necessary variables for static linknobu2004-04-021-4/+6
| | | | | | | | | | from Makefile. * lib/mkmf.rb (create_makefile): save preload and libpath for next compile. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($ruby, $topdir, $hdrdir): should not be affected bynobu2004-03-241-7/+13
| | | | | | | | | DESTDIR after installed. * lib/mkmf.rb (dummy_makefile): default file lists to be cleaned. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):nobu2004-03-231-3/+4
| | | | | | | | | | | | | | | | | | separate files under directories due to directory separator. * */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be removed. * win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit rules. * cygwin/GNUmakefile.in: some mingw stuffs were missed. * lib/mkmf.rb (create_makefile): Borland make wrongly removes braces from command lines. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($beos, $solaris): add OS flags.usa2004-03-191-3/+6
| | | | | | | | | | * lib/mkmf.rb (RUBY): / is not recognized as path separator on nmake/bmake. [ruby-list:39388] * lib/mkmf.rb (CLEANLIBS, CLEANOBJS): should remove *.exp with *.so. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: no longer embed srcdir and compile_dir intonobu2004-03-181-8/+8
| | | | | | | | | | rbconfig.rb. * ext/extmk.rb, lib/mkmf.rb: obtain top_srcdir and topdir from library paths. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_noreturn): default for platforms not supportnobu2004-03-121-1/+8
| | | | | | | | | | | | | | prototypes. * ruby.c (ruby_init_loadpath): buffer for path name should have MAXPATHLEN. * lib/mkmf.rb (configuration): include topdir and hdrdir in VPATH. * lib/mkmf.rb (create_makefile): default dependency rule. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($topdir): use compile_dir only when not installed yet.nobu2004-03-031-9/+4
| | | | | | | [ruby-talk:94098] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): $INCFLAGS also should be lazy-evaluated.nobu2004-02-221-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): $extout_prefix doesn't vary for libraries.nobu2004-02-171-3/+2
| | | | | | | | | | | | | | * ext/extmk.rb (extmake): remove compile directory if empty. * ext/extmk.rb (parse_args) lib/mkmf.rb (create_makefile): move initialization of $extout_prefix from lib/mkmf.rb. [ruby-dev:22928] * ext/extmk.rb: clear ext and extout directory when cleaning. * lib/mkmf.rb (CLEANLIBS): should be under $(arch) directory. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e