]> git.ipfire.org Git - thirdparty/ulogd2.git/commit
ulogd: fix cross compilation errors with mysql_config
authorHelmut Schaa <helmut.schaa@googlemail.com>
Fri, 18 Mar 2016 14:43:24 +0000 (15:43 +0100)
committerEric Leblond <eric@regit.org>
Thu, 31 Mar 2016 06:36:17 +0000 (08:36 +0200)
commit49a362eb8f9ffee4cee84ab45aa76df870ef77ec
tree19a48864f7e6e04261540070f28d060bd5f36b6b
parenta82d9cfe03679b82ab4d9586c93ad377e9e27149
ulogd: fix cross compilation errors with mysql_config

When cross-compiling ulogd, mysql_config and pg_config will return build host
configuration not build target configuration. This leads to build failures
if mysql_config is installed on the host system but mysql is not available
on the build target.

Fix this by not using mysql_config and pg_config for cross-compilation.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
acinclude.m4