add option to use valgrind

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-02-23 07:17:49 +00:00
commit 8086b62374
2 changed files with 12 additions and 5 deletions

View file

@ -4,8 +4,11 @@
#######################################################################
LANGUAGE = ruby
#RUBY = valgrind ruby
RUBY = ruby
ifneq (,$(USE_VALGRIND))
RUBY = valgrind --leak-check=full ruby
else
RUBY = ruby
endif
SCRIPTSUFFIX = _runme.rb
srcdir = @srcdir@
top_srcdir = @top_srcdir@