Next: , Previous: , Up: The Macros  


ax_check_mysqlr

Synopsis

AX_CHECK_MYSQLR

Description

First check if mysqlconfig exists. It fails if mysqlconfig is not in path. Then it checks for the libraries and replaces -lmysqlclient statement with -lmysqlclient_r statement, to enable threaded client library.

The following are exported environment variables:

  MYSQL_LIBS
  MYSQL_CFLAGS

Source Code

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

License

Copyright © 2008 Can Bican bican@yahoo.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.