Hi Jim,

something along these lines went into the programmer's guide and will
be available in the next release. Thanks again for contributing the
chunk.

regards,
Markus

J.J. Green writes:
 > dnl  check for required libraries, we can use the autoconf
 > dnl  built-in macros
 > AC_CHECK_LIB(dl,dlopen)
 > AC_CHECK_LIB(dbi,dbi_initialize)
 > dnl  for the libdbd mysql driver we need a runtime check (since
 > dnl  the driver is loaded dynamically). replace "mysql" with the
 > dnl  required driver, of course
 > AC_MSG_CHECKING("for libdbi mysql driver (dynamic load)")
 > AC_RUN_IFELSE(
 >   [AC_LANG_PROGRAM(,
 >     [[dbi_initialize(0); return(dbi_conn_new("mysql") ? 0 : 1);]])],
 >   [AC_MSG_RESULT("yes")],
 >   [AC_MSG_FAILURE("mysql driver not installed?")])

-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users

Reply via email to