From 75aceb1eebce09669bc3b354bf44168fbfbc0d3e Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Wed, 25 Nov 2009 04:37:45 +0000 Subject: Add configure option to enable 64-bit mode (-m64) --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) 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") -- cgit v1.2.1