From: Ruben Kerkhof Date: Sat, 1 Aug 2015 11:01:30 +0000 (+0200) Subject: amqp: look for librabbitmq in /usr/local as well X-Git-Tag: collectd-5.5.1~68^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c1c5087fd5d9e66427cee8c98c523519d578bee6;p=collectd.git amqp: look for librabbitmq in /usr/local as well This detects it automatically on FreeBSD. Ideally we should just use pkg-config but that is left as an exercise for the reader ;) --- diff --git a/configure.ac b/configure.ac index 22c88389..8a494da8 100644 --- a/configure.ac +++ b/configure.ac @@ -3587,8 +3587,8 @@ fi # }}} --with-python # --with-librabbitmq {{{ -with_librabbitmq_cppflags="" -with_librabbitmq_ldflags="" +with_librabbitmq_cppflags="-I/usr/local/include" +with_librabbitmq_ldflags="-L/usr/local/lib" AC_ARG_WITH(librabbitmq, [AS_HELP_STRING([--with-librabbitmq@<:@=PREFIX@:>@], [Path to librabbitmq.])], [ if test "x$withval" != "xno" && test "x$withval" != "xyes"