rubinius/rubinius — pull request #1498 by Gibheer (2012-01-08 17:07:31+00:00)
Title: Configure refactor

I refactored the way header and functions tests are done in configure. Now there is a method to compile code with all flags set, logging the code and a message, if it was a success.

Another part is the detection of the libc. The problem was, that the libc version was hardcoded to `libc.so.6`. That way, ffi-rzmq could not be used on freebsd or solaris, because they have version 7 and 1. To fix this this ldd is called on the ruby binary configure is run with. The output is parsed to get the used version.