extconf.rb

Path: ext/nokogiri/extconf.rb
Last Update: Mon Mar 15 15:11:43 +0000 2010

Required files

mkmf  

Constants

ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
LIBDIR = Config::CONFIG['libdir']
INCLUDEDIR = Config::CONFIG['includedir']
HEADER_DIRS = [ # First search /opt/local for macports '/opt/local/include', '/opt/local/include/libxml2', # Then search /usr/local for people that installed from source '/usr/local/include', '/usr/local/include/libxml2', # Check the ruby install locations INCLUDEDIR, File.join(INCLUDEDIR, "libxml2"), # Finally fall back to /usr '/usr/include', '/usr/include/libxml2', ]
LIB_DIRS = [ # First search /opt/local for macports '/opt/local/lib', # Then search /usr/local for people that installed from source '/usr/local/lib', # Check the ruby install locations LIBDIR, # Finally fall back to /usr '/usr/lib', ]

[Validate]