Re: Autoconf issue

Jukka Zitting <[email protected]> Wed, 15 Feb 2006 12:38:38 +0200
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
Hi,

On 2/15/06, Piotras <[email protected]> wrote:
> mysql_config was the first thing which came to my mind , but I remember wierd issues
> with Apache version "strings" while checking was made for dg and midgard-php.

I agree that mysql_config --version isn't the most accurate way to do
the check, but I think that we should try keeping the configure script
as simple as possible.

To get a more accurate version check you could always add something
like this in src/midgard.c:

    #include <mysql.h>
    #if MYSQL_VERSION_ID < 40100
    #error "MySQL version is less than 4.1!. You should upgrade MySQL"
    #endif

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - [email protected]
Software craftmanship, JCR consulting, and Java development