blob: d4e045b81b04a455abb5d7b14361457e0fe4903b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/usr/bin/ruby -w
# See the LICENSE file for copyright and distribution information
require "mkmf"
#$LIBPATH.push(Config::CONFIG['libdir'])
def crash( )
printf(<<EOL)
extconf failure: need libivy (see http://www.tls.cena.fr/products/ivy/index.html)
Install the library or try one of the following options to extconf.rb:
--with-ivy-dir=/path/to/libivy
--with-ivy-lib=/path/to/libivy/lib
--with-ivy-include=/path/to/libivy/include
EOL
exit 1
end
dir_config( "ivy" )
have_library( 'ivy', 'IvyInit' ) || crash( )
have_header( 'ivy.h' ) || crash( )
$CFLAGS = '-DMEMWATCH -g -Wall ' + $CFLAGS
create_header()
create_makefile("ivy")
|