summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTony Garnock-Jones <tonyg@kcbbs.gen.nz>2009-04-25 15:23:04 +0100
committerTony Garnock-Jones <tonyg@kcbbs.gen.nz>2009-04-25 15:23:04 +0100
commit8bf174bc0a3d682ff9c8c11435008f1adf3c288f (patch)
tree8459cbf3aa335577bf71ac778200931c9667e19d /configure.ac
parentf21388d2c17dd248304e67da4751382eaa9078fc (diff)
downloadrabbitmq-c-github-ask-8bf174bc0a3d682ff9c8c11435008f1adf3c288f.tar.gz
Start work on codegen
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f1fa0e9..9e27ae0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,6 +20,13 @@ if test "x$GCC" = "xyes"; then
fi
fi
+sibling_codegen_dir=$(pwd)/../rabbitmq-codegen
+AMQP_CODEGEN_DIR=$(test -d $sibling_codegen_dir && echo $sibling_codegen_dir || echo codegen)
+AMQP_SPEC_JSON_PATH=$AMQP_CODEGEN_DIR/amqp-0.8.json
+
+AC_SUBST(AMQP_CODEGEN_DIR)
+AC_SUBST(AMQP_SPEC_JSON_PATH)
+
AC_OUTPUT(
Makefile
librabbitmq/Makefile