diff options
Diffstat (limited to 'extconf.rb')
-rw-r--r-- | extconf.rb | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/extconf.rb b/extconf.rb deleted file mode 100644 index 2256e40..0000000 --- a/extconf.rb +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/ruby -w -# See the LICENSE file for copyright and distribution information - -require "mkmf" - -$LIBPATH.push(Config::CONFIG['libdir']) - -def crash(str) - printf(" extconf failure: #{str}\n") - exit 1 -end - - -if dir_config( "ivy" ) != [nil, nil] - inc, lib = dir_config( 'ivy' ) - $LDFLAGS << " -L#{lib} -livy" - $CFLAGS << " -I#{inc}" -else - crash(<<EOL) -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 -end - -$CFLAGS = '-DMEMWATCH ' + $CFLAGS - -create_header() -create_makefile("ivy") |