extconf: use dir_config properly
commit693beb4015cf3bfd68f76432cb3ce779e9752cc1
authorEric Wong <normalperson@yhbt.net>
Mon, 21 Mar 2011 21:12:17 +0000 (21 14:12 -0700)
committerEric Wong <normalperson@yhbt.net>
Mon, 21 Mar 2011 21:25:02 +0000 (21 14:25 -0700)
treecb43a48eb947d8334c85d3d8f4bbca4c97002daa
parent14423a47266bbb37fe0b2fe5f24cef9e26037e38
extconf: use dir_config properly

dir_config may be used to build for libatomic_ops.  The
previous use of dir_config was from back when I didn't
understand mkmf.

This means you can now use:

  gem install raindrops -- --with-atomic_ops-dir=/usr/local

If you libatomic_ops library was installed in /usr/local
instead of /usr
ext/raindrops/extconf.rb