|
|
@ -15,31 +15,6 @@ |
|
|
|
require 'etc' |
|
|
|
require 'etc' |
|
|
|
require 'mkmf' |
|
|
|
require 'mkmf' |
|
|
|
|
|
|
|
|
|
|
|
LIBDIR = RbConfig::CONFIG['libdir'] |
|
|
|
|
|
|
|
INCLUDEDIR = RbConfig::CONFIG['includedir'] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HEADER_DIRS = [ |
|
|
|
|
|
|
|
# Search /opt/local (Mac source install) |
|
|
|
|
|
|
|
'/opt/local/include', |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Search /usr/local (Source install) |
|
|
|
|
|
|
|
'/usr/local/include', |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check the ruby install locations |
|
|
|
|
|
|
|
INCLUDEDIR |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LIB_DIRS = [ |
|
|
|
|
|
|
|
# Search /opt/local (Mac source install) |
|
|
|
|
|
|
|
'/opt/local/lib', |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Search /usr/local (Source install) |
|
|
|
|
|
|
|
'/usr/local/lib', |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check the ruby install locations |
|
|
|
|
|
|
|
LIBDIR |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
windows = RUBY_PLATFORM =~ /mingw|mswin/ |
|
|
|
windows = RUBY_PLATFORM =~ /mingw|mswin/ |
|
|
|
bsd = RUBY_PLATFORM =~ /bsd/ |
|
|
|
bsd = RUBY_PLATFORM =~ /bsd/ |
|
|
|
|
|
|
|
|
|
|
|