From: Michael R. <re...@eu...> - 2004-03-21 23:00:56
|
Hi Javi, > All works fine with some minor changes in sample.conf. See patch.txt Checked in, thanks. >>The most imnportant thing would be a better autoconf makro which does >>not only check for mysql.h, but for libmyslq, too, and add this library >>to the CFLAGS or LFLAGS. > I don't know about using Automake and Autoconf, but googleing I've found that,hope that it helps: This is not very clean. The solution I'd prefer would be completely transparent to the user, which means it would sook at several places for the header and library, if found, modify CFLAGS and LFLAGS accordingly, and define a symbol HAVE_MYSQL or so. If it doesn't find either header or lib, do nothing but undefine HAVE_MYSQL. I posted a question to a MySQL Newsgroup, maybe someone has already worked this one out. I found a sample solution within the source of "motion", but this doesn't look very clean to me, too. bye, Michael -- Michael Reinelt Tel: +43 676 3079941 Geisslergasse 4 Fax: +43 316 692343 A-8045 Graz, Austria e-mail: re...@eu... |