summaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* * 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: http://svn.ruby-lang.org/repos/ruby/trunk@9089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, {bcc32,win32,wince}/Makefile.sub (HAVE_SNPRINTF,usa2005-08-031-0/+2
| | | | | | | | | | HAVE_VSNPRINTF): use win32/win32.c's implementation instead of missing/vsnprintf.c's. * win32/win32.[ch] (rb_w32_snprintf, rb_w32_vsnprintf): reverted. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check vsnprintf() and snprintf().nobu2005-08-031-1/+1
| | | | | | | | * sprintf.c, missing/vsnprintf.c: made vsnprintf() and snprintf() private. fixed: [ruby-dev:26651] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_vsprintf, rb_sprintf): new functions return new String,nobu2005-07-231-2/+1
| | | | | | | | | using missing/vsnprintf.c. [ruby-dev:26580] * missing/vsnprintf.c: made the output changeable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check select_large_fdset.akr2005-07-021-1/+1
| | | | | | | | * eval.c: use select_large_fdset to support large file descriptors on Solaris. [ruby-dev:26404] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8695 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] * hash.c (env_aset): do not treat nil as key-removing value. [ruby-list:40865] * parse.y (method_call): allow aref expression ([]) to take a block. * parse.y (block_dup_check): a function to check duplication of a block argument and an actual block. * lib/delegate.rb (SimpleDelegator::__setobj__): need check for recursive delegation. [ruby-core:04940] * lib/cgi.rb: add underscore aliases CGI::escape_html, CGI::unescape_html, CGI::escape_element, CGI::unescape_element. [ruby-core:05058] * misc/ruby-mode.el (ruby-expr-beg): fix looking point drift. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, eval.c, gc.c: use libunwind only on HP-UX.akr2005-06-091-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8598 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: http://svn.ruby-lang.org/repos/ruby/trunk@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: http://svn.ruby-lang.org/repos/ruby/trunk@8455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_FUNC_ATTRIBUTE): check for function attribute.nobu2005-04-301-9/+38
| | | | | | | | | | | | | | | | [ruby-dev:26109] * eval.c, gc.c: moved noinline to configure.in. * rubyio.h (DEPRECATED): moved to configure.in. * ruby.h (DEPRECATED, NOINLINE): default definition. * win{32,ce}/Makefile.sub (config.h): deprecated and noinline for __declspec() are available for VC++7 or later. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, lib/mkmf.rb, {bcc32,win32,wince}/Makefile.sub: improvenobu2005-04-201-0/+18
| | | | | | | C++ support. [ruby-dev:26089] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8371 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: http://svn.ruby-lang.org/repos/ruby/trunk@8338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (mingw32): extract msvcr*.dll from objdump result.eban2005-04-131-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@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: http://svn.ruby-lang.org/repos/ruby/trunk@8314 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: http://svn.ruby-lang.org/repos/ruby/trunk@8241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (WIN32_LEAN_AND_MEAN): removed because a lot ofeban2005-03-251-1/+1
| | | | | | | troubles. [ruby-list:40721] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, lib/mkmf.rb: use simple commands if available.nobu2005-02-221-0/+7
| | | | | | | | | | | | | * 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
* * configure.in, win32/Makefile.sub (LIBS, COMMON_HEADERS): useusa2005-02-101-2/+2
| | | | | | | | | | | | | winsock2 on mswin32/mingw. * ext/socket/extconf.rb: ditto. * win32/win32.c (StartSockets): ditto. * win32/win32.h: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (aix): fix linker flags on AIX. [ruby-talk:125460]nobu2005-01-311-4/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in: made EXTOUT configurable.nobu2005-01-311-0/+1
| | | | | | | | | * 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
* * configure.in (aix): fix typo. [ruby-talk:126401]nobu2005-01-171-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (HAVE_RLIM_T): removed because not used.akr2004-12-301-14/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (bsdi): use $(CC) for LDSHARED. fixed [ruby-dev:25270]nobu2004-12-221-9/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (disable-rpath): typo fix.nobu2004-12-191-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@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: http://svn.ruby-lang.org/repos/ruby/trunk@7598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_sizeof_rlim_t): set 8 for BSD/OS.akr2004-12-171-0/+2
| | | | | | | Reported by OHARA Shigeki. [ruby-dev:25236] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fwrite): avoid context switch before writing to stderr.akr2004-12-071-65/+0
| | | | | | | | | | | [ruby-dev:25080] * rubyio.h: refine deprecated declaration. * configure.in, file.c, io.c: remove useless check: fseeko, etc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check -lsocket for socketpair and shutdown.akr2004-12-061-0/+1
| | | | | | | reported by Ville Mattila. [ruby-core:03903] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_sizeof_rlim_t): setup for DJGPP.eban2004-12-061-0/+1
| | | | | | | | | * io.c (is_socket, shutdown): define dummy macros for DJGPP. * process.c: use SIZEOF_RLIM_T instead of HAVE_RLIM_T for DJGPP. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: AC_CHECK_SIZEOF(rlim_t) to include stdio.h to fixakr2004-11-251-1/+2
| | | | | | | | problem with autoconf 2.52 or earlier. revert AC_PREREQ to 2.50. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: AC_PREREQ(2.53) [ruby-core:03800]matz2004-11-251-1/+1
| | | | | | | * io.c (read_all): [ruby-dev:24955] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7369 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: http://svn.ruby-lang.org/repos/ruby/trunk@7361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_gsub): internal buffer should not be listed bymatz2004-11-191-0/+3
| | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check rlim_t more portably. [ruby-core:3735]akr2004-11-151-6/+30
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_getrlimit): new function for Process.getrlimit.akr2004-11-141-1/+8
| | | | | | | | | | | | (proc_setrlimit): new function for Process.setrlimit. [ruby-dev:24834] * configure.in: check rlim_t and its size. check setrlimit. * ruby.h (NUM2ULL): new macro. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add setup for mignw32 cross compiling.eban2004-11-071-0/+5
| | | | | | | [ruby-talk:119413] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): NODE_XSTR should pass copy of literal string.matz2004-10-301-5/+0
| | | | | | | | | | | * array.c (rb_ary_update): a[n,m]=nil no longer works as element deletion. * enum.c (enum_sort_by): protect continuation jump in. [ruby-dev:24642] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.h (NODE_TYPESHIFT): allow 4 more bits for line numbers.matz2004-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | [ruby-talk:117841] * ruby.h (FL_ABLE): nodes are not subject for flag operations. * io.c (ARGF_FORWARD): should have specified argv explicitly, since we no longer have frame->argv saved. [ruby-dev:24602] * string.c (RESIZE_CAPA): check string attribute before modifying 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. * io.c (rb_io_fptr_finalize): leave stdin/stdout/stderr open in interpreter termination. [ruby-dev:24579] * eval.c (frame_free): Guy Decoux solved the leak problem. Thanks. [ruby-core:03549] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_sort_by): do not use qsort directly. usematz2004-09-211-1/+17
| | | | | | | | | | | | | | | | | | | | rb_ary_sort_bang() instead. [ruby-dev:24291] * enum.c (enum_sort_by): pedantic type check added. [ruby-dev:24291] * hash.c (rb_hash_foreach_iter): check iter_lev after each iteration. [ruby-dev:24289] * array.c (rb_ary_and): element size might change during comparison. [ruby-dev:24290] * array.c (rb_ary_or): ditto. [ruby-dev:24292] * array.c (rb_ary_equal): wrong fix. [ruby-dev:24286] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6939 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: http://svn.ruby-lang.org/repos/ruby/trunk@6834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (LIBS): need to link shell32usa2004-08-191-1/+1
| | | | | | | library for SH* functions on mswin32 and mingw32. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_reopen): should clear allocated OpenFile. pointedmatz2004-08-171-1/+1
| | | | | | | out by Guy Decoux. [ruby-core:03288] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RPATHFLAG): stop setting RPATHFLAG on Interix.eban2004-08-111-2/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_stack_end_address): detect stack end addressnobu2004-07-081-0/+12
| | | | | | | | | variable supplied by system. [ruby-core:03115] * gc.c (Init_stack): use system provided address if possible. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6600 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
* * configure.in (TRY_LINK): commit miss.nobu2004-06-261-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (TRY_LINK): export.nobu2004-06-261-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@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: http://svn.ruby-lang.org/repos/ruby/trunk@6523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (target_os): strip -gnu suffix on Linux.eban2004-06-121-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Add support for DragonFly BSD.knu2004-06-091-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e