File: extconf.rb

package info (click to toggle)
libshadow-ruby 1.4-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 64 kB
  • ctags: 30
  • sloc: ruby: 264; ansic: 225; makefile: 53
file content (21 lines) | stat: -rw-r--r-- 410 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#                                          -*- ruby -*-
# Time-stamp: "98/07/15 16:57:21 tateishi"
#

require 'mkmf'

$CFLAGS = ""
$LDFLAGS = ""

ok  = have_func("getpwnam")
ok &= have_func("sgetspent")
ok &= have_func("fgetspent")
ok &= have_func("setspent")
ok &= have_func("endspent")
ok &= have_func("getspent")
ok &= have_func("lckpwdf")
ok &= have_func("ulckpwdf")

if ok
  create_makefile("shadow")
end