Re: Autoconf issue

Piotras <pp-VVDi8QVAvoBWk0Htik3J/[email protected]> Wed, 15 Feb 2006 11:07:19 +0100
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
Jukka Zitting <[email protected]> wrote:

> Hi,

Hi, 
 
> > What I want to do is to try compile piece of code with MySQL 4.1 only function
> > and return error if that fails. Or get somehow MySQL installed version number.
> 
> How about something like this?
> 
>     case `"$MYSQL_CONFIG" --version` in

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.

Anyway will go with this case. Thanks!

Piotras