<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>vm/external_libs/libptr_array/LICENSE</filename>
    </added>
    <added>
      <filename>vm/external_libs/libptr_array/Makefile</filename>
    </added>
    <added>
      <filename>vm/external_libs/libptr_array/ptr_array.c</filename>
    </added>
    <added>
      <filename>vm/external_libs/libptr_array/ptr_array.h</filename>
    </added>
    <added>
      <filename>vm/external_libs/libptr_array/tester.c</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -3,7 +3,7 @@ extension do |e|
   e.files '*.c', '*.cpp'
   e.includes '.', '../../../vm/external_libs/libbstring',
              '../../../vm/external_libs/libmquark',
-             '../../../vm/external_libs/libmpa',
+             '../../../vm/external_libs/libptr_array',
              '../../../vm/external_libs/libcchash'
 
   e.pre_compile do</diff>
      <filename>lib/ext/melbourne/build.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,14 +1,19 @@
 require 'mkmf'
 
-dir_config(&quot;mquark&quot;)
-dir_config(&quot;bstring&quot;)
-dir_config(&quot;mpa&quot;)
-dir_config(&quot;cchash&quot;)
-
-have_library(&quot;bstring&quot;)
-have_library(&quot;mquark&quot;)
-have_library(&quot;ptr_array&quot;)
-have_library(&quot;cchash&quot;)
+def add_lib(name)
+  i, lib = dir_config(name)
+  $libs &lt;&lt; &quot; #{lib}/lib#{name}.a &quot;
+end
+
+add_lib(&quot;mquark&quot;)
+add_lib(&quot;bstring&quot;)
+add_lib(&quot;ptr_array&quot;)
+add_lib(&quot;cchash&quot;)
+
+#have_library(&quot;bstring&quot;)
+#have_library(&quot;mquark&quot;)
+#have_library(&quot;ptr_array&quot;)
+#have_library(&quot;cchash&quot;)
 
 $CFLAGS += &quot; -ggdb3&quot;
 </diff>
      <filename>lib/ext/melbourne/extconf.rb</filename>
    </modified>
    <modified>
      <diff>@@ -95,11 +95,11 @@ namespace :compiler do
       libs = File.expand_path &quot;../../vm/external_libs&quot;, __FILE__
       ruby &quot;extconf.rb --with-bstring-include=#{libs}/libbstring&quot; \
                      &quot; --with-mquark-include=#{libs}/libmquark&quot; \
-                     &quot; --with-mpa-include=#{libs}/libmpa&quot; \
+                     &quot; --with-ptr-array-include=#{libs}/libptr_array&quot; \
                      &quot; --with-cchash-include=#{libs}/libcchash&quot; \
                      &quot; --with-bstring-lib=#{libs}/libbstring&quot; \
                      &quot; --with-mquark-lib=#{libs}/libmquark&quot; \
-                     &quot; --with-mpa-lib=#{libs}/libmpa&quot; \
+                     &quot; --with-ptr_array-lib=#{libs}/libptr_array&quot; \
                      &quot; --with-cchash-lib=#{libs}/libcchash&quot; \
                      &quot; #{redirect}&quot;
 </diff>
      <filename>rakelib/kernel.rake</filename>
    </modified>
    <modified>
      <diff>@@ -64,7 +64,7 @@ if config.use_jit
 end
 
 EX_INC      = %w[ libtommath libgdtoa onig libffi/include
-                  libbstring libcchash libmquark libmpa
+                  libbstring libcchash libmquark libptr_array
                   libltdl libev
                 ].map { |f| &quot;vm/external_libs/#{f}&quot; }
 
@@ -140,7 +140,7 @@ field_extract_headers = %w[
   vm/builtin/weakref.hpp
 ]
 
-EXTERNALS   = %W[ vm/external_libs/libmpa/libptr_array.a
+EXTERNALS   = %W[ vm/external_libs/libptr_array/libptr_array.a
                   vm/external_libs/libcchash/libcchash.a
                   vm/external_libs/libmquark/libmquark.a
                   vm/external_libs/libtommath/libtommath.a</diff>
      <filename>rakelib/vm.rake</filename>
    </modified>
    <modified>
      <diff>@@ -68,13 +68,13 @@ ifeq ($(CPU), powerpc)
   OPTIMIZATIONS+=-falign-loops=16
 endif
 
-CPPFLAGS += -I../libcchash -I../libmpa
+CPPFLAGS += -I../libcchash -I../libptr_array
 CFLAGS += -fPIC $(CPPFLAGS)
 DEPS=quark.h
 
 SOURCES=quark.c
 OBJS=$(SOURCES:.c=.o)
-LIBS=-L../libcchash -L../libmpa -lcchash -lptr_array -lm
+LIBS=-L../libcchash -L../libptr_array -lcchash -lptr_array -lm
 %.o: %.c
 	$(COMP) $(CFLAGS) $(OPTIMIZATIONS) -c $&lt; -o $@
 </diff>
      <filename>vm/external_libs/libmquark/Makefile</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>vm/external_libs/libmpa/LICENSE</filename>
    </removed>
    <removed>
      <filename>vm/external_libs/libmpa/Makefile</filename>
    </removed>
    <removed>
      <filename>vm/external_libs/libmpa/ptr_array.c</filename>
    </removed>
    <removed>
      <filename>vm/external_libs/libmpa/ptr_array.h</filename>
    </removed>
    <removed>
      <filename>vm/external_libs/libmpa/tester.c</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>b323a8b4b53d08473a453490d7af9202d17ff375</id>
    </parent>
  </parents>
  <author>
    <name>Evan Phoenix</name>
    <email>ephoenix@engineyard.com</email>
  </author>
  <url>http://github.com/evanphx/rubinius/commit/3e0b86c11afcaae57b1805b21f355a82bfe7bba9</url>
  <id>3e0b86c11afcaae57b1805b21f355a82bfe7bba9</id>
  <committed-date>2009-11-06T11:27:37-08:00</committed-date>
  <authored-date>2009-11-06T11:27:14-08:00</authored-date>
  <message>Force extconf.rb to link things staticly</message>
  <tree>b5e603bd04350dc6b4de39baa33317144ac61d41</tree>
  <committer>
    <name>Evan Phoenix</name>
    <email>ephoenix@engineyard.com</email>
  </committer>
</commit>
