File: extconf.rb

package info (click to toggle)
rhash 1.2.9-8+deb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,532 kB
  • sloc: ansic: 12,739; xml: 804; makefile: 626; java: 346; cs: 274; python: 226; perl: 173; sh: 147; ruby: 66; sed: 16
file content (12 lines) | stat: -rw-r--r-- 256 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
require 'mkmf'

if ENV['LIBRHASH_INC'] and ENV['LIBRHASH_LD']
    $CFLAGS  += ' ' + ENV['LIBRHASH_INC']
    $LDFLAGS += ' ' + ENV['LIBRHASH_LD']
else
    have_header('rhash/rhash.h')
end
$LDFLAGS += ' -lrhash'

dir_config('rhash')
create_makefile('rhash')