aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-22 05:40:25 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-22 05:40:25 +0100
commit99f6da572f455b0ba17c341ec1a63c5826de3ecf (patch)
treeb4e18e283b840127c21597a857be49403b2bb06b /configure.ac
parent5d5182158a982057a9fe4c7b3f3ac81e1536f1ff (diff)
downloadsciteco-99f6da572f455b0ba17c341ec1a63c5826de3ecf.tar.gz
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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
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,