forked from collectd/collectd
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AMQP plugin: prefer the
rabbitmq-c/amqp.h
header if available.
At some point, RabbitMQ has moved their headers to the `rabbitmq-c/` subdirectory. The old locations still exist but throw an error, saying the old headers are "deprecated". This adds appropriate checks for the new headers to the configure script and uses those if present. To simplify both the configure script and plugin, support for ancient versions of the library is removed. This affects versions that don't have the `amqp_tcp_socket_new()` function yet.
- Loading branch information
Showing
2 changed files
with
39 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters