summaryrefslogtreecommitdiff
path: root/ext/ripper/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ripper/extconf.rb')
-rw-r--r--ext/ripper/extconf.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/ripper/extconf.rb b/ext/ripper/extconf.rb
index 536e23d3ad0..f1716b84c01 100644
--- a/ext/ripper/extconf.rb
+++ b/ext/ripper/extconf.rb
@@ -9,15 +9,17 @@ def main
exit 1
end
$objs = %w(ripper.o)
- $cleanfiles.concat %w(ripper.y ripper.c ripper.output ids1 ids2)
+ $cleanfiles.concat %w(ripper.y ripper.c ripper.E ripper.output eventids1.c ids1 ids2)
$CPPFLAGS += ' -DRIPPER'
$CPPFLAGS += ' -DRIPPER_DEBUG' if $debug
create_makefile 'ripper'
end
def have_command(cmd)
- ENV['PATH'].split(File::PATH_SEPARATOR).any? {|path|
- File.executable?("#{path}/#{cmd}#{Config::CONFIG['EXEEXT']}")
+ checking_for(cmd) {
+ ENV['PATH'].split(File::PATH_SEPARATOR).any? {|path|
+ File.executable?("#{path}/#{cmd}#{Config::CONFIG['EXEEXT']}")
+ }
}
end