aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in: set ac_cv_prog_cxx if CXX is supplied.mrkn2013-03-181-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Fix c++ compiler auto-selection not only formrkn2013-03-181-1/+1
| | | | | | Darwin 11.x, but also the other versions of Darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c (backtrace): on darwin use custom backtrace() to tracenaruse2013-03-181-0/+5
| | | | | | | | | beyond _sigtramp. darwin's backtrace can't trace beyond signal trampoline with sigaltstack. * configure.in: check execinfo.h on darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mingw build fixnobu2013-03-161-0/+1
| | | | | | | | | * configure.in: struct timeval is defined in winsock2.h on mingw. * include/ruby/missing.h: include time.h for time_t, and sys/time.h for timeval and timespec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check struct timeval exist or not.kosaki2013-03-161-0/+7
| | | | | | | | | | | | | * include/ruby/missing.h (struct timeval): check HAVE_STRUCT_TIMEVAL properly. and don't include sys/time.h if struct timeval exist. * file.c: include sys/time.h explicitly. * random.c: ditto. * thread_pthread.c: ditto. * time.c: ditto. * ext/date/date_strftime.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (_FORTIFY_SOURCE): added a few comments.kosaki2013-03-161-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in, file.c: RUBY_FUNCTION_NAME_STRINGnobu2013-03-141-0/+16
| | | | | | | | | * configure.in (rb_cv_function_name_string): macro for function name string predefined identifier, __func__ in C99, or __FUNCTION__ in gcc. * file.c (rb_sys_fail_path): use RUBY_FUNCTION_NAME_STRING. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: fix for old shellsnobu2013-03-131-35/+35
| | | | | | | | | * configure.in (rm, shvar_to_cpp, unexpand_shvar): local is not available on old shells. * configure.in (shvar_to_cpp): escape quotes for old shells. [Bug #7959] [Bug #8071] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: note to remove a hacknobu2013-03-091-0/+2
| | | | | | | * configure.in (rm): note to remove this hack when AC_PREREQ(2.70) or later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: suppress error messagesnobu2013-03-081-0/+14
| | | | | | | * configure.in: suppress error messages, rm: cannot remove 'conftest.dSYM', from AC_EGREP_CPP with CFLAGS=-g on Darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: fix unexpand_shvarnobu2013-03-061-1/+1
| | | | | | * configure.in (unexpand_shvar): remove guarding quotes at last. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* GNUmakefile.in: new templatenobu2013-03-061-4/+1
| | | | | | * template/GNUmakefile.in: split from configure.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in(AC_DISABLE_OPTION_CHECKING): avoid warning "WARNING: ↵eban2013-02-281-1/+3
| | | | | | Unrecognized options: --with-PACKAGE". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: escape double-quotesnobu2013-02-271-1/+1
| | | | | | | * configure.in (unexpand_shvar): escape double-quotes in backquotes in double-quotes for some shells. [Bug #7959] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: remove no longer used variablenobu2013-02-271-1/+0
| | | | | | | * configure.in (unexpand_shvar): remove variable which is no longer used since r39506. [Bug #7959] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: non-portable shell behaviornobu2013-02-261-4/+4
| | | | | | | | * configure.in (unexpand_shvar): get rid of non-portable shell behavior on OpenBSD, so no extra quotes. [Bug #7959] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: find Setup file automaticallynobu2013-02-251-15/+16
| | | | | | | | | * configure.in (setup): find Setup file from target_os 1. by suffix (e.g. Setup.nacl, Setup.atheos), 2. by "platform" option (e.g. Setup.nt, Setup.emx), and 3. default Setup. And Setup.dj had been removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix ksh/bash-ism.knu2013-02-251-1/+1
| | | | | | | | * configure.in (unexpand_shvar): Use the numeric comparison operator instead of '==' which is a ksh extention. [Bug #7941] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: quite conftestnobu2013-02-221-1/+1
| | | | | | | * configure.in (rb_cv_broken_backtrace): suppress extra output from conftest. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.c: fix for multiarch librarynobu2013-02-211-0/+3
| | | | | | | * ruby.c (ruby_init_loadpath_safe): try two levels upper for stripping libdir name. [Bug #7874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: expand libdir_basenamenobu2013-02-211-17/+15
| | | | | | | * configure.in (libdir_basename): expand with multiarch in configure, not to defer the expansion till ruby.pc.in and mkmf.rb. [Bug #7874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: libdir_basename for -rpath and -install_namenobu2013-02-211-2/+6
| | | | | | | * configure.in (libdir_basename): also -rpath and -install_name flags are affected when libruby directory changes. [Bug #7874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: target_os suffixnobu2013-02-201-0/+1
| | | | | | | | * configure.in (target_os): do not strip -gnu suffix on Linux if --target is given explicitly. [Bug #7874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: adjust libdirnamenobu2013-02-201-0/+1
| | | | | | | | | * configure.in (libdirname): adjust library path name which libruby files will be installed. [Bug #7874] * tool/rbinstall.rb (libdir): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump: FreeBSD ports' libexecinfo's backtrace(3) can't tracenaruse2013-02-181-13/+1
| | | | | | | | | | | beyond signal trampoline, and as described in r38342 it can't trace on -O because it see stack frame pointers. libunwind unw_backtrace see dwarf information in the binary and it works with -O (without frame pointers). * configure.in: remove r38342's hack and check libunwind. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check whether backtrace(3) works well or not.naruse2013-02-181-0/+58
| | | | | | * vm_dump.c: set HAVE_BACKTRACE 0 if BROKEN_BACKTRACE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: unexpand exec_prefixnobu2013-02-181-0/+1
| | | | | | * configure.in (exec_prefix): unexpand after RUBY_EXEC_PREFIX is set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* version.c: move ruby_exec_prefixnobu2013-02-181-1/+1
| | | | | | * version.c (ruby_exec_prefix): move all path configuration stuffs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: unexpand_shvarnobu2013-02-181-0/+20
| | | | | | | * configure.in (unexpand_shvar): regularize a shell variable by unexpanding shell variables in it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r39289naruse2013-02-171-21/+0
| | | | | | | * "configure.in: unexpand_shvar" it breaks $LOAD_PATH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: remove debug print.nobu2013-02-171-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: unexpand_shvarnobu2013-02-171-0/+21
| | | | | | | | * configure.in (unexpand_shvar): regularize a shell variable by unexpanding shell variables in it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Properly reflect --with-opt-dir to LIBRUBY_DLDFLAGS on all platforms.knu2013-02-161-4/+5
| | | | | | | | | | | | * configure.in (LIBRUBY_DLDFLAGS): Fix a bug where --with-opt-dir options given were not reflected to LIBRUBY_DLDFLAGS on many platforms including Linux and other GNU-based systems, NetBSD, AIX and BeOS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: don't substitute exec_prefix itselfnobu2013-02-161-1/+1
| | | | | | | | * configure.in (shvar_to_cpp): do not substitute exec_prefix itself with RUBY_EXEC_PREFIX, which cause recursive definition. [ruby-core:52296] [Bug #7860] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: unexpand exec_prefix etcnobu2013-02-161-3/+14
| | | | | | | | | * configure.in: unexpand arch sitearch and exec_prefix values, so directly specified bindir, libdir, rubyprefix, etc can be properly substituted. [ruby-core:52296] [Bug #7860] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, ext/socket/extconf.rb: test netinet/in_systm.h inakr2013-02-151-1/+1
| | | | | | | | | | | ext/socket/extconf.rb instead of configure.in. Originally, netinet/in_systm.h is included for NextStep, OpenStep, and Rhapsody. [ruby-core:1596] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: don't test xti.h here.akr2013-02-151-1/+1
| | | | | | | | | | * ext/socket/extconf.rb: test xti.h here. Originally, xti.h is included for IRIX [ruby-core:14447]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 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