aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* static-linked-ext: no ext/libext.anobu2012-05-191-1/+1
| | | | | | | * configure.in: no ext/libext.a, an archive library cannot be made from other archive libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use LIBEXTnobu2012-05-191-2/+2
| | | | | | | | * Makefile.in (LIBEXT): add macro. * configure.in (ENCOBJS, EXTOBJS): use LIBEXT, not hardcoded suffix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix NaCl supportnobu2012-05-171-1/+1
| | | | | | | | | * configure.in: fix function name to be checked, to initialize rb_thread_cond_t properly. * thread_pthread.c (native_cond_initialize, native_cond_destroy): fix macro name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imports Ruby's port to NativeClient (a.k.a NaCl).yugui2012-05-171-7/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Google Inc. [ruby-core:45073]. * configure.in (RUBY_NACL): New M4 func to configure variables for NaCl. (RUBY_NACL_CHECK_PEPPER_TYPES): New M4 func to check the old names of Pepper interface types. (BTESTRUBY): New variable to specify which ruby should be run on "make btest". NaCl can run the built binary by sel_ldr, but it need rbconfig.rb. So this variable is distinguished from $MINIRUBY. * thread_pthread.c: Disabled some features on NaCl. * io.c: ditto. * process.c: ditto. * signal.c: ditto. * file.c: ditto. * missing/flock.c: ditto. * nacl/pepper_main.c: An example implementation of Pepper application that embeds Ruby. * nacl/example.html: An example of web page that uses the Pepper application. * nacl/nacl-config.rb: Detects variants of NaCl SDK. * nacl/GNUmakefile.in: Makefile template for NaCl specific build process. * nacl/package.rb: script for packaging a NaCl-Ruby embedding application. * nacl/reate_nmf.rb: Wrapper script of create_nmf.py * dln.c (dln_load): Added a hack to call on NaCl. * util.c (ruby_getcwd): Path to the current directort is not available on NaCl. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (PIE): fix operator.nobu2012-05-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: Fix an unbalanced quote.yugui2012-05-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: use single quotesnobu2012-05-161-14/+14
| | | | | | | | * configure.in (LD): enclose with single qoutes but not double quotes not to expand command substitution. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Supports static linking of extensions and encodings again.yugui2012-05-161-15/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes --with-static-linked-ext. Patch by Google Inc. [ruby-core:45073]. * Makefile.in (ENCOBJS, EXTOBJS): New variables to specify static linked libraries. Also reintroduces extinit.o, introduces encinit.o introduces encinit.o * common.mk: Builds static libraries rather than shared objects if specified. * configure.in (LD): new substitution. Avoids PIE if s * enc/depend: Supports static linked libraries (libencs, libenc, libtrans): New target. * enc/encinit.c.erb: new template to generate the initialization of statically linked encodings. * enc/make_encmake.rb (--module): new flag to specify whether static or dynamic. * transcode_data.h (TRANS_INIT): New macro to get rid of the name collision of encoding initializers and transcoder initializers. * ext/extmk.rb: Fixes the behavior on $extstatic is true. * lib/mkmf.rb (clean-static): new target to clean up static linked libraries. * ruby.c (process_options): New initializes statically linked encodings here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: fix for BSD makenobu2012-05-081-1/+2
| | | | | | | | * configure.in (POSTLINK): default to : command to get rid of flag only command, since BSD make does not work with it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* codesignnobu2012-05-071-0/+5
| | | | | | | * Makefile.in (PROGRAM), configure.in (POSTLINK): sign built program using RUBY_CODESIGN identity. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bug #6370nobu2012-04-301-1/+1
| | | | | | * configure.in (optflags): fixed typo. [ruby-core:44679][Bug #6370] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (optflags): disable unsafe optimizations.nobu2012-04-301-1/+3
| | | | | | | [ruby-core:44679][Bug #6370] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (optflags): disable unsafe optimizations.nobu2012-04-301-2/+10
| | | | | | | [ruby-core:44679][Bug #6370] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: disable rubygems not to load rbconfig.rb beforenobu2012-04-231-1/+6
| | | | | | fake.rb. [ruby-core:44492][Bug #6329] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (DOT, DOXYGEN): use AC_CHECK_PROGS instead ofnobu2012-04-181-4/+4
| | | | | | | | | AC_CHECK_PROG which needs the third argument. [ruby-core:44433] [Bug #6316] * configure.in (PKG_CONFIG): fix condition to skip older version of pkg-config. continue in backticks does not affect outside. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_SO_NAME): expand version numbers in Makefile.nobu2012-04-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (gmtime_r, localtime_r): POSIX compliant reentrantnobu2012-04-161-0/+1
| | | | | | | versions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_MSVCRT_VERSION): define on mingw too.nobu2012-04-161-0/+3
| | | | | | | | * win32/Makefile.sub (config.h): prefix RT_VER with RUBY and make more descriptive to get rid of potential conflict. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (NO_RUBY_VENDOR_LIB): fix missing comma.nobu2012-04-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (UNREACHABLE): gcc 4.4 eliminates unreachable codenobu2012-04-141-0/+2
| | | | | | | if -O3 is given. * win32/win32.c (child_result): dropped colon. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (obj2uid, obj2gid): allow strings as input user/group id.nobu2012-03-281-1/+1
| | | | | | | [ruby-core:40923][Feature #5610] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (verconf.h): separate load path specific stuff fromnobu2012-03-271-16/+19
| | | | | | | config.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (Makefile): get rid of confliction with -j.nobu2012-03-231-7/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert "* configure.in (Makefile): get rid of confliction with -j."naruse2012-03-221-2/+4
| | | | | | This reverts commit r35104 because it breaks build on FreeBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (Makefile): add missing test.nobu2012-03-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (Makefile): check with svn info, since svn 1.7 doesn'tnobu2012-03-221-5/+8
| | | | | | have .svn under descendent directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (Makefile): get rid of confliction with -j.nobu2012-03-221-4/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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