AXTyper 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,9 +6,15 @@ $LIBS << ' -framework Cocoa -framework Carbon -framework ApplicationServices'
6
6
  if RUBY_ENGINE == 'macruby'
7
7
  $CFLAGS << ' -fobjc-gc'
8
8
  else
9
+ if clang = `which clang`.chomp
10
+ unless RbConfig::CONFIG["CC"].match /clang/
11
+ RbConfig::MAKEFILE_CONFIG["CC"] = clang
12
+ RbConfig::MAKEFILE_CONFIG["CXX"] = clang
13
+ end
14
+ else
15
+ $stdout.puts "Clang not installed. Cannot build C extension"
16
+ end
9
17
  $CFLAGS << ' -DNOT_MACRUBY'
10
- RbConfig::MAKEFILE_CONFIG["CC"] = "clang"
11
- RbConfig::MAKEFILE_CONFIG["CXX"] = "clang"
12
18
  end
13
19
 
14
20
  create_makefile('accessibility/key_coder')
@@ -1,6 +1,6 @@
1
1
  module Accessibility
2
2
  # @return [String]
3
- VERSION = '0.7.2'
3
+ VERSION = '0.7.3'
4
4
 
5
5
  # @return [String]
6
6
  CODE_NAME = 'Clefairy'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: AXTyper
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.7.2
5
+ version: 0.7.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mark Rada