Warren Young wrote:
> Earl Miles wrote:
>> I run MySQL++ in a multi-threaded application. I have to modify the
>> Makefile to add the thread safety flag to gcc (on Linux it's -pthread;
>> it varies from platform to platform) and be sure to link using
> Check this out:
That is excellent!
> Integrating that free macro into the autoconf process is the right way
> to do the first part of what you did. This is in the Wishlist.
> But before doing this change, we should move to using a config
> subdirectory, and moving all the configuration tests into that subdir,
> cleaning up configure.in. This is also a Wishlist item.
> Once that is done, some autoconf test for selecting libmysqlclient_r
> instead of the regular library should be added.
> Patches thoughtfully considered for all of these, as always.
> I'm probably going to make a MySQL++ release fairly soon, but if someone
> gets back to me saying that you're going to work on this, I'll hold the
> release until you finish your work.
I could volunteer to do this, but I don't know that it's a good idea. My
time is not my own right now, so it would likely take me weeks (or
months) to get it on my stack. If nobody's taken care of it after my
code release, I can take a crack at it. I should familiarize myself with
autoconf anyway, I just haven't had any need to fiddle with it.