1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# configure.ac for XML2PMX
AC_INIT(xml2pmx, 2021-02-07, rdt@cs.queensu.ca)
AC_CONFIG_AUX_DIR(scripts)
AM_INIT_AUTOMAKE([-Wall foreign])
AC_CONFIG_SRCDIR(obx.h)
AC_CONFIG_FILES(Makefile)
AC_CONFIG_HEADERS(config.h)
AC_DEFINE(REVID, "xml2pmx", [Build id for runtime])
AC_CANONICAL_HOST
AC_PROG_CC
AC_C_CONST
AC_C_BIGENDIAN
AC_C_INLINE
AC_C_UNUSED
AC_C_USED
AC_C_NORETURN
AC_UNISTD_H
AC_DEFINE(PAGESIZE, 4096, [Notional page size for garbage collector])
AC_DEFINE(LOG_PAGESIZE, 12, [log2 of PAGESIZE])
# M64X32 allows Keiko programs (with 4-byte pointers) to run on machines
# with a 64-bit address space.
AC_CHECK_SIZEOF([int *])
if test $ac_cv_sizeof_int_p = 8; then
AC_DEFINE(M64X32, 1, [Define for 64-bit runtime with 32-bit pointers])
fi
# Indexed jumps allow the interpreter to run faster, but it works
# without them.
# AC_C_INDEXED_JUMPS
# SEGMEM allows malloc to be used for all dynamic storage allocation
AC_DEFINE(SEGMEM, 1, [Define to simulate segmented memory])
AC_DEFINE(PRELOAD, 1, [Define to use preloaded image])
AC_DEFINE(MAGIC, "OBCX", [Magic number for executables])
AC_DEFINE(SIG, 0x00030290, [OBC version signature])
AC_DEFINE(DEBUG, 1, [Debug])
AC_OUTPUT
|