ext/extconf.rb in ruby-filemagic-0.3.0 vs ext/extconf.rb in ruby-filemagic-0.4.0
- old
+ new
@@ -1,8 +1,9 @@
require 'mkmf'
-dir_config("magic")
-if have_library("magic", "magic_open") and have_header("magic.h")
- create_makefile("filemagic")
+dir_config('magic')
+
+if have_library('magic', 'magic_open') and have_header('magic.h')
+ create_makefile('filemagic')
else
print "*** ERROR: missing required library to compile this module\n"
end