Skip to content

Commit

Permalink
run bootstrap automatically
Browse files Browse the repository at this point in the history
if a system has an older version of autoconf installed, building the
gem's native extensions fail.  run bootstrap before configure so that
autoreconf is run and the configuration succeeds.
  • Loading branch information
Zachary Salzbank committed Jun 5, 2013
1 parent 302d933 commit ec7aef5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@
env = "ARCHFLAGS='-arch #{arch}' CPPFLAGS='-arch #{arch}'"
end

system "sh bootstrap"
system "#{env} sh configure --with-ruby=#{with_ruby} --prefix=#{prefix_dir} #{other_opts}"

0 comments on commit ec7aef5

Please sign in to comment.