Hi Jim,
I think I should add something along these lines to the docs. Thanks
for providing the code.
regards,
Markus
J.J. Green writes:
> Hi all,
>
> I had a search for these on google but couldn't find
> anything simple -- so I did a version myself which checks
> for libdl, libdbi and that the mysql driver can be loaded
> at runtime (which is the tricky one). Perhaps this would be
> useful to others
>
> AC_CHECK_LIB(dl,dlopen,,echo "Dynamic loading library not found!",)
> AC_CHECK_LIB(dbi,dbi_initialize,,echo "DBI library not found!",)
> AC_MSG_CHECKING([for libdbi mysql driver (dynamic load)])
> AC_RUN_IFELSE(
> [AC_LANG_PROGRAM(,[[dbi_initialize(0);dbi_conn_new("mysql");]])],
> [AC_MSG_RESULT([yes])],
> [AC_MSG_FAILURE([failed - libdbd not insatlled?])])
>
> Cheers & thanks for a great library!
>
> Jim
> --
> J.J. Green, Dept. Applied Mathematics, Hicks Bld.,
> University of Sheffield, UK. +44 (0114) 222 3742
> http://pdfb.wiredworkplace.net/pub/jjg
>
>
>
>
>
> -------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libdbi-users
>
--
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/libdbi-users