From ba88c53d22dbd1a36ae32829d7ce5ded625af8d6 Mon Sep 17 00:00:00 2001 From: Evan Weaver Date: Fri, 18 Jan 2008 23:53:27 +0000 Subject: [PATCH] swig --- ext/extconf.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ext/extconf.rb diff --git a/ext/extconf.rb b/ext/extconf.rb new file mode 100644 index 0000000..f072ab7 --- /dev/null +++ b/ext/extconf.rb @@ -0,0 +1,9 @@ + +if `which swig` !~ /no swig/ + puts "running SWIG" + $stdout.write `swig -ruby memcached.i` +end + +require 'mkmf' +dir_config 'memcached' +create_makefile 'memcached'