diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-09-09 06:44:20 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-09-09 06:44:20 +0000 |
commit | 390bbfed581a17fac72a9e029624fd667d81a0c8 (patch) | |
tree | 87f82dde592fe5c333438a93c869e46530e645d9 /ext/fiddle | |
parent | 1048cf39d0a7fa38f3ced149ec7b141f5bb3f5c6 (diff) |
merge revision(s) 35687:35691:
* ext/zlib/extconf.rb: Use an exception instaed of bare puts.
* ext/psych/extconf.rb: Use an exception instaed of bare abort.
* ext/fiddle/extconf.rb: Use an exception instaed of bare abort.
* ext/readline/extconf.rb: Use an exception instead of bare exit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/fiddle')
-rw-r--r-- | ext/fiddle/extconf.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fiddle/extconf.rb b/ext/fiddle/extconf.rb index 03b0ac2765..78622b6a6f 100644 --- a/ext/fiddle/extconf.rb +++ b/ext/fiddle/extconf.rb @@ -9,12 +9,12 @@ unless have_header('ffi.h') if have_header('ffi/ffi.h') $defs.push(format('-DUSE_HEADER_HACKS')) else - abort "ffi.h is missing. Please install libffi." + raise "ffi.h is missing. Please install libffi." end end unless have_library('ffi') || have_library('libffi') - abort "libffi is missing. Please install libffi." + raise "libffi is missing. Please install libffi." end have_header 'sys/mman.h' |