summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2014-08-25 22:54:28 -0700
committerAlan Antonuk <alan.antonuk@gmail.com>2014-08-25 23:00:37 -0700
commit072191a6e9815c54bac2ce276db8b7abf26c3230 (patch)
tree9ac27e11e05dfca1cf410a80ab45a6c360ee3ad3 /configure.ac
parent53286d6c69aa1290dcfc61847bae35c07c6e05aa (diff)
downloadrabbitmq-c-github-ask-072191a6e9815c54bac2ce276db8b7abf26c3230.tar.gz
Add platform, version, copyright client properties
Add 'platform' 'version', 'copyright' client-properties to start-ok method during connection handshake. Adapted from: https://github.com/synety-jdebp/rabbitmq-c/commit/e3c76e1887ff50378f6146167daa024dbd7d4eeb by: Jonathan de Boyne Pollard <jonathan.de.boyne.pollard@synety.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index df9338d..6d465b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -188,6 +188,7 @@ AM_CONDITIONAL([EXAMPLES], [test "x$enable_examples" = "xyes"])
AC_SUBST([requires_private], [$ssl_pkg_required])
AC_SUBST([libs_private], [$LIBS])
+AC_DEFINE_UNQUOTED([AMQ_PLATFORM], ["$host_os"], [Host operating system string])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
librabbitmq.pc