summaryrefslogtreecommitdiff
path: root/configure.in
AgeCommit message (Collapse)Author
2013-04-01configure.in: prereq 2.67nobu
* 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
2013-04-01configure.in: clang checknobu
* 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
2013-04-01configure.in: clang checknobu
* 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
2013-03-31* configure.in: use 'test' instead quadrigraph.ayumin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-31* configure.in: use quadrigraph to put '[' or ']'. [Bug #8192]ayumin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-31Fix build failure introduced by previous commitnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-31* configure.in: kick old clang. [ruby-dev:47204] [Bug #8192]naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-30thread.c: TYPEOF_TIMEVAL_TV_SECnobu
* 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
2013-03-26internal.h: use SIGNEDNESS_OF_TIME_Tnobu
* 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
2013-03-22compiler versionnobu
* 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
2013-03-18* configure.in: set ac_cv_prog_cxx if CXX is supplied.mrkn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-18* configure.in: Fix c++ compiler auto-selection not only formrkn
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
2013-03-18* vm_dump.c (backtrace): on darwin use custom backtrace() to tracenaruse
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
2013-03-16mingw build fixnobu
* 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
2013-03-16* configure.in: check struct timeval exist or not.kosaki
* 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
2013-03-16* configure.in (_FORTIFY_SOURCE): added a few comments.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14configure.in, file.c: RUBY_FUNCTION_NAME_STRINGnobu
* 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
2013-03-13configure.in: fix for old shellsnobu
* 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
2013-03-09configure.in: note to remove a hacknobu
* 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
2013-03-08configure.in: suppress error messagesnobu
* 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
2013-03-06configure.in: fix unexpand_shvarnobu
* 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
2013-03-06GNUmakefile.in: new templatenobu
* template/GNUmakefile.in: split from configure.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-28* configure.in(AC_DISABLE_OPTION_CHECKING): avoid warning "WARNING: ↵eban
Unrecognized options: --with-PACKAGE". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-27configure.in: escape double-quotesnobu
* 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
2013-02-27configure.in: remove no longer used variablenobu
* 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
2013-02-26configure.in: non-portable shell behaviornobu
* 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
2013-02-25configure.in: find Setup file automaticallynobu
* 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
2013-02-25Fix ksh/bash-ism.knu
* 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
2013-02-22configure.in: quite conftestnobu
* 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
2013-02-21ruby.c: fix for multiarch librarynobu
* 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
2013-02-21configure.in: expand libdir_basenamenobu
* 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
2013-02-21configure.in: libdir_basename for -rpath and -install_namenobu
* 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
2013-02-20configure.in: target_os suffixnobu
* 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
2013-02-20configure.in: adjust libdirnamenobu
* 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
2013-02-18* vm_dump: FreeBSD ports' libexecinfo's backtrace(3) can't tracenaruse
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
2013-02-18* configure.in: check whether backtrace(3) works well or not.naruse
* 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
2013-02-18configure.in: unexpand exec_prefixnobu
* 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
2013-02-18version.c: move ruby_exec_prefixnobu
* 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
2013-02-18configure.in: unexpand_shvarnobu
* 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
2013-02-17Revert r39289naruse
* "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
2013-02-17* configure.in: remove debug print.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-17configure.in: unexpand_shvarnobu
* 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
2013-02-16Properly reflect --with-opt-dir to LIBRUBY_DLDFLAGS on all platforms.knu
* 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
2013-02-16configure.in: don't substitute exec_prefix itselfnobu
* 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
2013-02-16configure.in: unexpand exec_prefix etcnobu
* 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
2013-02-15* configure.in, ext/socket/extconf.rb: test netinet/in_systm.h inakr
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
2013-02-15* configure.in: don't test xti.h here.akr
* 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
2013-02-15Fix CFLAGS and CXXFLAGS in RbConfig::CONFIG on FreeBSD and NetBSD/amd64.knu
* 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
2013-02-13configure.in: no Werrornobu
* 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
2013-02-13configure.in: Werror-implicit-function-declarationnobu
* 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