diff options
author | glejeune | 2007-05-11 14:31:40 +0000 |
---|---|---|
committer | glejeune | 2007-05-11 14:31:40 +0000 |
commit | d0ccc80adef53ac25bb89be913ebcbf841c45217 (patch) | |
tree | 9c09cfe2dc0bbe4df003c32283c64aaec54bae58 | |
parent | 004feda1ff243ced707745ac3fe5706acfefd048 (diff) | |
download | ivy-ruby-d0ccc80adef53ac25bb89be913ebcbf841c45217.zip ivy-ruby-d0ccc80adef53ac25bb89be913ebcbf841c45217.tar.gz ivy-ruby-d0ccc80adef53ac25bb89be913ebcbf841c45217.tar.bz2 ivy-ruby-d0ccc80adef53ac25bb89be913ebcbf841c45217.tar.xz |
dans ext
-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") |