On Tue, 2008-10-28 at 09:59 +0100, Stefan de Konink wrote:
> Alvaro Lopez Ortega wrote:
> > We are using some sort of 'standard' MySQL detection script:
> > 
> >   http://svn.cherokee-project.com/browser/cherokee/trunk/m4/mysql.m4
> > 
> > I wonder whether he has this problem only with Cherokee.
> 
> Me too; but is clearly something that is very easy to check. Just run a 
> small test program with the mysql.h header and the detected cflags.
> 
> Make it a RFE?

AC_CHECK_LIB should be able to check for main in that library, which
basically encompasses what you suggest.

AC_CHECK_LIB([mysql], [main], ( ...else .. ) )


Cheers,
--Tim



_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to