Re: Autoconf issue
Piotras <pp-VVDi8QVAvoBWk0Htik3J/[email protected]> Wed, 15 Feb 2006 11:44:05 +0100
| Newsgroups | gmane.comp.web.midgard.devel |
|---|---|
| Message-ID | <[email protected]> |
Jukka Zitting <[email protected]> wrote: > 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 Yes, but we need to trigger error while configure script is running. Anyway we should see how it works in practice as autoconf doc's note for AC_RUN_IFELSE ( for example ) is "for sadist only" ;) Piotras