Next: , Previous: , Up: The Macros  


ax_lib_mysqlcppconn

Synopsis

   AX_LIB_MYSQLCPPCONN([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])

Description

Test for the MySQL Connector/C++ libraries

If no path to the installed library is given the macro searches under /usr, /usr/local, /opt and /opt/local.

This macro calls:

   AC_SUBST(LIBMYSQLCPPCONN_CXXFLAGS) / AC_SUBST(LIBMYSQLCPPCONN_LDFLAGS)

And sets:

  HAVE_LIBMYSQLCPPCONN

Note that this library needs to link with either MySQL client library or MySQL Connector/C to work. The macros defined here don’t take care of external dependencies so you have to do it on your own. See also AX_LIB_MYSQL macro.

Source Code

Download the latest version of ax_lib_mysqlcppconn.m4 or browse the macro’s revision history.

License

Copyright © 2011 Xiyue Deng manphiz@gmail.com

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.