aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in (RUBY_WERROR_FLAG): append all warning flags whichnobu2011-12-081-4/+5
| | | | | | | are enabled to compile, so that printf format modifiers properly fail. [ruby-core:41351] [Bug #5679] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rpath): fix typo in the help string. a patch fromnobu2011-12-071-1/+2
| | | | | | | Yuji Yamano <yyamano AT kt.rim.or.jp> in [ruby-list:48568]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (CFLAGS): append ARCH_FLAG.nobu2011-12-021-3/+3
| | | | | | * configure.in (ARCH_FLAG): exclude from CFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (UNIVERSAL_INTS): include short int. fix fornobu2011-12-021-1/+1
| | | | | | test/mkmf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_TRY_CFLAGS, RUBY_TRY_LDFLAGS): more verbose messages.nobu2011-12-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check whether -pie or -Wl,-pie is valid asnobu2011-12-021-2/+11
| | | | | | LDFLAGS. [ruby-core:41438] [Bug#5697] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use $linker_flag for LDFLAGS option which is notnobu2011-12-021-2/+2
| | | | | | limited to particular platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r33926 "* configure.in: use $linker_flag for LDFLAGS option which is not"naruse2011-12-021-3/+3
| | | | | | | This breaks build process of Linux and FreeBSD. It may depend the version of gcc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use $linker_flag for LDFLAGS option which is notnobu2011-12-021-3/+3
| | | | | | limited to particular platforms. [ruby-core:41438] [Bug#5697] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LDFLAGS): -fstack-protector is always needed tonobu2011-12-011-0/+1
| | | | | | | link static library created with it. [ruby-core:41387] [Bug#5686] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add sys/prctl.h test.kosaki2011-11-301-1/+1
| | | | | | | * thread_pthread.c (thread_timer): call prctl(PR_SET_NAME) to change thread name. It may help to debug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: added -fno-strict-overflow. it suppress annoyingkosaki2011-11-271-0/+6
| | | | | | -Wstrict-overflow warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (stack_protector): disable on mingw. [Bug#5676]nobu2011-11-271-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (DLDFLAGS): also needs -fstack-protector.nobu2011-11-271-1/+0
| | | | | | [Bug#5676] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (-fstack-protector): also needed in DLDFLAGS.nobu2011-11-271-2/+6
| | | | | | [Bug#5676] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: whitespace-cleanup.nobu2011-11-271-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: whitespace-cleanup.nobu2011-11-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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