diff options
author | Tony Garnock-Jones <tonyg@kcbbs.gen.nz> | 2009-11-25 04:37:45 +0000 |
---|---|---|
committer | Tony Garnock-Jones <tonyg@kcbbs.gen.nz> | 2009-11-25 04:37:45 +0000 |
commit | 75aceb1eebce09669bc3b354bf44168fbfbc0d3e (patch) | |
tree | 9b6cbb42c5a3fdd27ac178e7b3c8478f17517d29 | |
parent | c0824e198e9ab3d6dbd9d4fc90ee5b6d165040ce (diff) | |
download | rabbitmq-c-github-ask-75aceb1eebce09669bc3b354bf44168fbfbc0d3e.tar.gz |
Add configure option to enable 64-bit mode (-m64)
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 5e22cca..2a3d0c0 100644 --- a/configure.ac +++ b/configure.ac @@ -20,6 +20,12 @@ if test "x$GCC" = "xyes"; then fi fi +dnl Enable -m64 if we were asked to do so +AC_ARG_ENABLE(64-bit, +[ --enable-64-bit produce 64-bit library], +[CFLAGS="$CFLAGS -m64"; LDFLAGS="$LDFLAGS -m64"], +) + 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") |