Sha256: d69376b6887767599e4c53f93767376556fd5ec5b9bd6b56260c9d02944747b9

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 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/escape_utils")

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
escape_utils-0.3.1 ext/escape_utils/extconf.rb
escape_utils-0.3.0 ext/escape_utils/extconf.rb