From 99f6da572f455b0ba17c341ec1a63c5826de3ecf Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 22 Feb 2013 05:40:25 +0100 Subject: use typedef for SciTECO integers and make it configurable at configure time * storage size should always be 64 (gint64) to aid macro portability * however, for performance reasons users compiling from source might explicitly compile with 32 bit integers --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ffdebcb..49963c7 100644 --- a/configure.ac +++ b/configure.ac @@ -159,6 +159,12 @@ AC_ARG_WITH(default-scitecopath, [DEFAULT_SCITECOPATH=$withval], [DEFAULT_SCITECOPATH=$scitecolibdir]) AC_SUBST(DEFAULT_SCITECOPATH) +AC_ARG_WITH(teco-integer, + AS_HELP_STRING([--with-teco-integer=SIZE], + [Storage size of TECO integers in bits [default=64]]), + [TECO_INTEGER=$withval], [TECO_INTEGER=64]) +AC_DEFINE_UNQUOTED(TECO_INTEGER, $TECO_INTEGER, [Storage size of TECO integers]) + AC_ARG_ENABLE(bootstrap, AS_HELP_STRING([--enable-bootstrap], [Bootstrap using sciteco-minimal, -- cgit v1.2.3