gosu 0.7.10.1 → 0.7.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4267,7 +4267,7 @@ fi
4267
4267
 
4268
4268
 
4269
4269
 
4270
- for ac_prog in ruby1.8 ruby1.9 ruby
4270
+ for ac_prog in $GOSU_RUBY_COMMAND ruby ruby1.8 ruby1.9
4271
4271
  do
4272
4272
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4273
4273
  set dummy $ac_prog; ac_word=$2
@@ -86,7 +86,7 @@ AC_SUBST(HAVE_SYS_STAT_H)
86
86
  AC_CHECK_FUNC(eaccess, HAVE_EACCESS=-DHAVE_EACCESS)
87
87
  AC_SUBST(HAVE_EACCESS)
88
88
 
89
- AC_CHECK_PROGS(ruby, ruby1.8 ruby1.9 ruby)
89
+ AC_CHECK_PROGS(ruby, $GOSU_RUBY_COMMAND ruby ruby1.8 ruby1.9)
90
90
  RUBY_INC_DIR=`${ruby} -e 'require "rbconfig";print(Config::CONFIG[["rubyhdrdir"]] || Config::CONFIG[["archdir"]])'`
91
91
  RUBY_ARCH_DIR=`${ruby} -e 'require "rbconfig";print File.join(Config::CONFIG[["rubyhdrdir"]], Config::CONFIG[["arch"]]) if Config::CONFIG[["rubyhdrdir"]]'`
92
92
  RUBY_LIBS=`${ruby} -e 'require "rbconfig";print(Config::CONFIG[["LIBRUBYARG"]] || "-l" + Config::CONFIG[["ruby_install_name"]])'`
@@ -6,6 +6,8 @@ require 'mkmf'
6
6
 
7
7
  Dir.chdir File.dirname($0)
8
8
 
9
- exit 1 if not system('env GOSU_MAKEFILE_FOR_GEM=1 sh configure')
9
+ ruby_command = "ruby#{RUBY_VERSION[0..2]}"
10
+
11
+ exit 1 if not system("env GOSU_MAKEFILE_FOR_GEM=1 GOSU_RUBY_COMMAND=#{ruby_command} sh configure")
10
12
 
11
13
  exit 0
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: gosu
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.7.10.1
7
- date: 2008-09-12 00:00:00 +02:00
6
+ version: 0.7.10.2
7
+ date: 2008-09-18 00:00:00 +02:00
8
8
  summary: 2D game development library.
9
9
  require_paths:
10
10
  - lib