aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
...
* * configure.in: add -fstack-protector into XLDFLAGS as well askosaki2011-11-271-1/+2
| | | | | | XCFLAGS if stack-protector is used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: revert r33832 and r33833. [ruby-core:41313] [Bug #5674]kosaki2011-11-271-0/+58
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: workaround to avoid MacOS X build error.kosaki2011-11-271-1/+4
| | | | | | Maybe autoconf 2.61 is slightly buggy. [ruby-core:41316] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--no-undefined): r33840 breaks FreeBSD and DragonFlynaruse2011-11-261-1/+1
| | | | | | | with gcc 4.4 or later. Their environ is in /usr/libexec/ld-elf.so.1, so it will be false negative. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--no-undefined): r33840 breaks FreeBSD with gcc47.naruse2011-11-261-3/+7
| | | | | | | FreeBSD's environ is in /usr/libexec/ld-elf.so.1, so it will be false negative. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--no-undefined): RUBY_TRY_CFLAGS does nothing fornobu2011-11-251-1/+1
| | | | | | linker flags. use RUBY_TRY_LDFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (EXTLDFLAGS): export it.kosaki2011-11-251-0/+6
| | | | | | | * configure.in: add --no-undefined if --enable-shared is specified. Gentoo enabled this option long time. Also, export EXTLDFALGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: turn on PIE if --enable-shared is not specified.kosaki2011-11-241-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add -fstack-protector. It help to protect us fromkosaki2011-11-241-0/+1
| | | | | | stack smashing attack. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add -D_FORTIFY_SOURCE=2. It provide some compilekosaki2011-11-241-0/+4
| | | | | | time and runtime check for security. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: remove [read buffer ptr field in FILE structures] check.kosaki2011-11-241-37/+0
| | | | | | ruby 1.9 or later doesn't use stdio at all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: remove [read count field in FILE] check.kosaki2011-11-241-19/+0
| | | | | | ruby 1.9 or later doesn't use stdio at all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add -Wall always.kosaki2011-11-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Improved error message when using llvm-gccryan2011-11-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h (FLUSH_REGISTER_WINDOWS): move sparc asm codengoto2011-11-151-1/+2
| | | | | | | | | | to a separete file sparc.c for preventing inlining optimization. Patched by Jurij Smakov. [Bug #5244] [ruby-core:40685] * sparc.c (rb_sparc_flush_register_windows): ditto. * configure.in: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: should not use test -e for portability.nobu2011-11-091-1/+1
| | | | | | [ruby-core:40841] [Bug #5594] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: reject llvm-gcc.nobu2011-11-011-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check -fno-omit-frame-pointer acceptance and usageluislavena2011-10-301-0/+6
| | | | | | under MinGW. [ruby-core:39957] [Bug #5407] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check pipe2.akr2011-10-301-1/+1
| | | | | | | | * io.c (rb_cloexec_pipe): use pipe2 if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check dup3.akr2011-10-291-1/+2
| | | | | | | | * io.c (rb_cloexec_dup2): use dup3 if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_DEFINE_IF): revert r33534 partially to getnobu2011-10-271-2/+8
| | | | | | | rid of AS_ECHO which is not available in autoconf 2.61. [ruby-dev:44702] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_FUNC_ATTRIBUTE): unset temporary variable.nobu2011-10-271-13/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_STACK_GROW_DIRECTION): substitute CPU name asnobu2011-10-271-4/+6
| | | | | | | shell variable name. based on the patch by The Written Word Inc. at [ruby-core:40421]. [Bug #5488] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (pthread_np.h): needs pthread.h to be includednobu2011-09-281-1/+1
| | | | | | | previously on OpenBSD. a patch by George Koehler <xkernigh AT netscape.net> at [ruby-core:39752]. [Bug #5376] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: remove DJGPP support. It's not longer supportedkosaki2011-09-261-13/+1
| | | | | | | | since ruby 1.9.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h: remove NextStep, OpenStep, Rhapsodykosaki2011-09-261-19/+4
| | | | | | | | | | | support. Last activity of their OSs are 7 years ago. * configure.in: ditto. * dir.c: ditto. * ext/tk/extconf.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: remove a code for human68k. it's no longerkosaki2011-09-261-55/+1
| | | | | | | | supported since r19677. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: ignore all warnings from an arbitrarynobu2011-09-251-1/+1
| | | | | | header in /usr/local/include. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (sizeof_struct_dirent_too_small): check if structnobu2011-09-031-9/+32
| | | | | | dirent.d_name is too small. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_MINGW32): take tool prefix from CC.nobu2011-09-031-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: fix a build failure on GNU Hurd.kosaki2011-08-301-0/+5
| | | | | | | | | Patch by Samuel Thibault <sthibault at debian dot org>. Thank you! [Bug #5250] [ruby-core:39185] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use LD_LIBRARY_PATH_64 on 64-bit Solaris.ngoto2011-08-211-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_spawn_v, proc_spawn): should not wait thenobu2011-08-191-1/+1
| | | | | | | | | spawned process. * process.c (proc_spawn_v): fix missing argument, and try with /bin/sh only if failed with ENOEXEC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: defines _DARWIN_UNLIMITED_SELECT if the target_osmrkn2011-08-191-1/+1
| | | | | | is darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix r32943. It did break configure.in completely.kosaki2011-08-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Desbribe "no" configure option for site_rubykosaki2011-08-121-2/+2
| | | | | | | | and vendor_ruby. Patch by Vit Ondruch. [Bug #5187][ruby-core:38921] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add -Wunused-variable to default CFLAGS.kosaki2011-08-071-0/+1
| | | | | | | | Patch by Eric Wong. [Feature #5157] [ruby-core:38798] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: when Solaris cc, use $(CC) to link shared libs.ngoto2011-08-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: set CXX variable to the C++ compiler that matches themrkn2011-08-031-0/+9
| | | | | | C compiler specified by CC variable (e.g. use g++-4.2 for gcc-4.2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Forward-ports r32779 from branches/ruby_1_9_3 to trunk. The original commityugui2011-07-311-3/+3
| | | | | | | | by ktsj. -- configure.in: fix typos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Forwardports r32772 and r32773 from branches/ruby_1_9_3 to trunk.yugui2011-07-311-0/+22
| | | | | | | | | | | | | * common.mk (ECHO1): ":" in a make variable replacement cause a syntax error with /usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead. * configure.in (NULLCMD): new check. * Makefile.in (NULLCMD): Reflects checking in configure. * win32/Makefile.sub (NULLCMD): new assignment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (enable_pthread): use -pthread on OpenBSD withoutnaruse2011-07-291-1/+3
| | | | | | explicit option. patched by Jeremy Evans. [ruby-core:38572] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r32647. r32649 is better one.kosaki2011-07-231-7/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: changed default optflags to -O0 if the compiler iskosaki2011-07-231-1/+7
| | | | | | | | llvm-gcc. It prevent ruby crash on OS X 10.7 (Lion). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_UNIVERSAL_ARCH): restore arch flag.nobu2011-07-161-3/+6
| | | | | | | Bug #4977 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: can't subtract void *.nari2011-07-081-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: change water_mark value value that may callnari2011-07-071-0/+57
| | | | | | | | | | | gc_mark(lev <= GC_LEVEL_MAX) in gc_mark(). In ruby_stack_check(), water_mark is a value that may call some C function. Fixes Bug #3781 * configure.in: define GC_MARK_STACKFRAME_WORD that approximate size of gc_mark() and gc_mark_children() stackframes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: Add warnflags for XL/C on AIX during configurekanemoto2011-06-301-0/+3
| | | | | | | to avoid [Bug #3971]. See [ruby-core:32859] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c: Now, USE_TRAP_SIGMASK depend on HAVE_PTHREAD_SIGMASK.kosaki2011-06-281-1/+1
| | | | | | | | The code have already depended on pthread_sigmask since r27464. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (RUBY_SO_NAME): add CPU as prefixusa2011-05-161-0/+3
| | | | | | | of RUBY_SO_NAME on x64/ia64 mswin/mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e