1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

2 commits

Author SHA1 Message Date
yugui
5ee6b28538 merges r28327,r28329 and r28332 from trunk into ruby_1_9_2.
--
* ext/fiddle/extconf.rb: use pkg_config to find ffi.h.
--
* ext/fiddle/extconf.rb: De Morgan's laws.
--
* ext/fiddle/extconf.rb: check ffi.h even when pkg-config succeeded.
  On Debian/lenny, which is a "supported" platform, ffi.h is installed
  in /usr/include/i486-linux-gnu/.  This causes build error when using
  gcc whose target is not i486-linux-gnu.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-24 02:00:46 +00:00
tenderlove
4bada8b864 * ext/fiddle/*: Adding fiddle library to wrap libffi
* test/fiddle/*: testing fiddle extension
* ext/dl/lib/dl.rb: Requiring fiddle if it is available
* ext/dl/lib/dl/callback.rb: using Fiddle if it is available
* ext/dl/lib/dl/func.rb: ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06 06:59:24 +00:00