Sha256: af97c2c1d95cd185790fb11691a985785b91a17ceec0bbf4ffc23ecd54ffd78b

Contents?: true

Size: 448 Bytes

Versions: 1

Compression:

Stored size: 448 Bytes

Contents

require 'mkmf'

LIBDIR      = RbConfig::CONFIG['libdir']
INCLUDEDIR  = RbConfig::CONFIG['includedir']

HEADER_DIRS = [
  '/usr/local/include',

  INCLUDEDIR,

  '/usr/include'
]

LIB_DIRS = [
  '/usr/local/lib',

  LIBDIR,

  '/usr/lib'
]


dir_config('hunspell-1.3', HEADER_DIRS, LIB_DIRS)

if have_library('hunspell-1.3', 'Hunspell_create', ['hunspell/hunspell.h'])
then
  create_makefile('Hunspell')
else
  puts('Missing hunspell library')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hunspell-0.1.4 extconf.rb