aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in: check struct timespec, clock_gettime, utimensat,akr2007-11-191-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | struct stat.st_atim, struct stat.st_atimespec, struct stat.st_atimensec, struct stat.st_mtim, struct stat.st_mtimespec, struct stat.st_mtimensec, struct stat.st_ctim, struct stat.st_ctimespec, struct stat.st_ctimensec. * include/ruby/missing.h: provide struct timespec if not available. * time.c: support nanosecond-resolution using struct timespec. * include/ruby/intern.h: provide rb_time_nano_new. * file.c (utime_internal): use utimensat if available. (rb_file_s_utime): refactored. (rb_f_test): use stat_atime, stat_mtime, stat_ctime. (rb_stat_cmp): check tv_nsec. (stat_atimespec): new function. (stat_atime): ditto. (stat_mtimespec): ditto. (stat_mtime): ditto. (stat_ctimespec): ditto. (stat_ctime): ditto. (rb_stat_atime): use stat_atime. (rb_file_s_atime): ditto. (rb_file_atime): ditto. (rb_stat_mtime): use stat_mtime. (rb_file_s_mtime): ditto. (rb_file_mtime): ditto. (rb_file_ctime): use stat_ctime. (rb_file_s_ctime): ditto. (rb_stat_ctime): ditto. * variable.c (rb_copy_generic_ivar): clear clone's instance variables if obj has no instance variable. * marshal.c (w_object): dump instance variables of generated string for TYPE_USERDEF, even if original object has instance variables. * lib/time.rb (Time#xmlschema): use nsec instead of usec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: no need to set ac_cv_func_isinf=yes on non-gccakr2007-11-131-5/+0
| | | | | | | solaris. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flodivmod): work around for inifinity.nobu2007-11-131-1/+1
| | | | | | | | * numeric.c (flo_divmod): work around for platforms have no round(). [ruby-dev:32247] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (MINIDLNOBJS): removed.akr2007-11-121-8/+5
| | | | | | | | | (MINIOBJS): set to dln.o if dmydln.o is not used. * Makefile.in (miniruby): use MINIOBJS instead of MINIDLNOBJS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot to commit.akr2007-11-121-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (DLNOBJS): defined.akr2007-11-121-0/+5
| | | | | | | | * Makefile.in (miniruby): use DLNOBJS and COMMONOBJS instead of MINIOBJS and OBJS to avoid linking both dmydln.o and dln.o. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, common.mk, Makefile.in: don't generateakr2007-11-101-3/+0
| | | | | | | libminiruby-static.a. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, Makefile.in: generate libminiruby-static.a akr2007-11-101-0/+3
| | | | | | | which contains prelude.o for miniruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: vendor_ruby support.usa2007-11-041-1/+0
| | | | | | | | * configure.in (RUBY_LIB): duplicated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: --with-vendor-hdrdir implemented.akr2007-11-031-0/+6
| | | | | | | * lib/mkmf.rb: check --vendor argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: --with-vendordir implemented.akr2007-11-031-0/+22
| | | | | | | | | | | * mkconfig.rb: add config to vendorlibdir and vendorarchdir. * instruby.rb: make vendor library directories. * ruby.c: insert vendor library directories into load path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (AC_SYS_LARGEFILE): keep results also in commandnobu2007-10-131-1/+7
| | | | | | | | | options, to vail out of mismatch. [ruby-list:44114] * mkconfig.rb, lib/mkmf.rb (configuration): add DEFS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h: no longer provide DEFAULT_KCODE.matz2007-10-051-14/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Turn on --enable-pthread by default for FreeBSDknu2007-10-051-25/+22
| | | | | | | | 5.2.1-RELEASE and later, and remove pthread support for older versions which has never worked perfectly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (group_member): check if presents.nobu2007-08-231-1/+4
| | | | | | | | | | | * configure.in (XCFLAGS): add _GNU_SOURCE on linux. * file.c (group_member): use system routine if available. * process.c: moved _GNU_SOURCE macro to Makefile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (BASERUBY): need AC_SUBST. [ruby-dev:31438]eban2007-08-161-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (BASERUBY): check if base ruby is runnable first.nobu2007-08-161-17/+18
| | | | | | | [ruby-core:11900] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (aix): enable shared by default.nobu2007-08-161-5/+5
| | | | | | | | | | * configure.in (aix): for 64bit-mode AIX. [ruby-dev:31401] + use CC for LDSHARED if non-gcc, + moved -G option from *LDFLAGS to LDSHARED, + set -brtl only in XLDFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_func_isinf): set yes also on OpenSolaris.nobu2007-08-071-3/+3
| | | | | | | [ruby-Bugs-12859] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* change --enable-valgrind to --with-valgrind.akr2007-07-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add --enable-valgrind.akr2007-07-141-0/+4
| | | | | | | | | | | | | | | | | * gc.h (SET_MACHINE_STACK_END): new macro to replace rb_gc_set_stack_end. it find out accurate stack boundary by asm using gcc on x86. * thread.c (rb_gc_set_stack_end): don't define if asm-version SET_MACHINE_STACK_END is available. * gc.c (mark_current_thread): extracted from garbage_collect. it use SET_MACHINE_STACK_END to not scan out of stack area. it notify conservative GC information to valgrind if --enable-valgrind. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add fastcall attribute check.ko12007-06-291-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (darwin): prohibit loading extension libraries tonobu2007-06-121-2/+3
| | | | | | | miniruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby: moved public headers.nobu2007-06-101-5/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, defines.h, eval_load.c (rb_feature_p, rb_provided,nobu2007-05-031-17/+14
| | | | | | | | | | | | | search_required, rb_require_safe), ext/extmk.rb: Fix a bug where a statically linked extension cannot be autoloaded. [ruby-dev:30023] / [ruby-dev:30239] * thread.c: added an internal class, Barrier. * yarvcore.h (struct rb_vm_struct): moved loading_table from global. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LIBPATHFLAG, RPATHFLAG): no needs to be quoted,nobu2007-04-201-4/+4
| | | | | | | it is done by libpathflag in mkmf.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (Makefile): remove $U for automake from MISSING.nobu2007-04-171-1/+3
| | | | | | | [ruby-talk:248171] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LDFLAGS): prepend -L. instead appending it tonobu2007-04-171-25/+14
| | | | | | | XLDFLAGS. [ruby-core:10933] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/{strlcat,strlcpy}.c, missing.h: new functions.usa2007-03-191-2/+2
| | | | | | | | | | | * LEGAL: add copyright notice about above files. * configure.in: check whether strlcat and strlcpy are exist or not. * {bcc32,win32,wince}/Makefile.sub: use above files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_func_fcntl): fcntl support for MinGW.eban2007-02-281-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in, */Makefile.sub (THREAD_MODEL): systemnobu2007-02-281-0/+5
| | | | | | | | | specific thread model. * compile.h, regint.h, vm.h, array.c: removed unnecessary #include. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--enable-auto-image-base): avoid the neccessity toeban2007-02-271-1/+1
| | | | | | | | | rebase the shared libs as much as possible; submitted by Corinna Vinschen <spam at vinschen.de> in [ruby-talk:240964]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (__crt0_glob_function): use ruby_glob() instead of rb_globi().eban2007-02-271-0/+1
| | | | | | | * configure.in (ac_cv_func_setrlimit): workaround for djgpp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_REPLACE_TYPE): cache convertible type info.nobu2007-02-191-35/+29
| | | | | | | | | | * intern.h (rb_detach_process): use rb_pid_t instead of pid_t. * ruby.h (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM, NUM2GIDT): defaulted to conversion using long. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (pid_t, uid_t, gid_t): check if defined.nobu2007-02-181-4/+40
| | | | | | | | | | | * intern.h, process.c, rubyio.h, ext/etc/etc.c, ext/pty/pty.c: use rb_{pid,uid,gid}_t instead of plain int. [ruby-dev:30376] * ext/etc/extconf.rb (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM, NUM2GIDT): moved to configure.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: change stack limit to 2MB from 32MB.ko12007-02-141-1/+1
| | | | | | | | * win32/Makefile.sub: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, configure.in, */{Makefile.sub, configure.bat,usa2007-01-231-0/+17
| | | | | | | setup.mak}: add --with-baseruby configure option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Merge YARVko12006-12-311-6/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (SITE_DIR): fixed to emtpy RUBY_SITE_LIB in config.h oneban2006-12-051-1/+1
| | | | | | | NetBSD. fixed: [ruby-dev:29358] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (miniruby): add XLDFLAGS.nobu2006-10-301-12/+13
| | | | | | | * configure.in (aix): use -bE option for miniruby. [ruby-dev:29698] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***matz2006-10-221-1/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, bcc32/Makefile.sub, win32/Makefile.sub, win32/dir.h,nobu2006-08-121-0/+10
| | | | | | | win32/win32.c, win32/win32.h: large file support for win32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, common.mk: AIX link issue. a patch from Yutakamatz2006-08-071-13/+17
| | | | | | | | | Kanemoto <kinpoco at gmail.com>. [ruby-dev:29190] * ext/socket/socket.c: AIX socket support. [ruby-dev:29190] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add support for as and ASFLAGS. [ruby-dev:29138]matz2006-07-261-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: suppress warnings by automake 1.8 or later.nobu2006-07-251-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_msvcrt): defaulted to msvcrt. Workaround for anobu2006-07-171-3/+3
| | | | | | | bug of cygwin 1.5.20. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: should use ac_cv_lib_dl_dlopen=no on MinGW.eban2006-07-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: set ac_cv_func_dlopen=no on MinGW.eban2006-07-171-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_proc_times): use sysconf(_SC_CLK_TCK) value prior tonobu2006-07-061-1/+17
| | | | | | | HZ and CLK_TCK. fixed: [ruby-talk:200293] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (PUSH_FRAME): initialize frame->self. [ruby-dev:28911]matz2006-07-011-2/+1
| | | | | | | | | | | * configure.in: should test isinf for Solaris with GCC compiler. a patch from <ville.mattila at stonesoft.com>. [ruby-core:07791] * configure.in: -shared patch from Andrew Morrow <andrew.c.morrow at gmail.com>. [ruby-core:08100] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e