aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in (ruby_pc): make configurable. [Bug #6051]nobu2012-03-021-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* define PLATFORM_DIR if needednobu2012-02-291-0/+2
| | | | | | * Makefile.in, configure.in (PLATFORM_DIR): define if needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (PLATFORM_DIR): add a variable for `win32` directory.shirosaki2012-02-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (clean-platform): add new target. It cleans `win32` directory. * common.mk (clean): add a dependency for `win32` directory. * common.mk (distclean): ditto. * common.mk (distclean-platform): add new target. It cleans `win32` directory. * common.mk ($(PLATFORM_D)): add new target to make `win32` directory. * common.mk (win32/win32.$(OBJEXT)): move win32.o into `win32` directory. * common.mk (win32/file.$(OBJEXT)): add new target for win32/file.c. * configure.in: move win32.o into `win32` directory and add win32/file.o to MISSING. * file.c (file_load_ok, rb_file_load_ok): replace static file_load_ok() with public rb_file_load_ok(). It's to link Windows implementation in win32/file.c. * file.c (rb_find_file_ext_safe): ditto. * file.c (rb_find_file_safe): ditto. * win32/file.c (rb_file_load_ok): new file. Add Windows specific optimized implementation of rb_file_load_ok(). We created a separated file to avoid too many #ifdef macro which is unreadable. * win32/Makefile.sub (PLATFORM_DIR): add a variable for `win32` directory. * win32/Makefile.sub (MISSING): move win32.obj into `win32` directory and add win32/file.obj to MISSING. * win32/Makefile.sub (MAKEDIRS): replace MINIRUBY with BASERUBY. It's because miniruby doesn't exist when making `win32` directory. * win32/Makefile.sub (clean-platform): add new target to clean `win32` directory. * win32/Makefile.sub ({$(srcdir)}.c{}.obj): make it not match win32/file.c to build properly. * win32/Makefile.sub (win32/win32.$(OBJEXT)): move win32.obj into `win32` directory. Patch created with Luis Lavena. [ruby-core:42480] [Feature #5999] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (debugflags): check if -ggdb is accepted.nobu2012-02-281-2/+4
| | | | | | [ruby-core:42875][Bug #6080] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (__builtin_unreachable): check for clang.nobu2012-02-241-0/+10
| | | | | | | | [ruby-core:42849] * include/ruby/ruby.h (UNREACHABLE): fallback definition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: allow llvm-gcc because it work fine with r34278.naruse2012-02-221-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check if -fstack-protector is really available.nobu2012-02-201-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (HEAP_ALIGN_LOG): HEAP_ALIGN_LOG should be pagenari2012-01-311-0/+23
| | | | | | | | size in OpenBSD. [ruby-core:42158][Bug #5901] * gc.c : avoid to redefine. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (SPT_TYPE): enable as SPT_REUSEARGV on Darwin.nobu2012-01-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * confiugre.in (setproctitle): removed dupcated checks.nobu2012-01-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check posix_memalign(3) and menalign(3).naruse2012-01-071-1/+1
| | | | | | | | * gc.c (aligned_malloc): use configure's result instead of _POSIX_C_SOURCE and _XOPEN_SOURCE because they can't be used to check availability at least on FreeBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: always define CANONICALIZATION_FOR_MATHN.nagachika2012-01-061-3/+1
| | | | | | [ruby-dev:45100] [Bug #5852] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: change --with-ntver to --with-winnt-ver to be moreluislavena2011-12-241-4/+4
| | | | | | descriptive in the context. [ruby-core:41794] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add --with-ntver option to match win32/configure.batluislavena2011-12-241-0/+8
| | | | | | | functionality. Set 0x0501 as default. [ruby-core:35010] [ruby-core:35035] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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