aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* Fix CFLAGS and CXXFLAGS in RbConfig::CONFIG on FreeBSD and NetBSD/amd64.knu2013-02-151-2/+9
| | | | | | | | | | | | | | | * configure.in: Fix a bug introduced in r38342 that the cflagspat substitution is messed up by the way CFLAGS and optflags are modified, which affected FreeBSD and NetBSD/amd64 when configured to use libexecinfo. This bug resulted in CFLAGS and CXXFLAGS in RbConfig::CONFIG having warnflags expanded in them, forcing third-party C/C++ extensions to follow what warnflags demands, like ANSI/ISO-C90 conformance. ref [Bug #7101] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: no Werrornobu2013-02-131-1/+10
| | | | | | | * configure.in (warnflags): disable -Werror by default unless development. [ruby-core:52131] [Bug #7830] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: Werror-implicit-function-declarationnobu2013-02-131-4/+2
| | | | | | | * configure.in (warnflags): -Werror-implicit-function-declaration haven't been used as-is, but always replaced with -Werror= or -W. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2013-02-111-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: enable rb_cv_page_size_log test for MirOS BSD.akr2013-02-111-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use -pthread on mirbsd*.akr2013-02-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add SOLIBS and LIBRUBY_SO definition for mirbsd*.akr2013-02-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: sitearchnobu2013-02-111-6/+16
| | | | | | | | * configure.in (rubysitearchprefix): sitearchdir and vendorarchdir should use sitearch, not arch. [ruby-dev:46964] [Bug #7823] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: move OS specific header/function knowledge beforeakr2013-02-111-184/+185
| | | | | | | | automatic header tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: move the test for -march=i486 just afterakr2013-02-111-23/+23
| | | | | | | | RUBY_UNIVERSAL_ARCH/RUBY_DEFAULT_ARCH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: escapenobu2013-02-091-2/+1
| | | | | | * configure.in (configure_args): escape $ for Makefile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: move header files check to the beginning ofakr2013-02-091-15/+24
| | | | | | | | | | | "header and library section". test rlim_t with sys/types.h and sys/time.h for MirOS BSD. sys/types.h and sys/time.h is gurded by #ifdef and the above move is required for this change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: empty versionnobu2013-02-091-0/+2
| | | | | | | * configure.in, version.c: prevent duplicated load paths by empty version string, it does not work right now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: fix help messagenobu2013-02-091-5/+5
| | | | | | * configure.in: fix arch parameters in help message. [Bug #7804] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix the previous commit.akr2013-02-081-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: change CFLAGS temporally to testakr2013-02-081-2/+6
| | | | | | | | ARCH_FLAG="-march=i486". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: don't define ARCH_FLAG="-march=i486" if it causesakr2013-02-081-0/+8
| | | | | | | compilation problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: define linker for shared library on MirOS BSD.akr2013-02-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: multiarch optionnobu2013-02-061-7/+24
| | | | | | | | | * configure.in (multiarch): add option to move architecture dependent directories. [Feature #6111] * template/ruby.pc.in: add arch dependent paths. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: arch dependent header directory optionsnobu2013-02-061-0/+21
| | | | | | | | * configure.in (rubyarchhdrdir, sitearchhdrdir, vendorarchhdrdir): add options to customize architecture dependent header directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: arch dependent library directory optionsnobu2013-02-061-2/+28
| | | | | | | | | | | * configure.in (rubyarchprefix, sitearchdir, vendorarchdir): add options to customize architecture dependent library directories. * template/ruby.pc.in, tool/mkconfig.rb, tool/rbinstall.rb: use configured values. * tool/mkconfig.rb: expand rubyarchdir to extract prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: RUBY_VERSION_NAMEnobu2013-02-061-1/+3
| | | | | | | | * configure.in (RUBY_VERSION_NAME), template/ruby.pc.in: add substitution and define. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: architecture namenobu2013-02-061-2/+8
| | | | | | | * configure.in, version.c: parametric architecture name for paths. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: shvar_to_cppnobu2013-02-061-47/+48
| | | | | | | | * configure.in (shvar_to_cpp): convert sh variable references by replacing with string literal forms in cpp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: clang temporary filesnobu2013-01-181-1/+1
| | | | | | | * configure.in: clang leaves temporary files when interrupted by SIGPIPE if input is not stdin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_io.c: add a test for [ruby-dev:46834].yugui2013-01-061-1/+2
| | | | | | | | | | * io.c (rb_cloexec_fcntl_dupfd) Use an emulation with dup(2) when fcntl(2) and/or F_DUPFD is unavailable. Suggested by akr. * configure.in (HAVE_FCNTL): NativeClient does not provide fcntl(2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (yes-btest): btest depends on also $(arch)-fake.rb andyugui2013-01-041-0/+3
| | | | | | | | | | | rbconfig.rb on building for NativeClient. * Makefile.in (fake): Avoid generating $(arch)-fake.rb unless cross compiling. * configure.in (CROSS_COMPILING): New substitution. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix failures on btest for NativeClient.yugui2013-01-031-1/+6
| | | | | | | | | | | * bootstraptest/runner.rb (nacl?): New method to distinguish NaCl corss build. * bootstraptest/test_io.rb: Skip unsupported operations. * bootstraptest/test_literal.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (OBJCOPY): Fixes build error for NativeClient.yugui2013-01-031-1/+1
| | | | | | | | | Avoid disabling OBJCOPY for NativeClient. * thread_pthread.c (rb_reserved_fd_p): USE_SLEEPY_TIMER_THREAD is always defined. Fixes compilation error for NativeClient. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use 4 argument form of AC_CHECK_HEADERS to forcecharliesome2012-12-301-1/+3
| | | | | | autoconf to use compiler's result git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: AC_CHECK_HEADERSnobu2012-12-291-6/+1
| | | | | | | * configure.in (crt_externs.h): use standard macro AC_CHECK_HEADERS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check for the whether crt_externs.h is present when compilingcharliesome2012-12-281-0/+6
| | | | | | | | | | | | for darwin (this header is missing in the iOS SDK) * eval_intern.h: check HAVE_CRT_EXTERNS_H before including crt_externs.h, if not defined, include missing/crt_externs.h instead * hash.c: ditto * missing/setproctitle.c: ditto * missing/crt_externs.h: declare _NSGetEnviron() function and define environ for iOS git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: enable -fPIE when checking -pie for fixingkosaki2012-12-261-1/+8
| | | | | | | OpenBSD build error. Patch by George Koehler. Thank you! [Bug #7606] [ruby-core:51082] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (NULLCMD): check in loop.nobu2012-12-151-11/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (GNUmakefile): remove -jN option from submake.nobu2012-12-151-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (HAVE_GCC_ATOMIC_BUILTINS): Set -march=i486 to enabledrbrain2012-12-141-1/+1
| | | | | | | | __sync_val_compare_and_swap. Patch by KOSAKI Motohiro. [ruby-trunk - Bug #7485] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add -fno-omit-frame-pointer if libexecinfo is used.naruse2012-12-121-0/+6
| | | | | | | | | At least on FreeBSD ruby will crash on getting C backtrace when it is compiled with other than -O0. * vm_dump.c: enable backtrace on FreeBSD even if with optimizations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in, mkmf.rb: sign extensionsnobu2012-12-101-3/+5
| | | | | | | | | | * configure.in (codesign): check identifier at link time, not configure time. * lib/mkmf.rb (LINK_SO): sign extensions too. replace empty line with default command. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: fix r37294: run only on i[3-6]86-linux.naruse2012-11-281-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: revert r37911, r37906 and r37904 which break buildngoto2012-11-281-11/+0
| | | | | | | | with non-gcc and/or non-IA32 compilers, e.g. Solaris Studio, Fujitsu C Compiler. [ruby-dev:46646] [Bug #7451] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Refix of r37904naruse2012-11-271-4/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix r37904: it forced i486 though -marh was usually i686naruse2012-11-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (opt-dir): don't use non portable flag -E of sed.naruse2012-11-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ARCH_FLAG): __sync_val_compare_and_swap_4 needsnaruse2012-11-271-3/+4
| | | | | | -march=i486 on at least linux gcc 4.1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_getsid): adds new method for getting session id.kosaki2012-11-241-1/+1
| | | | | | | | | | | Contributed from fumiyas (Fumiyasu SATOH). Thank you! [Feature #6757] [ruby-dev:45977] * configure.in: adds getsid check. * test/ruby/test_process.rb (TestProcess#test_setsid): new test for the above. * NEWS: news for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: --disable-dlnnobu2012-11-231-0/+5
| | | | | | | | * configure.in (--disable-dln): option to disable dynamic linking feature. [ruby-core:37676] [Feature #4946] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_DTRACE_AVAILABLE): only check dtrace availability.naruse2012-11-201-28/+26
| | | | | | * configure.in (RUBY_DTRACE_POSTPROCESS): restore. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add extra line to prevent syntax errornaruse2012-11-201-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: fix dtrace didn't work on darwin.naruse2012-11-201-32/+23
| | | | | | | * configure.in (RUBY_DTRACE_AVAILABLE): unify RUBY_DTRACE_POSTPROCESS and RUBY_DTRACE_BSD_BROKEN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--enable-dtrace): always call RUBY_DTRACE_BSD_BROKENnaruse2012-11-201-9/+3
| | | | | | | | | | | | | | | | for portability. As the note, FreeBSD 8 has DTrace as the optional feature (it is enabled by the build option), but doesn't have USDT. FreeBSD 9 has USDT but they are still optional. FreeBSD 10 will enable them by default. The variable $rb_cv_prog_dtrace_g is "yes" only on FreeBSD 9 with optional DTrace or FreeBSD 10. If it is "no", you cannnot know whether it doesn't need -G or DTrace is disabled. (by cheking error code, you can know) * configure.in (--enable-dtrace): change help message git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e