From 54f0f29b3d487ae04cb181ba957565662a21a5a0 Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Sun, 24 Jan 2010 13:58:17 +1000 Subject: Documentation, build system updates Document reference-related commands *: ref, getref, setref, finalize, lambda were missing Build system updates *: Add check for long long to configure *: Change -Dwith_jim_ext_... to -Djim_ext_... *: Fix jim-eventloop when compiling with no long long --- configure.ac | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index bb2d251..3c3891e 100644 --- a/configure.ac +++ b/configure.ac @@ -8,6 +8,9 @@ AC_INIT([jim], [0.62], [steveb@workware.net.au]) AC_PROG_CC AC_PROG_MAKE_SET +# Checks for types +AC_CHECK_TYPES(long long,EXTRA_CFLAGS="$EXTRA_CFLAGS -DHAVE_LONG_LONG") + # Shared library support. Because we don't believe in automake! AC_CANONICAL_HOST case $host in @@ -52,8 +55,8 @@ AC_ARG_WITH(jim-ext, AC_MSG_RESULT(enabling jim extensions: $jim_extensions) AC_SUBST(JIM_EXTENSIONS,$jim_extensions) for i in $jim_extensions; do - dnl AC_DEFINE_UNQUOTED(with_jim_ext_$i) - EXTRA_CFLAGS="$EXTRA_CFLAGS -Dwith_jim_ext_$i" + dnl AC_DEFINE_UNQUOTED(jim_ext_$i) + EXTRA_CFLAGS="$EXTRA_CFLAGS -Djim_ext_$i" done JIM_LIBTYPE=static -- cgit v1.1