nobu
2748f58dce
* configure.in (UNIVERSAL_INTS): include short int. fix for
...
test/mkmf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02 22:14:30 +00:00
nobu
5fce7630c7
* configure.in (RUBY_TRY_CFLAGS, RUBY_TRY_LDFLAGS): more verbose messages.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02 06:43:57 +00:00
nobu
0755d415bb
* configure.in: check whether -pie or -Wl,-pie is valid as
...
LDFLAGS. [ruby-core:41438] [Bug#5697]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02 06:41:27 +00:00
nobu
55cae88340
* configure.in: use $linker_flag for LDFLAGS option which is not
...
limited to particular platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-02 06:18:21 +00:00
naruse
9b69817ac0
Revert r33926 "* configure.in: use $linker_flag for LDFLAGS option which is not"
...
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
2011-12-02 04:02:20 +00:00
nobu
6ec1902a2d
* configure.in: use $linker_flag for LDFLAGS option which is not
...
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
2011-12-02 02:30:38 +00:00
nobu
b2e137c81e
* configure.in (LDFLAGS): -fstack-protector is always needed to
...
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
2011-12-01 01:32:02 +00:00
kosaki
0d0bd1642a
* configure.in: add sys/prctl.h test.
...
* 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
2011-11-30 22:17:48 +00:00
kosaki
543820885e
* configure.in: added -fno-strict-overflow. it suppress annoying
...
-Wstrict-overflow warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-27 12:27:00 +00:00
nobu
9b58c2edf3
* configure.in (stack_protector): disable on mingw. [Bug#5676]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-27 10:09:11 +00:00
nobu
41f756eaf3
* Makefile.in (DLDFLAGS): also needs -fstack-protector.
...
[Bug#5676]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-27 09:54:12 +00:00
nobu
c4cd97a563
* configure.in (-fstack-protector): also needed in DLDFLAGS.
...
[Bug#5676]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-27 09:25:38 +00:00
nobu
929e69fdca
* configure.in: whitespace-cleanup.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-27 08:26:54 +00:00
nobu
a072b2dfd2
* configure.in: whitespace-cleanup.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-27 08:24:29 +00:00
kosaki
a4d38daece
* configure.in: add -fstack-protector into XLDFLAGS as well as
...
XCFLAGS if stack-protector is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-27 07:15:04 +00:00
kosaki
ed78271c49
* configure.in: revert r33832 and r33833. [ruby-core:41313] [Bug #5674 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-27 04:55:27 +00:00
kosaki
0e28532a52
* configure.in: workaround to avoid MacOS X build error.
...
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
2011-11-27 04:30:44 +00:00
naruse
7d11b9e289
* configure.in (--no-undefined): r33840 breaks FreeBSD and DragonFly
...
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
2011-11-26 22:49:28 +00:00
naruse
01a64885c3
* configure.in (--no-undefined): r33840 breaks FreeBSD with gcc47.
...
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
2011-11-26 19:59:13 +00:00
nobu
8b83ea9ef1
* configure.in (--no-undefined): RUBY_TRY_CFLAGS does nothing for
...
linker flags. use RUBY_TRY_LDFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-25 20:00:31 +00:00
kosaki
0996ae361a
* Makefile.in (EXTLDFLAGS): export it.
...
* 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
2011-11-25 01:41:59 +00:00
kosaki
98975ba9dc
* configure.in: turn on PIE if --enable-shared is not specified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-24 23:50:00 +00:00
kosaki
b2eae7891b
* configure.in: add -fstack-protector. It help to protect us from
...
stack smashing attack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-24 23:06:26 +00:00
kosaki
d0e615e25f
* configure.in: add -D_FORTIFY_SOURCE=2. It provide some compile
...
time and runtime check for security.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-24 23:04:35 +00:00
kosaki
450c2094be
* configure.in: remove [read buffer ptr field in FILE structures] check.
...
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
2011-11-24 22:58:00 +00:00
kosaki
746aa6f74b
* configure.in: remove [read count field in FILE] check.
...
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
2011-11-24 22:54:39 +00:00
kosaki
5817762f2b
* configure.in: add -Wall always.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-24 22:49:51 +00:00
ryan
5a94b29c53
Improved error message when using llvm-gcc
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-17 22:38:18 +00:00
ngoto
fa00b6516c
* include/ruby/defines.h (FLUSH_REGISTER_WINDOWS): move sparc asm code
...
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
2011-11-15 04:42:31 +00:00
nobu
e120e37577
* configure.in: should not use test -e for portability.
...
[ruby-core:40841] [Bug #5594 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09 01:32:25 +00:00
nobu
b9a7f8b44c
* configure.in: reject llvm-gcc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-01 13:08:30 +00:00
luislavena
0bbb8e8975
* configure.in: check -fno-omit-frame-pointer acceptance and usage
...
under MinGW. [ruby-core:39957] [Bug #5407 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-30 15:51:33 +00:00
akr
e7f8c03818
* configure.in: check pipe2.
...
* 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
2011-10-30 13:48:35 +00:00
akr
cb9f3040d7
* configure.in: check dup3.
...
* 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
2011-10-29 22:48:41 +00:00
nobu
c1de566071
* configure.in (RUBY_DEFINE_IF): revert r33534 partially to get
...
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
2011-10-27 09:28:21 +00:00
nobu
1b4e137537
* configure.in (RUBY_FUNC_ATTRIBUTE): unset temporary variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-27 05:56:24 +00:00
nobu
9598856e86
* configure.in (RUBY_STACK_GROW_DIRECTION): substitute CPU name as
...
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
2011-10-27 05:55:29 +00:00
nobu
682177e169
* configure.in (pthread_np.h): needs pthread.h to be included
...
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
2011-09-28 00:14:19 +00:00
kosaki
36a1e76053
* configure.in: remove DJGPP support. It's not longer supported
...
since ruby 1.9.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 00:21:54 +00:00
kosaki
20ae79b0c2
* include/ruby/defines.h: remove NextStep, OpenStep, Rhapsody
...
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
2011-09-26 00:19:03 +00:00
kosaki
6823334c21
* configure.in: remove a code for human68k. it's no longer
...
supported since r19677.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 00:05:45 +00:00
nobu
256f355af5
* configure.in: ignore all warnings from an arbitrary
...
header in /usr/local/include.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-25 07:45:08 +00:00
nobu
3e0819c66a
* configure.in (sizeof_struct_dirent_too_small): check if struct
...
dirent.d_name is too small.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-03 14:56:26 +00:00
nobu
90a10297d6
* configure.in (RUBY_MINGW32): take tool prefix from CC.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-03 14:55:20 +00:00
kosaki
3596d49edf
* configure.in: fix a build failure on GNU Hurd.
...
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
2011-08-30 00:13:56 +00:00
ngoto
b28715b2fb
* configure.in: use LD_LIBRARY_PATH_64 on 64-bit Solaris.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-21 05:34:51 +00:00
nobu
e9930a4b56
* process.c (proc_spawn_v, proc_spawn): should not wait the
...
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
2011-08-19 05:25:52 +00:00
mrkn
5852b97e4e
* configure.in: defines _DARWIN_UNLIMITED_SELECT if the target_os
...
is darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-19 04:20:10 +00:00
kosaki
da6eec340e
fix r32943. It did break configure.in completely.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-12 04:42:13 +00:00
kosaki
33c7e324e5
* configure.in: Desbribe "no" configure option for site_ruby
...
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
2011-08-12 02:42:51 +00:00