Macros by Category | Revision History |
AC_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
http://autoconf-archive.cryp.to/ac_check_mysqlr.m4
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.