aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in: check sizeof(rlim_t).akr2006-06-141-1/+22
| | | | | | | | | | | | check setrlimit. * process.c (proc_getrlimit): new method Process.getrlimit. (proc_setrlimit): new method Process.setrlimit. * ruby.h (NUM2ULL): new macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add new configure option `--with-winsock2' for mingw.usa2006-06-071-1/+14
| | | | | | | | | | | * win32/Makefile.sub (config.h): define USE_WINSOCK2 in config.h instead of in CPPFLAGS. * ext/socket/extconf.rb: determine whether to use winsock2 or not by using with_config. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_install_sh): ignore dummy install-sh.nobu2006-05-241-0/+1
| | | | | | | [ruby-talk:193876] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Solaris SunPro compiler -rapth patch frommatz2006-03-201-1/+5
| | | | | | | <kuwa at labs.fujitsu.com>. [ruby-dev:28443] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: remove enable_rpath=no for Solaris.matz2006-03-201-2/+0
| | | | | | | [ruby-dev:28440] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (mingw): have link.usa2006-02-201-0/+1
| | | | | | | * win32/Makefile.sub (config.h): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: The isinf is not regognized by autoconfocean2006-02-021-0/+3
| | | | | | | library guesser on solaris 10. [ruby-core:7138] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, hash.c (ruby_setenv): use setenv(3) and unsetenv(3)ocean2006-02-011-1/+1
| | | | | | | | | | | where they are supported. modifing environ variable seems to segfault solaris 10. [ruby-core:7276] [ruby-dev:28270] * ruby.c (set_arg0): if use setenv(3), environ space cannot be used for altering argv[0]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, dln.c, file.c, intern.h, missing.h (eaccess): usenobu2006-01-251-1/+1
| | | | | | | system routine if provided. fixed: [ruby-core:07195] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (AC_CHECK_FUNCS): need to check link().usa2005-11-241-7/+7
| | | | | | | fixed: [ruby-dev:27814] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: undef HAVE_LINK on BeOS. (link(2) always returnsocean2005-11-101-1/+1
| | | | | | | | | | | | | | EINVAL, and this causes error in test/fileutils.) * file.c: overwride chown(2) and fchown(2) on BeOS. (these functions should not change user/group id if -1 is passed as corresponding argument, and this causes error in test/fileutils too) [ruby-dev:27672] * file.c (rb_file_s_link): checks HAVE_LINK. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use proper option for Sun linker. A patch frommatz2005-10-311-1/+5
| | | | | | | Shinya Kuwamura <kuwa@labs.fujitsu.com>. [ruby-dev:27603] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_EXTERN): macro to export symbols in sharednobu2005-10-251-1/+11
| | | | | | | | | | | | library. [ruby-core:05528] * defines.h, {bcc32,win32,wince}/Makefile.sub (RUBY_EXTERN): moved to configuration pass. * ext/extmk.rb (extmake): RUBY_EXTERN for static linked extensions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, io.c: use sys/syscall.h if syscall.h is not available.nobu2005-10-241-1/+1
| | | | | | | [ruby-core:06247] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not loadnobu2005-09-061-0/+3
| | | | | | | | | | | | | | | extension libraries. * bignum.c (bignew_1, bigadd): K&R style argument actually can't be defined as char. * missing/vsnprintf.c: ANSI compiler supports const keyword. * ext/digest/sha2/extconf.rb: reject platforms which has inttypes.h but no 64bit integer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (sigexit): call rb_thread_signal_exit() instead ofmatz2005-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | rb_exit(). [ruby-dev:26347] * eval.c (rb_thread_signal_exit): a new function to exit on main thread. * eval.c (rb_thread_switch): exit status should be retrieved from ruby_errinfo. * eval.c (rb_f_exit): ensure exit(0) should call exit(EXIT_SUCCESS). * missing/mkdir.c: remove. [ruby-core:05177] * lib/delegate.rb (SimpleDelegator::__setobj__): need check for recursive delegation. [ruby-core:04940] * misc/ruby-mode.el (ruby-expr-beg): fix looking point drift. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, ruby.h: define rb_[pgu]id_t macros instead of typedefsnobu2005-05-151-2/+5
| | | | | | | to get rid of types which might not be defined yet. [ruby-dev:26165] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Check for the availability of pid_t, gid_t and uid_t andnobu2005-05-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | remove AC_TYPE_UID_T. fixed: [ruby-core:04745] * defines.h: Remove pid_t typedef. * ruby.h: Define rb_pid_t, rb_gid_t and rb_uid_t in accordance with the available system types. * process.c: Change instances of pid_t and gid_t to their rb_* counterparts. * ext/pty/pty.c: Change pid_t to rb_pid_t. * vms/config.h: Define HAVE_{P,G,U}ID_T to 1. * win32/Makefile.sub: Remove #define for {g,u}id_t. * win32/win32.c: Change pid_t to rb_pid_t. * wince/Makefile.sub: Remove #define for {g,u}id_t. * wince/sys/types.h: Remove definitions of {p,g,u}id_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_PROG_INSTALL): not add -p option to INSTALL.nobu2005-04-161-1/+1
| | | | | | | | | | | 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
* * configure.in (mingw32): extract msvcr*.dll from objdump result.eban2005-04-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (mingw32): use actual runtime DLL name as ruby DLLnobu2005-04-131-2/+15
| | | | | | | | | name and default load path. * win32/Makefile.sub, win32/setup.mak: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (CP, INSTALL): get rid of less portable options.nobu2005-04-021-2/+2
| | | | | | | | * 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
* * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,nobu2005-03-301-3/+27
| | | | | | | | common.mk, configure.in, ext/extmk.rb, lib/mkmf.rb, instruby.rb, runruby.rb: backport extout. [ruby-dev:25963] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (WIN32_LEAN_AND_MEAN): removed because a lot ofeban2005-03-251-1/+1
| | | | | | | troubles. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (aix): fix linker flags on AIX. [ruby-talk:125460]nobu2005-01-311-4/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (aix): fix typo. [ruby-talk:126401]nobu2005-01-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (bsdi): use $(CC) for LDSHARED. fixed [ruby-dev:25270]nobu2004-12-221-9/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (disable-rpath): typo fix.nobu2004-12-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (enable_rpath): use rpath flag to embed the librarynobu2004-12-191-23/+26
| | | | | | | path into extensions on ELF environment. [ruby-dev:25035] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_read): [ruby-dev:24952]matz2004-11-231-3/+0
| | | | | | | * configure.in, io.c: cancel [ ruby-Patches-1074 ]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_chown): integer conversion should be prior tomatz2004-11-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GetOpenFile(). [ruby-dev:24947] * file.c (rb_file_truncate): ditto. * file.c (rb_file_s_truncate): ditto. * dir.c (dir_seek): use NUM2OFFT(). * misc/ruby-mode.el (ruby-non-block-do-re): [ruby-core:03719] * dir.c (dir_seek): should retrieve dir_data after NUM2INT(). [ruby-dev:24941] * string.c (rb_str_splice): should place index wrapping after possible modification. [ruby-dev:24940] * eval.c (error_print): nicer traceback at interrupt. [ruby-core:03774] * string.c (str_gsub): internal buffer should not be listed by ObjectSpace.each_object() by String#gsub. [ruby-dev:24931] * lib/cgi/session.rb (CGI::Session::FileStore::initialize): raise exception if data corresponding to session specified from the client does not exist. * string.c (str_gsub): internal buffer should not be listed by ObjectSpace.each_object(). [ruby-dev:24919] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add setup for mignw32 cross compiling.eban2004-11-071-0/+5
| | | | | | | [ruby-talk:119413] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (RESIZE_CAPA): check string attribute before modifyingmatz2004-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | capacity member of string structure. [ruby-dev:24594] * ext/zlib/zlib.c (gzreader_gets): use memchr() to to gain performance. [ruby-talk:117701] * sprintf.c (rb_f_sprintf): raise ArgumentError for extra arguments, unless (digit)$ style used. * ext/zlib/zlib.c (gzreader_gets): use memchr() to to gain performance. [ruby-talk:117701] * sprintf.c (rb_f_sprintf): raise ArgumentError for extra arguments, unless (digit)$ style used. * eval.c (frame_free): Guy Decoux solved the leak problem. Thanks. [ruby-core:03549] * ext/zlib/zlib.c (zstream_append_input): clear klass for z->input to avoid potential vulnerability. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (GNU/k*BSD): fixed FTBFS on GNU/k*BSD. [ruby-dev:24051]eban2004-08-301-13/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RPATHFLAG): stop setting RPATHFLAG on Interix.eban2004-08-111-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6754 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (TRY_LINK): export.nobu2004-06-261-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (aix): -b must come at the start of the command line,nobu2004-06-261-2/+5
| | | | | | | and -e must not appear while testing libraries. [ruby-talk:104501] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (target_os): strip -gnu suffix on Linux.eban2004-06-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * config.guess, config.sub: Update to a more recent version as ofknu2004-06-091-2/+4
| | | | | | | | | 2004-01-20. * configure.in: Add support for DragonFly BSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_eq): alway check if operands are NaN.matz2004-05-201-0/+2
| | | | | | | | | | [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/branches/ruby_1_8@6371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check the size of time_t.akr2004-04-061-0/+1
| | | | | | | | | * time.c (time_add): new function. (time_plus): use time_add. (time_minus): use time_add. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: backport from 1.9 for Interix.eban2004-02-021-7/+9
| | | | | | | * dln.c (dln_load): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LIBPATHFLAG, RPATHFLAG): enclose paths with singlenobu2004-01-121-3/+3
| | | | | | | | | | | quotes. [ruby-dev:22564] * lib/mkmf.rb (libpathflag): do not enclose with quotes always. * {bcc32,win32,wince}/Makefile.sub (LIBPATHFLAG): quoted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RDOCTARGET): new macro. if you want to installeban2004-01-081-0/+10
| | | | | | | | rdoc documentation, you need to run configure with --enable-install-doc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_mod_modfunc): should break if m has no super class.matz2004-01-061-1/+1
| | | | | | | | | [ruby-dev:22498] * backport changes from 1.9 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: fix "test: too many arguments" error.eban2003-12-271-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (next_argv): warn always for stdin on inplace edit mode.matz2003-12-261-1/+4
| | | | | | | | | | | | | | | | | | | | * io.c (read_all): need to check string value. * io.c (argf_read): allow ARGF.read(nil). [ruby-dev:22433] * io.c (rb_f_backquote): need not to check nil result. [ruby-core:02078] * io.c (rb_io_getline): should return nil when read_all gives empty string, even when nil rs is specified. [ruby-core:02077] * pack.c (pack_pack): add sign check for 'i', and 'l'. [ruby-dev:22427] * bignum.c (rb_quad_pack): add range check for 'quad int'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check if getcontext and setcontext are available.nobu2003-12-261-40/+31
| | | | | | | * eval.c: use presence of getcontext/setcontext. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check for nanosleep, -lrt if required.matz2003-12-241-0/+4
| | | | | | | | | | | | | [ruby-core:02059] * eval.c (thread_timer): use select(2) if nanosleep(2) is not available. * eval.c: check __stub_getcontext for glibc on some platforms. [ruby-list:38984] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e