File: extconf.rb

package info (click to toggle)
libwrap-ruby 0.2-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 140 kB
  • ctags: 50
  • sloc: ansic: 118; makefile: 105; ruby: 26
file content (16 lines) | stat: -rwxr-xr-x 297 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env ruby

require "mkmf"

dir_config("wrap")
dir_config("ident")
if have_header("tcpd.h") and
    have_library("wrap", nil)
  have_func("hsterror")
  if have_header("ident.h") and
      have_library("ident", "ident_id")
    have_func("ident_id")
  end
  create_makefile("tcpwrap")
end