diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2010-06-17 15:35:23 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2010-06-17 15:35:23 +0100 |
| commit | 36a6364f902bebad1950d386cb7aea9043da8948 (patch) | |
| tree | 8340419a19527778daeafc7b965675b13df6c723 /configure.ac | |
| parent | 489cfea427b6bb8a8d0a367285d53f9285fdb2b0 (diff) | |
| download | rabbitmq-c-github-ask-bug22864.tar.gz | |
Use the new extensions file (NB: this does not add synchronous basic.recover to the C client, it just unbreaks the build).bug22864
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0269bd3..c3f1bb7 100644 --- a/configure.ac +++ b/configure.ac @@ -31,6 +31,8 @@ AC_MSG_CHECKING(location of AMQP codegen directory) sibling_codegen_dir="$ac_abs_confdir/../rabbitmq-codegen" AMQP_CODEGEN_DIR=$(test -d "$sibling_codegen_dir" && echo "$sibling_codegen_dir" || echo "$ac_abs_confdir/codegen") AMQP_SPEC_JSON_PATH="$AMQP_CODEGEN_DIR/amqp-0.8.json" +AMQP_EXTENSIONS_JSON_PATH="$AMQP_CODEGEN_DIR/rabbitmq-0.8-extensions.json" + if test -f "$AMQP_SPEC_JSON_PATH" then AC_MSG_RESULT($AMQP_CODEGEN_DIR) @@ -38,6 +40,13 @@ else AC_MSG_ERROR(could not find AMQP spec file at "'$AMQP_SPEC_JSON_PATH'") fi +if test -f "$AMQP_EXTENSIONS_JSON_PATH" +then + AC_MSG_RESULT($AMQP_EXTENSIONS_DIR) +else + AC_MSG_ERROR(could not find extensions spec file at "'$AMQP_EXTENSIONS_JSON_PATH'") +fi + AC_MSG_CHECKING(finding a python with simplejson installed) found_python=no checkPython() { @@ -62,6 +71,7 @@ fi AC_SUBST(AMQP_CODEGEN_DIR) AC_SUBST(AMQP_SPEC_JSON_PATH) +AC_SUBST(AMQP_EXTENSIONS_JSON_PATH) AC_SUBST(PYTHON) # Check for libpopt, which we need to build the tools |
