diff options
author | Tony Garnock-Jones <tonyg@kcbbs.gen.nz> | 2009-04-25 15:23:04 +0100 |
---|---|---|
committer | Tony Garnock-Jones <tonyg@kcbbs.gen.nz> | 2009-04-25 15:23:04 +0100 |
commit | 8bf174bc0a3d682ff9c8c11435008f1adf3c288f (patch) | |
tree | 8459cbf3aa335577bf71ac778200931c9667e19d /configure.ac | |
parent | f21388d2c17dd248304e67da4751382eaa9078fc (diff) | |
download | rabbitmq-c-github-ask-8bf174bc0a3d682ff9c8c11435008f1adf3c288f.tar.gz |
Start work on codegen
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
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 |