summaryrefslogtreecommitdiff
path: root/lib/mkmf.rb
AgeCommit message (Collapse)Author
2013-07-29mkmf.rb: expand all macrosnobu
* lib/mkmf.rb (xsystem): expand environment variable in all macros not expanded with RbConfig. [Bug #8702] * test/mkmf/test_framework.rb (create_framework): replace all $@ not only once. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-18* lib/cgi.rb: [DOC] Capitalize "Ruby" in documentation [Fixes GH-341]zzak
Patch by Dave Worth https://github.com/ruby/ruby/pull/341 * lib/webrick.rb: ditto * lib/scanf.rb: ditto * lib/xmlrpc/config.rb: ditto * lib/resolv.rb: ditto * lib/e2mmap.rb: ditto * lib/fileutils.rb: ditto * lib/mkmf.rb: ditto * lib/cgi/session.rb: ditto * lib/yaml.rb: ditto * lib/erb.rb: ditto * lib/irb.rb: ditto * lib/tracer.rb: ditto * lib/net/http.rb: ditto * ext/syslog/lib/syslog/logger.rb: ditto * sample/pty/expect_sample.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-05mkmf.rb: config_stringnobu
* lib/mkmf.rb (CPPOUTFILE): use config_string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-05* lib/mkmf.rb (CONFIG['CPPOUTFILE']): fix r41769; CONFIG['CPPOUTFILE']naruse
may be nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-04mkmf.rb: old syntaxnobu
* lib/mkmf.rb (have_framework): get rid of newer syntax to run with ruby 1.8 for cross compiling. [ruby-core:55745] [Bug #8593] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-04mkmf.rb: header in frameworknobu
* lib/mkmf.rb (have_framework): allow header file to check. [ruby-core:55745] [Bug #8593] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-04mkmf.rb: CONFTESTnobu
* lib/mkmf.rb (CONFTEST): constify hardcoded filename. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-03mkmf.rb: revert DESTDIR prefixnobu
* lib/mkmf.rb (install_dirs): revert DESTDIR prefix by r39841, since it is fixed by r41648. [ruby-core:55760] [Bug #8115] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-02* lib/mkmf.rb (try_config): Fix to not replace $LDFLAGS with $libssorah
(1.9.3 behavior) [ruby-core:55752] [Bug #8595] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-26mkmf.rb: use expanded valuesnobu
* lib/mkmf.rb: should use expanded values for header directories unless extmk. patch by vo.x (Vit Ondruch) at [ruby-core:55653] [Bug #8115], rhbz#921650. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-12Update rdoc for pkg_config() and move :stopdoc: below to enable it.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-11Update documentation for pkg_config().knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-13* lib/mkmf.rb (MakeMakefile#create_makefile): remove {$(VPATH)} othernaruse
than nmke. * ext/ripper/depend: use VPATH expecting removed by above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-13mkmf.rb: timestamp directorynobu
* lib/mkmf.rb (timestamp_file): gather timestamp files in one directory from each extension directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-13* lib/mkmf.rb (MakeMakefile#create_makefile): output new macrousa
disthdrdir to specify the path of id.h, parse.h and etc. * ext/ripper/depend: use above macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-13* lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h,akr
ruby/st.h and ruby/subst.h for ruby_headers in generated Makefile. * ext/-test-/old_thread_select/depend: Update dependencies. * ext/-test-/wait_for_single_fd/depend: Ditto. * ext/bigdecimal/depend: Ditto. * ext/curses/depend: Ditto. * ext/digest/bubblebabble/depend: Ditto. * ext/digest/depend: Ditto. * ext/digest/md5/depend: Ditto. * ext/digest/rmd160/depend: Ditto. * ext/digest/sha1/depend: Ditto. * ext/digest/sha2/depend: Ditto. * ext/dl/callback/depend: Ditto. * ext/dl/depend: Ditto. * ext/etc/depend: Ditto. * ext/nkf/depend: Ditto. * ext/objspace/depend: Ditto. * ext/pty/depend: Ditto. * ext/readline/depend: Ditto. * ext/ripper/depend: Ditto. * ext/sdbm/depend: Ditto. * ext/socket/depend: Ditto. * ext/stringio/depend: Ditto. * ext/strscan/depend: Ditto. * ext/syslog/depend: Ditto. * ext/-test-/num2int/depend: Removed. * ext/dbm/depend: Ditto. * ext/fcntl/depend: Ditto. * ext/gdbm/depend: Ditto. * ext/racc/cparse/depend: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-11mkmf.rb: suppress warningsnobu
* lib/mkmf.rb (try_func, try_var, scalar_ptr_type, scalar_type): suppress implicit-function-declaration warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-10* lib/mkmf.rb (pkg_config): Add optional argument "option".naruse
If it is given, it returns the result of `pkg-config --<option> <pkgname>`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-09mkmf.rb: timestamp directorynobu
* lib/mkmf.rb (timestamp_file): gather timestamp files in one directory from each extension directories, with considering target_prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-08Revert r40194 "mkmf.rb: timestamp directory"naruse
It breaks build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-08mkmf.rb: timestamp directorynobu
* lib/mkmf.rb (timestamp_file): gather timestamp files in one directory from each extension directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-03* ext/extmk.rb (extmake): Use Logging.open to switch stdout andakr
stderr. Delay Logging::log_close until the failure message is written. Write the failure message only if log file is opened. * lib/mkmf.rb (Logging.log_opened?): New method. [ruby-dev:47215] [Bug #8209] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-29mkmf.rb: no CFLAGS in CXXFLAGSnobu
* lib/mkmf.rb (configuration): not include all CFLAGS in CXXFLAGS, to use different set than C for C++. [ruby-core:45273] [Bug #6504] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-28mkmf.rb: force refererence in MAIN_DOES_NOTHINGnobu
* lib/mkmf.rb (MAIN_DOES_NOTHING): ensure symbols for tests to be preserved. [ruby-core:53745] [Bug #8169] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26mkmf.rb: force refererence in MAIN_DOES_NOTHINGnobu
* lib/mkmf.rb (MAIN_DOES_NOTHING): force to refer symbols for tests to be preserved. [ruby-core:53745] [Bug #8169] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-20mkmf.rb: format messagenobu
* lib/mkmf.rb (find_library): fix to format message. [ruby-core:53568] [Bug #8130] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-20mkmf.rb: prefix install_dirs only with DESTDIRnobu
* lib/mkmf.rb (install_dirs, with_destdir): prefix with DESTDIR directories to install only unless bundled extension libraries. [ruby-core:53502] [Bug #8115] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11mkmf.rb: defer use of instance variablenobu
* lib/mkmf.rb (MakeMakefile#dir_config, MakeMakefile#_libdir_basename): defer use of instance variable until needed. [Bug #8074] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-03mkmf.rb: libpath_envnobu
* lib/mkmf.rb (MakeMakefile#libpath_env): ignore empty LIBPATHENV. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-03mkmf.rb: libpath_envnobu
* lib/mkmf.rb (MakeMakefile#libpath_env): set runtime library path for the case rpath is disabled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02mswin: static-linked-extnobu
* enc/depend (CPPFLAGS), lib/mkmf.rb (MakeMakefile#create_makefile): define RUBY_EXPORT for static-linked-ext mswin. [Bug #7960] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-25mkmf.rb: default libdirnamenobu
* lib/mkmf.rb (MakeMakefile#init_mkmf): default libdirname to libdir. * tool/rbinstall.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22mkmf.rb: adjust default library pathnobu
* lib/mkmf.rb (MakeMakefile#init_mkmf): adjust default library path for multiarch. [Bug #7874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-17mkmf.rb: remove extra topdir in VPATHnobu
* lib/mkmf.rb: remove extra topdir in VPATH, which was in win32/Makefile.sub for some reason and moved from there. [ruby-dev:46998] [Bug #7864] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-15mkmf.rb: fail if cross compilingnobu
* lib/mkmf.rb (MakeMakefile#try_run): bail out explicitly if cross compiling, because it cannot work of course. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08mkmf.rb: RUBY_VERSION_NAMEnobu
* lib/mkmf.rb (MakeMakefile#configuration): set all ruby names. hdrdir now needs RUBY_VERSION_NAME. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07mkmf.rb: fix merge_libsnobu
* lib/mkmf.rb (MakeMakefile#merge_libs): insert following reversal ordered elements just after the duplicated element, not overwriting successive elements. [ruby-core:50314] [Bug #7467] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06configure.in: arch dependent header directory optionsnobu
* 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
2013-01-25 * lib/mkmf.rb: Documented MakeMakefile constants. Hid implementationdrbrain
details from RDoc git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-23mkmf.rb: large unsignednobu
* lib/mkmf.rb (MakeMakefile#try_constant): fix for large unsigned. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-23mkmf.rb: larger constantsnobu
* lib/mkmf.rb (MakeMakefile#try_constant): fix for larger constants. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-21mkmf.rb: $extmk for symlinknobu
* lib/mkmf.rb ($extmk): traverse parent directories for the case srcdir is a symlink. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-20vpath.rb: hack for msys makenobu
* tool/vpath.rb (VPath#def_options): hack for msys make, which converts a command line argument to non-msys command seems like a path list automagically. [Bug #7710] [ruby-core:51489] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-10configure.in, mkmf.rb: sign extensionsnobu
* 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
2012-12-05mkmf.rb: different strings from conflict markersnobu
* lib/mkmf.rb (MakeMakefile#macro_defined?): use clearly different strings from conflict markers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-28mkmf.rb: each_compile_rulesnobu
* lib/mkmf.rb (MakeMakefile#each_compile_rules): splat $(*VPATH*) for each VPATH elements. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-23mkmf.rb: mingw64+MSYS pkg-config fixnobu
* lib/mkmf.rb (MakeMakefile#pkg_config): strip all white spaces for mingw64+MSYS pkg-config which errouneously emits extra newlines. [ruby-core:47998] [Bug #7163] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-02mkmf.rb: timestamp_filenobu
* lib/mkmf.rb (MakeMakefile#timestamp_file): remove @ which looks like configure variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-02mkmf.rb: timestamp_filenobu
* lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a special character of NMAKE and BSD make. [Bug #7265] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01mkmf.rb: timestamp_filenobu
* lib/mkmf.rb (MakeMakefile#timestamp_file): use ! instead of %, a GNU make special character. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e