Top Level Namespace

Defined Under Namespace

Modules: NNG

Instance Method Summary collapse

Instance Method Details

#header?Boolean

Returns:

  • (Boolean)


7
8
9
10
# File 'ext/rbnng/extconf.rb', line 7

def header?
  have_header('nng/nng.h') ||
    find_header('nng/nng.h', '/opt/local/include', '/usr/local/include', '/usr/include')
end

#library?Boolean

Returns:

  • (Boolean)


12
13
14
15
# File 'ext/rbnng/extconf.rb', line 12

def library?
  have_library('nng', 'nng_fini') ||
    find_library('nng', 'nng_fini', '/opt/local/lib', '/usr/local/lib', '/usr/lib')
end