[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extracting configuration info from config.status

From: Joachim Worringen
Subject: Re: Extracting configuration info from config.status
Date: Wed, 15 Oct 2008 18:12:55 +0200
User-agent: Thunderbird (Windows/20080708)

Barry Leslie wrote:

I work on plug-ins for MySQL and building a plug-in out side of the MySQL
tree requires that you configure your build with the same compiler settings
as the MySQL build that you are targeting.

If there's such a close dependency (which I find surprising - there are C API's like for shared libraries that only depend on matching 32- or 64-bit!), the better solution would be to have a location in the MySQL source tree where you can put your plugin code (as a subdirectory, here named "barry"). Then provide an option to MySQL's configure like "--with-plugin=barry". This should then configure your plugin from the MySQL configure script, and you can build it afterwards.

Your current approach is very fragile, and I would not invest effort in it. Of course, my proposal requires changes in MySQL; but after all, it's open source...


Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
phone ++49/(0)228/324 08 17 -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]