aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* * include/ruby/defines.h: Simplify the logic to include sys/select.h.akr2013-04-071-2/+1
| | | | | | | | | | | This fixes a compilation error on Haiku (gcc2 and gcc4). * configure.in: Use shared linker as $(CC) for Haiku. This fixes a build error on Haiku (gcc2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (AC_CHECK_HEADERS): atomic.h for Solaris atomic_ops.ngoto2013-04-061-1/+1
| | | | | | | * ruby_atomic.h: Skip using Solaris10 atomic_ops on Solaris 9 or earlier if atomic.h is not available. [ruby-dev:47229] [Bug #8228] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: gcc_majornobu2013-04-051-8/+2
| | | | | | * configure.in: use gcc_major value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: no -Wextra-token on gcc 3nobu2013-04-051-1/+8
| | | | | | | * configure.in (warnflags): -Wextra-tokens is same as -Wextra and let -Wno- options ignored on gcc 3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: -Werror=extra-tokensnobu2013-04-051-0/+1
| | | | | | | * configure.in (warnflags): bail out at extra tokens, instead continuing with lots of warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: no -include optionsnobu2013-04-051-1/+1
| | | | | | | * configure.in (XCFLAGS): stop including missing.h by command line option, as the header seems included necessary places already. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* defines.h: RUBY_SYMBOL_EXPORT_{BEGIN,END}nobu2013-04-051-0/+2
| | | | | | | * include/ruby/defines.h (RUBY_SYMBOL_EXPORT_{BEGIN,END}): visibility control macros. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: prereq 2.67nobu2013-04-011-2/+1
| | | | | | | * configure.in: skip autoconf 2.64 and 2.66, 2.67 seems short-lived but stick on it for Debian Squeeze. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: clang checknobu2013-04-011-4/+5
| | | | | | | * configure.in: should not use AC_COMPILE_IFELSE before AC_USE_SYSTEM_EXTENSIONS. [Bug #8192] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: clang checknobu2013-04-011-3/+6
| | | | | | | * configure.in: check clang version by predefined macro values. [Bug #8192] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use 'test' instead quadrigraph.ayumin2013-03-311-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use quadrigraph to put '[' or ']'. [Bug #8192]ayumin2013-03-311-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix build failure introduced by previous commitnaruse2013-03-311-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: kick old clang. [ruby-dev:47204] [Bug #8192]naruse2013-03-311-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: TYPEOF_TIMEVAL_TV_SECnobu2013-03-301-0/+18
| | | | | | | | | | * configure.in (TYPEOF_TIMEVAL_TV_SEC): check for x64-mingw, where timeval.tv_sec is not time_t. * thread.c (double2timeval): use TYPEOF_TIMEVAL_TV_SEC to get rid of overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* internal.h: use SIGNEDNESS_OF_TIME_Tnobu2013-03-261-0/+2
| | | | | | | | | * configure.in (RUBY_REPLACE_TYPE): define SIGNEDNESS_OF_type same as check_signedness of mkmf.rb. * internal.h (TIMET_MAX, TIMET_MIN, TIMET_MAX_PLUS_ONE): use SIGNEDNESS_OF_TIME_T. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compiler versionnobu2013-03-221-0/+7
| | | | | | | | * common.mk (showflags): show the compiler version. * configure.in (CC_VERSION): compiler with version option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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