From a3224c0434ce2c11f37bbeb4bb44a343771a6f7f Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Mon, 4 Jan 2016 11:29:03 +1100 Subject: configure.ac: Add --enable-64-bit-words option The old 32 bit words the default which can be overridded with this configure option. --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 46cb916b..993ac336 100644 --- a/configure.ac +++ b/configure.ac @@ -269,6 +269,15 @@ AC_ARG_ENABLE(werror, AC_ARG_ENABLE(stack-smash-protection, AC_HELP_STRING([--enable-stack-smash-protection], [Enable GNU GCC stack smash protection])) +AC_ARG_ENABLE(64-bit-words, + AC_HELP_STRING([--enable-64-bit-words], [Set FLAC__BYTES_PER_WORD to 8 (4 is the default)])) +if test "x$enable_64_bit_words" = xyes ; then + AC_DEFINE_UNQUOTED([ENABLE_64_BIT_WORDS],1,[Set FLAC__BYTES_PER_WORD to 8 (4 is the default)]) +else + AC_DEFINE_UNQUOTED([ENABLE_64_BIT_WORDS],0) + fi +AC_SUBST(ENABLE_64_BIT_WORDS) + AC_ARG_ENABLE(valgrind-testing, AC_HELP_STRING([--enable-valgrind-testing], [Run all tests inside Valgrind]), [case "${enableval}" in -- cgit v1.2.1