Next: ax_check_off64_t, Previous: ax_check_mysql_db, Up: The Macros
AX_CHECK_MYSQLR
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
Download the latest version of ax_check_mysqlr.m4 or browse the macro’s revision history.
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.