1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-08 22:50:27 +02:00
Commit graph

309 commits

Author SHA1 Message Date
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
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
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 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
Neil Jerram
8746959cd3 * configure.in: Generate Makefile for ice-9/debugging.
* debugging/trc.scm: New file.

* debugging/traps.scm: New file.

* debugging/trace.scm: New file.

* debugging/steps.scm: New file.

* debugging/load-hooks.scm: New file.

* debugging/ice-9-debugger-extensions.scm: New file.

* debugging/example-fns.scm: New file.

* debugging/breakpoints.scm: New file.

* debugging/Makefile.am: New.

* Makefile.am (SUBDIRS): Add debugging.
2006-08-18 13:41:45 +00:00
Kevin Ryde
23f2b9a3de merge from 1.8 branch 2006-06-17 23:15:59 +00:00
Kevin Ryde
4f41661657 merge from 1.8 branch 2006-04-17 00:18:11 +00:00
Marius Vollmer
2a0d4b5559 * configure.in: Removed --enable-arrays option. 2006-02-05 22:56:51 +00:00
Neil Jerram
e363047c38 (AC_CONFIG_FILES): Removed emacs/Makefile and
ice-9/debugger/breakpoints/Makefile.
2005-07-09 15:14:18 +00:00
Marius Vollmer
46e04854a8 Add tests for socklen_t and ip_mreq. 2005-06-05 18:15:21 +00:00
Marius Vollmer
92205699d0 The FSF has a new address. 2005-05-23 19:57:22 +00:00
Kevin Ryde
6bba4fad61 (LIBGUILE_SRFI_SRFI_60): New defines. 2005-03-13 00:36:50 +00:00
Marius Vollmer
a98dbc879e * configure.in: Do not call AC_LIBLTDL_INSTALLABLE. Use
AC_CHECK_LIB instead. Do not subst LTDLINCL and LIBLTDL.  Do not
add "-DLIBLTDL_DLL_IMPORT" on MINGW32.

* Makefile.am (SUBDIRS): Removed libltdl.

* README: Talk about required external packages.

* autogen.sh: Do not call libtoolize.
2005-03-08 00:54:46 +00:00
Marius Vollmer
49aaa6d2a3 Do not check for fast or recursive mutexes. Check
for pthread_attr_getstack.
(SCM_I_GSC_USE_COOP_THREADS): Dot not subst.
(pthread_mutexattr_settype): Do not check for it.
2005-03-02 20:53:19 +00:00
Marius Vollmer
286da8bca7 (SCM_I_GSC_HAVE_ARRAYS): Removed '--disable-arrays' option. 2005-01-02 18:51:42 +00:00
Kevin Ryde
8c962eb306 (AC_SUBST): Correction, LTDLINC should be LTDLINCL, the
latter is what libtool defines.
2004-11-27 20:05:52 +00:00
Marius Vollmer
c62a2bb99f * configure.in: Call AC_LIBLTDL_INSTALLABLE instead of
AC_LIB_LTDL.
(AC_CONFIG_SUBDIRS): Added libltdl.
(DLPREOPEN, LTDLINC, LIBLTDL): Moved AC_SUBST near other libtool
stuff.  Also subst LTDLINC instead of INCLTDL.
(AC_CONFIG_FILES): Removed libguile-ltdl/Makefile and
libguile-ltdl/upstream/Makefile.

* Makefile.am (SUBDIRS): Replaced libguile-ltdl with libltdl.
2004-10-22 13:01:32 +00:00