ocean
258f80c82f
* lib/mkmf.rb (create_makefile): Kernel#sub! was removed on HEAD.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-05 07:37:38 +00:00
ocean
bb4507588c
* lib/mkmf.rb (create_makefile): should not change sodir with
...
dir.gsub!. (bccwin32 failed to install third party exntesions)
[ruby-dev:27834]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-28 00:22:53 +00:00
nobu
d6837060be
* ext/extmk.rb, lib/mkmf.rb (with_config): support --with-extension
...
options. [ruby-dev:27449]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 14:55:07 +00:00
ocean
7f60c0289c
* lib/mkmf.rb (create_makefile): Borland make seems not to allow
...
empty dependency list. If this change is not good, please correct
it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-20 00:42:43 +00:00
nobu
834bd9db0b
* lib/mkmf.rb (create_makefile): get rid of a restriction
...
of Borland make. fixed: [ruby-dev:27460]
* ext/ripper/depend: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-19 22:55:51 +00:00
nobu
23ac67ac43
* lib/mkmf.rb (create_makefile): do not create unnecessary empty
...
directories. fixed: [ruby-dev:27451]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-19 14:58:57 +00:00
nobu
4857e1d300
* lib/mkmf.rb (find_executable0): default path if environment is not
...
set. [ruby-dev:27281]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-22 14:37:02 +00:00
nobu
c6b5ca0e21
* lib/mkmf.rb (configuration): generalized nmake dependent code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-21 14:31:20 +00:00
nobu
757c6fa4c9
* lib/mkmf.rb (what_type?): guesstimate type.
...
* ext/etc/etc.c (setup_passwd), ext/etc/extconf.rb: pw_age might be
char*. fixed: [ruby-core:05470]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-06 23:35:31 +00:00
nobu
624842f6a0
* lib/mkmf.rb (xsystem, xpopen): no longer expand by Config.
...
* lib/mkmf.rb (link_command, cc_command, cpp_command): expand
variables at once, and quote hdrdir. fixed: [ruby-core:05680]
* lib/mkmf.rb (libpathflag): quote paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-30 14:21:18 +00:00
usa
107e177cb8
* lib/mkmf.rb (create_makefile): need to convert path separetor
...
before invoking install command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-05 03:43:34 +00:00
nobu
d00d9606d1
* lib/mkmf.rb: keep curdir unexpanded.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-12 14:33:10 +00:00
nobu
f36783751b
* lib/mkmf.rb (create_makefile): add .SUFFIXES from depend file.
...
fixed: [ruby-dev:26294]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 09:30:35 +00:00
eban
aee4253e70
* lib/mkmf.rb: use the semicolon as the path separator
...
in the environment of MSYS. fixed: [ruby-dev:26232]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-27 07:49:06 +00:00
nobu
2c716f2b47
* ext/extmk.rb: keep srcdir unexpanded.
...
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13 14:44:59 +00:00
nobu
d88a67866c
* lib/mkmf.rb (have_var): no libs argument is given.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-07 13:58:26 +00:00
nobu
dbbfbc5a21
* configure.in, lib/mkmf.rb, {bcc32,win32,wince}/Makefile.sub: improve
...
C++ support. [ruby-dev:26089]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 21:45:43 +00:00
nobu
514df9097e
* lib/mkmf.rb (create_makefile): support platforms have file separator
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 15:08:36 +00:00
usa
07f61642e4
* lib/mkmf.rb (configuration): shouldn't output hdrdir twice.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-11 06:26:49 +00:00
nobu
06c1a64ebb
* ext/extmk.rb (extmake): hdrdir needs to be defined also in
...
Config::CONFIG.
* lib/mkmf.rb (configuration, create_makefile): get rid of recursive
macro reference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-08 11:18:17 +00:00
nobu
9ea857d7ee
* ext/extmk.rb (extmake): keep directory names in Makefile as macros.
...
* lib/mkmf.rb (configuration, create_makefile): ditto.
* lib/mkmf.rb (CXX_EXT): separate C++ extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-07 14:59:24 +00:00
nobu
df9cf4fc67
* lib/mkmf.rb (create_makefile): ensure library directories get made
...
before copying libraries there.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-02 14:39:38 +00:00
nobu
fb707a7704
* configure.in (CP, INSTALL): get rid of less portable options.
...
* lib/mkmf.rb (configuration, create_makefile): correct configuration
variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-02 13:30:49 +00:00
nobu
0f52655b06
* lib/mkmf.rb (SRC_EXT): exclude just case different suffixes on case
...
insensitive file system platforms.
* README.EXT, README.EXT.ja (Appendix C): utility functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-31 13:24:27 +00:00
nobu
15df6bd4f7
* lib/mkmf.rb (macro_defined?): try to compile for an old compiler
...
which doesn't bail out at #error directive. [ruby-dev:25818]
* lib/mkmf.rb (check_sizeof): refine logging messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-24 14:11:27 +00:00
nobu
25012d5420
* lib/mkmf.rb (mkmf_failed): check if Makefile is created without
...
create_makefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-20 13:51:48 +00:00
nobu
4783944876
* lib/mkmf.rb (create_makefile): allow putting spaces between target
...
and colon in depend file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-05 03:52:21 +00:00
kou
6b68105ab2
* lib/mkmf.rb (mkmf_failed): fixed typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-22 15:39:40 +00:00
nobu
984f9a0df1
* configure.in, lib/mkmf.rb: use simple commands if available.
...
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-22 14:52:59 +00:00
nobu
74240f58c3
* lib/mkmf.rb (create_makefile): reverted wrongly removed lines.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-19 04:31:36 +00:00
nobu
9648e68d88
* ext/extmk.rb (extract_makefile): remove no longer existing installed
...
files.
* lib/mkmf.rb (install_dirs): return installation directory list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-19 01:43:58 +00:00
usa
0de2877326
* lib/mkmf.rb (create_makefile): fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-10 03:58:50 +00:00
nobu
80f4330973
* bcc32/Makefile.sub (COMMON_LIBS): add libraries included in
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-10 03:07:24 +00:00
nobu
ef8f1ff3df
* lib/mkmf.rb (with_cppflags, with_cflags, with_ldflags): keep flags
...
modified if the block returned true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 16:23:03 +00:00
nobu
7a07ffe479
* ext/extmk.rb (extract_makefile): extract previously collected
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 14:51:44 +00:00
nobu
420a708098
* Makefile.in, configure.in: made EXTOUT configurable.
...
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-31 15:19:27 +00:00
nobu
326ebac3db
* lib/mkmf.rb (create_makefile): create RUBYARCHDIR also when no extension
...
is installed. fixed: [ruby-dev:25215]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-16 14:31:21 +00:00
eban
19f57ce144
* process.c (rb_spawn): support for DJGPP.
...
* lib/mkmf.rb (VPATH): specify the implicit path separator for DJGPP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08 11:14:53 +00:00
nobu
740b2d99ce
* lib/mkmf.rb (create_makefile): install-rb is needed for statically
...
linked extensions. [ruby-dev:24491]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-16 01:56:44 +00:00
matz
e77ddaf0d1
* array.c (rb_ary_delete): element comparison might change array
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-17 09:24:13 +00:00
nobu
7e28ad63ff
* ext/tcltklib/extconf.rb (find_tcl, find_tk): find stub library.
...
* lib/mkmf.rb (arg_config, with_config): deal with '-' and '_'
uniformly. [ruby-dev:24118]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-20 21:42:21 +00:00
knu
db850b21fd
* lib/mkmf.rb (init_mkmf): Do not add $(libdir) to $LIBPATH in
...
extmk mode.
* lib/mkmf.rb (dir_config): Prepend a new library path instead of
appending so it is tried first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-13 06:54:01 +00:00
nobu
6f9195ec91
* configure.in, lib/mkmf.rb (LIBPATHFLAG): use double quotes due to
...
DOSISH compilers. [ruby-core:03107]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-28 05:58:13 +00:00
nobu
1f16f35849
* lib/mkmf.rb (libpathflag): should not quote here.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-26 03:43:26 +00:00
nobu
4cf1e8654d
* lib/mkmf.rb (libpathflag, find_header, dir_config): quote directory
...
names if necessary. [ruby-talk:104505]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-26 02:07:30 +00:00
nobu
fc04396ea3
* lib/mkmf.rb (check_sizeof): define result size. [ruby-core:02911]
...
* lib/mkmf.rb (create_header): macro name should not include equal
sign.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-20 08:02:11 +00:00
matz
a6a8847190
* numeric.c (flo_eq): alway check if operands are NaN.
...
[ruby-list:39685]
* lib/cgi/session.rb: use LOCK_SH to read, and a few other
improvements. [ruby-core:02328]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-20 04:34:14 +00:00
nobu
41e4c5de36
* lib/mkmf.rb (have_type): do not check pointer to incomplete type,
...
which always get compiled.
[ruby-list:39683]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-20 03:22:20 +00:00
nobu
93472ba0ed
* lib/mkmf.rb (have_type, check_sizeof): replace unusable characters.
...
[ruby-talk:99788]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-12 10:59:52 +00:00
nobu
7792d9026a
* lib/mkmf.rb: $hdrdir should not contain macros, for backward
...
compatibility. [bruby-dev:28]
* lib/mkmf.rb (create_makefile): in the case of extout, just copy
script files, without comparison.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-23 14:24:51 +00:00