Macros by Category Revision History
Search:

ac_check_mysqlr

SYNOPSIS

AC_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

http://autoconf-archive.cryp.to/ac_check_mysqlr.m4

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.