The configure script now tries to figure out where ruby.h is located.
[strongswan.git] / src / dumm / ext / extconf.rb
1 #
2 # DUMM for Ruby
3 #
4
5 require "mkmf"
6
7 dir_config("dumm")
8
9 unless find_header('library.h', '../../libstrongswan') and
10 find_header('dumm.h', '..')
11 puts "... failed: one or more header files not found!"
12 exit
13 end
14
15 unless find_library('dumm', 'dumm_create')
16 puts "... failed: 'libdumm' not found!"
17 exit
18 end
19
20 create_makefile("dumm")
21