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:
Download the latest version of ax_check_mysqlr.m4 or browse the macro’s revision history.
Copyright © 2008 Can Bican email@example.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.