Sha256: 43c4cac2768f00bad89ae8d7d1240ebf9d9a3c49c16ce232be5f23963bf495c4

Contents?: true

Size: 362 Bytes

Versions: 5

Compression:

Stored size: 362 Bytes

Contents

# encoding: UTF-8
require 'mkmf'
require 'rbconfig'

$CFLAGS << ' -Wall -funroll-loops'
$CFLAGS << ' -Wextra -O0 -ggdb3' if ENV['DEBUG']

if try_compile(<<SRC)
#include <ruby.h>
int main(void) { rb_cvar_set(Qnil, Qnil, Qnil); return 0; }
SRC
  $CFLAGS << " -DRB_CVAR_SET_ARITY=3 "
else
  $CFLAGS << " -DRB_CVAR_SET_ARITY=4 "
end

create_makefile("escape_utils")

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
escape_utils-0.2.4 ext/escape_utils/extconf.rb
escape_utils-0.2.3 ext/escape_utils/extconf.rb
escape_utils-0.2.2 ext/escape_utils/extconf.rb
escape_utils-0.2.1 ext/escape_utils/extconf.rb
escape_utils-0.2.0 ext/escape_utils/extconf.rb