Ludovic Courtès
2b807ea75c
Merge branch 'master' into boehm-demers-weiser-gc
...
Conflicts:
lib/Makefile.am
m4/gnulib-cache.m4
m4/gnulib-comp.m4
2009-01-17 22:44:05 +01:00
Neil Jerram
a9931e4e1a
Fix implementation of %fast-slot-ref and %fast-slot-set!
...
* libguile/goops.c (scm_sys_fast_slot_ref, scm_sys_fast_slot_set_x):
Correct incantation for getting the number of slots of the specified
instance.
* libguile/goops.h (SCM_NUMBER_OF_SLOTS): Removed (because wrong).
* test-suite/standalone/test-fast-slot-ref.in: New standalone test.
* configure.in: Generate test-suite/standalone/test-fast-slot-ref.
* test-suite/standalone/Makefile.am (check_SCRIPTS): Add
test-fast-slot-ref.
2009-01-04 22:46:47 +00:00
Ludovic Courtès
083f810fe9
Merge branch 'master' into boehm-demers-weiser-gc
...
Conflicts:
lib/Makefile.am
libguile/struct.c
libguile/threads.c
m4/gnulib-cache.m4
m4/gnulib-comp.m4
2008-12-14 20:48:15 +01:00
Ludovic Courtès
96e3f63af0
configure: Check for <ltdl.h>.
...
* configure.in: Check for <ltdl.h>, to clarify misconfigurations.
2008-12-10 10:08:06 +01:00
Ludovic Courtès
bbfbb2a7cd
configure: Don't substitute `DLPREOPEN'.
...
* configure.in: Don't substitute `DLPREOPEN' since it's no longer used
(see commit 72db29f200
).
2008-12-10 10:08:04 +01:00
Ludovic Courtès
1f26b531ec
Use `pkg-config' to detect BDW-GC at configure-time.
...
* configure.in: Use `PKG_CHECK_MODULES' to look for libgc. This only
works with GC 7.x+, which is what we want anyway.
2008-11-10 23:37:53 +01:00
Ludovic Courtès
00b8057d1f
Merge branch 'master' into boehm-demers-weiser-gc
...
Conflicts:
libguile/threads.c
2008-11-04 19:07:07 +01:00
Neil Jerram
d8b6e19181
Avoid Stack overflow' errors when running
make check'
...
For explanation, see comments and text in the new file
libguile/measure-hwm.scm.
* .gitignore: Add libguile/stack-limit-calibration.scm.
* check-guile.in: Load libguile/stack-limit-calibration.scm.
* configure.in: Add AC_CONFIG_FILES to generate test-use-srfi from
test-use-srfi.in.
* libguile/Makefile.am (TESTS, TESTS_ENVIRONMENT,
stack-limit-calibration.scm): New targets, so that `make check'
calibrates the stack limit before running the Guile test suite.
* libguile/measure-hwm.scm: New file, calibrates stack limit for `make
check'.
* libguile/stackchk.c (scm_sys_get_stack_size): New primitive.
* libguile/stackchk.h (scm_sys_get_stack_size): New primitive
(declaration).
* test-suite/standalone/test-use-srfi: Renamed test-use-srfi.in, so
that ./configure can fill in variables in it.
* test-suite/standalone/test-use-srfi.in: Load
libguile/stack-limit-calibration.scm.
2008-10-17 22:05:54 +01:00
Ludovic Courtès
9625c900e4
configure: Look for `GC_do_blocking ()' and its declaration.
...
* configure.in: Look for `GC_do_blocking ()' and its declaration.
2008-09-18 22:49:59 +02:00
Ludovic Courtès
6f03035fe8
Merge branch 'master' into boehm-demers-weiser-gc
...
Conflicts:
libguile/Makefile.am
libguile/coop-defs.h
libguile/gc-card.c
libguile/gc-freelist.c
libguile/gc-malloc.c
libguile/gc-mark.c
libguile/gc-segment.c
libguile/gc.c
libguile/gc.h
libguile/gc_os_dep.c
libguile/hashtab.c
libguile/hashtab.h
libguile/inline.h
libguile/private-gc.h
libguile/struct.c
libguile/struct.h
libguile/threads.c
libguile/threads.h
libguile/vectors.h
libguile/weaks.h
test-suite/tests/gc.test
2008-09-10 23:09:30 +02:00
Ludovic Courtès
e0513d4d77
Merge commit ' 2e77f7202b
' into boehm-demers-weiser-gc
...
Conflicts:
libguile/threads.c
2008-09-10 22:51:46 +02:00
Ludovic Courtès
6774820f1e
Merge commit ' 29776e85da
' into boehm-demers-weiser-gc
...
Conflicts:
libguile/gc-card.c
libguile/gc.c
libguile/gc.h
libguile/ports.c
2008-09-10 22:50:04 +02:00
Ludovic Courtès
e9b8556ec9
Merge commit ' 7337d56d57
' into boehm-demers-weiser-gc
...
Conflicts:
libguile/struct.c
2008-09-10 22:44:31 +02:00
Ludovic Courtès
4a4849dbe0
Merge commit ' 0329137392
' into boehm-demers-weiser-gc
...
Conflicts:
libguile/gc.c
libguile/srcprop.c
libguile/srcprop.h
2008-09-10 22:33:40 +02:00
Ludovic Courtès
35a9197ccc
Merge commit ' f30e1bdf97
' into boehm-demers-weiser-gc
...
Conflicts:
libguile/Makefile.am
libguile/coop-pthreads.c
libguile/gc-freelist.c
libguile/gc-segment.c
libguile/gc.c
libguile/private-gc.h
test-suite/tests/environments.nottest
2008-09-10 22:27:30 +02:00
Ludovic Courtès
242ebeaf08
Get rid of Automake's "maintainer mode".
...
* NEWS: Update.
* configure.in: Remove `AM_MAINTAINER_MODE' invocation.
* doc/Makefile.am, ice-9/Makefile.am: Ignore `MAINTAINER_MODE'
conditional.
2008-09-09 18:06:37 +02:00
Ludovic Courtes
26224b3f5d
Merge from lcourtes@laas.fr--2005-mobile
...
Patches applied:
* lcourtes@laas.fr--2005-mobile/guile-core--boehm-gc--1.9 (base, patch 1)
- tag of lcourtes@laas.fr--2005-libre/guile-core--boehm-gc--1.9--base-0
- Initial hack for Boehm's GC support: nothing works.
git-archimport-id: lcourtes@laas.fr--2005-libre/guile-core--boehm-gc--1.9--patch-1
2008-09-05 00:45:58 +02:00
Ludovic Courtès
582a4997ab
Use $(GCC_CFLAGS) for `-Werror' et al. so that it's not used to compile
...
Gnulib code.
2008-08-25 22:11:53 +02:00
Neil Jerram
5ea8e76e85
Fix build failure on Debian hppa architecture (bad stack growth detection)
...
* configure.in (SCM_I_GSC_STACK_GROWS_UP): Remove use of
AC_CACHE_CHECK, which was inadvertently causing
SCM_I_GSC_STACK_GROWS_UP _always_ to be 0.
2008-08-07 23:24:31 +02:00
Ludovic Courtès
450be18dff
Handle lack of struct dirent64' and
readdir64_r ()' on HP-UX 11.11.
2008-07-17 00:20:31 +02:00
Neil Jerram
4696a66693
Improve stack direction test
...
* configure.in: Update stack direction test to be like that in
Autoconf _AC_LIBOBJ_ALLOCA and Gnulib; specifically in involving a
function calling itself.
2008-07-12 19:33:29 +01:00
Ludovic Courtès
4bdc8fb5ac
Update to Autoconf 2.61.
2008-07-06 19:53:49 +02:00
Ludovic Courtès
47871d5a16
Modernize Automake files.
2008-06-28 22:15:52 +02:00
Ludovic Courtès
92826dd0e2
Add `pkg-config' support.
2008-05-04 22:26:57 +02:00
Ludovic Courtès
56ae214817
Only run `test-with-guile-module' when pthread support is built.
2008-04-26 21:56:02 +02:00
Ludovic Courtès
25a640ca6e
Merge 1.8.4 release commit.
2008-02-21 08:41:24 +00:00
Neil Jerram
b226295af8
Release stuff: missing NEWS and 2007/2008 copyrights.
2008-02-15 23:13:59 +00:00
Neil Jerram
8cd5eae91d
configure.in: additional note suggested by Greg Troxel
2008-02-12 21:00:05 +00:00
Neil Jerram
4b26c03ec7
* numbers.c (SCM_COMPLEX_VALUE): Use GUILE_I instead of _Complex_I
...
directly, and only if GUILE_I was defined by the configure step.
(scm_log, scm_log10, scm_exp, scm_sqrt): Use SCM_COMPLEX_VALUE
code only if SCM_COMPLEX_VALUE is defined.
* configure.in (--without-64-calls): Use AC_MSG_CHECKING and
AC_MSG_RESULT instead of just echo.
(GUILE_I): New programs to try using _Complex_I or 1.0fi for the
imaginary unit.
2008-02-11 21:20:14 +00:00
Neil Jerram
32b164aacd
Default to --without-64-calls for
...
powerpc-ibm-aix*. Thanks to Rainer Tammer for reporting that the
64 calls are a problem on that OS.
2008-02-06 22:29:22 +00:00
Neil Jerram
d05bcb2ede
* fports.c (fport_seek): Make dependent on GUILE_USE_64_CALLS.
...
* _scm.h: Make definition of CHOOSE_LARGEFILE depend on
GUILE_USE_64_CALLS.
* configure.in (--without-64-calls): New option.
2008-02-05 23:14:21 +00:00
Ludovic Courtès
6630261802
Changes from arch/CVS synchronization
2007-10-10 16:46:26 +00:00
Kevin Ryde
b69471c107
(AC_CHECK_FUNCS): Move cexp and clog up into the main
...
funcs check block. Remove carg which is now unused.
2007-09-02 22:39:45 +00:00
Ludovic Courtès
6caac03c93
Changes from arch/CVS synchronization
2007-07-29 14:58:21 +00:00
Ludovic Courtès
f6b4d9b42e
Changes from arch/CVS synchronization
2007-07-29 13:52:38 +00:00
Ludovic Courtès
7337d56d57
Changes from arch/CVS synchronization
2007-07-22 16:30:13 +00:00
Ludovic Courtès
1911e3da17
Changes from arch/CVS synchronization
2007-04-17 14:12:17 +00:00
Han-Wen Nienhuys
1d8ce4c04d
* configure.in (HAVE_CRYPT): check for cexp, clog, carg
...
* numbers.c (carg): provide carg, cexp, clog in case they are
missing.
2007-04-09 14:47:41 +00:00
Kevin Ryde
b3aa4626cd
merge from 1.8 branch
2007-03-07 23:35:55 +00:00
Neil Jerram
819cd90151
* configure.in: Remove AM_GNU_GETTEXT_VERSION again.
...
* Makefile.am (EXTRA_DIST): Add config.rpath.
* config.rpath (Module): New (from gettext package).
2007-02-18 23:04:35 +00:00
Ludovic Courtès
a2f00b9b36
Changes from arch/CVS synchronization
2007-01-31 20:58:20 +00:00
Neil Jerram
0bdb025f7b
* configure.in: Do AM_GNU_GETTEXT_VERSION, so that autoreconf will
...
run autopoint.
* acinclude.m4 (AM_INTL_SUBDIR): Provide dummy definition, to work
around current autoconf/automake/gettext bug.
2007-01-28 15:58:07 +00:00
Kevin Ryde
2039f7be7d
avoid tab/space difference from 1.8
2007-01-15 23:07:49 +00:00
Kevin Ryde
45c0ff1068
merge from 1.8
2007-01-15 23:06:45 +00:00
Ludovic Courtès
b89c494395
Changes from arch/CVS synchronization
2006-11-18 18:14:55 +00:00
Ludovic Courtès
d9f71a0754
Changes from arch/CVS synchronization
2006-11-08 09:34:35 +00:00
Neil Jerram
9a5fa6e98a
* configure.in: New check for uca lib (needed for IA64 on HP-UX).
...
* threads.c (SCM_MARK_BACKING_STORE): Use scm_ia64_ar_bsp() and
scm_ia64_register_backing_store_base() instead of Linux-specific
implementations.
* gc.h (scm_ia64_register_backing_store_base, scm_ia64_ar_bsp):
New declarations.
* gc.c (__libc_ia64_register_backing_store_base): Declaration
removed.
(scm_ia64_register_backing_store_base, scm_ia64_ar_bsp): New, with
implementations for Linux and HP-UX.
* coop-pthreads.c (SCM_MARK_BACKING_STORE): Use scm_ia64_ar_bsp()
and scm_ia64_register_backing_store_base() instead of
Linux-specific implementations.
* continuations.h (__libc_ia64_register_backing_store_base):
Declaration removed.
(scm_t_contregs): New "fresh" field.
* continuations.c (ia64_getcontext): Removed.
(scm_make_continuation): Use continuation fresh field instead of
interpreting getcontext return values (which isn't portable). Use
scm_ia64_ar_bsp() and scm_ia64_register_backing_store_base()
instead of Linux-specific implementations.
(copy_stack_and_call): Use scm_ia64_register_backing_store_base()
instead of Linux-specific implementation.
* _scm.h (__ia64__): Also detect __ia64.
2006-10-25 22:37:24 +00:00
Kevin Ryde
8ab3d8a068
merge from 1.8 branch
2006-10-09 23:40:48 +00:00
Ludovic Courtès
a17d26545d
Changes from arch/CVS synchronization
2006-09-20 12:48:45 +00:00
Neil Jerram
1e2346ae93
* configure.in: Generate Makefile for emacs subdir.
...
* Makefile.am (SUBDIRS): Add emacs subdir.
* configure.in: Generate Makefile for ice-9/debugging subdir.
2006-08-18 14:19:44 +00:00