summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Expand)AuthorAgeFilesLines
...
| * fix AC_CHECK_DECLS for `alarm'...* configure.ac: Fix decl check for `alarm'. Jason Earl2013-03-101-1/+1
| * provide getlogin declaration if needed....* configure.ac: Check for getlogin decl. * libguile/posix.c: Declare getlogin if needed. Andy Wingo2013-03-091-1/+1
| * portability simplification with scmsigs.c and alarm...* configure.ac (alarm): Check for decl. * libguile/scmsigs.c: Reorder includes to put system includes first. Fixes include order on mingw. Remove #define for alarm, as we will use HAVE_DECL_ALARM. Remove #defines for sleep and usleep, as they are not used. (scm_alarm): Only define if HAVE_DECL_ALARM. Andy Wingo2013-03-091-0/+2
| * squish remove some mingw-specific code that is covered by gnulib...* libguile/socket.c (scm_init_socket): Remove mingw-specific code. * libguile/fports.c: Remove ftruncate redefine; mingw is fine. (scm_i_fdes_to_port): If we have no F_GETFL, just do an fstat. The right place for an F_GETFL replacement would be in gnulib. (fport_input_waiting): Remove an outdated comment. * libguile/error.c (SCM_I_STRERROR, SCM_I_ERRNO): Remove, replacing uses with strerror and errno. * libguile/win32-socket.c: * libguile/win32-socket.h: Remove. Mingw has suitable replacements. * configure.ac: * libguile/Makefile.am (EXTRA_libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES): (noinst_HEADERS): Update for win32-socket removal. Andy Wingo2013-03-091-3/+0
| * add check for struct pollfd...* configure.ac: Add check for struct pollfd. * libguile/fports.c (fport_input_waiting): * libguile/poll.c (scm_primitive_poll): Require struct pollfd. Fixes bug 13903. Andy Wingo2013-03-091-0/+2
| * Use accessors instead of symbols deprecated in libgc 7.3....* configure.ac: Check for `GC_set_all_interior_pointers', `GC_get_gc_no', and `GC_set_java_finalization'. * libguile/gc.c (scm_gc_stats)[HAVE_GC_GET_GC_NO]: Use `GC_get_gc_no'. (scm_storage_prehistory)[HAVE_GC_SET_ALL_INTERIOR_POINTERS]: Use `GC_set_all_interior_pointers'. * libguile/guardians.c (scm_init_guardians)[HAVE_GC_SET_JAVA_FINALIZATION]: Use `GC_set_java_finalization'. Ludovic Courtès2013-03-011-1/+6
* | Merge remote-tracking branch 'origin/stable-2.0'...Conflicts: module/ice-9/psyntax-pp.scm module/ice-9/psyntax.scm module/language/bytecode/spec.scm module/language/tree-il/spec.scm Andy Wingo2013-01-311-3/+6
|\|
| * require automake 1.12 for `serial-tests'....* configure.ac: Require automake 1.12 for `serial-tests'. Andy Wingo2013-01-301-2/+2
| * build: Allow use of Automake 1.13....Fixes <http://bugs.gnu.org/13558>. Reported by DNS <dns@rbose.org>. * configure.ac: Use the `serial-tests' Automake option to cope with Automake 1.13, which uses `parallel-tests' by default. Ludovic Courtès2013-01-281-2/+5
* | guile 2.2 will require libgc 7.2 or greater...* configure.ac: Bump required libgc version to 7.2, released March 2012. Andy Wingo2013-01-171-1/+1
* | Merge remote-tracking branch 'origin/stable-2.0'...Conflicts: GUILE-VERSION libguile/posix.c module/ice-9/eval.scm test-suite/tests/cse.test Mark H Weaver2013-01-071-6/+5
|\|
| * build: Require Automake 1.11.2 or later....* configure.ac: Require Automake 1.11.2 or later. Reported by Sjoerd van Leent Privé <svanleent@gmail.com> in <http://bugs.gnu.org/13117>. Ludovic Courtès2012-12-101-2/+2
| * Remove definition of the `SHARED_LIBRARY_PATH_VARIABLE' C macro....This is a follow-up to fc32c44. * configure.ac: Remove definition of `SHARED_LIBRARY_PATH_VARIABLE', which was added in e66ff09a. Ludovic Courtès2012-11-281-4/+0
| * Remove reference to `scm_init_popen' when `fork' is unavailable....Fixes <http://bugs.gnu.org/12477>. Reported by lin ray <lin.wei.ray@gmail.com>. * configure.ac: Define the `HAVE_FORK' Automake conditional. * module/Makefile.am (ICE_9_SOURCES): Add `ice-9/popen.scm' only when HAVE_FORK. * libguile/posix.c (scm_init_posix): Register `scm_init_popen' only when HAVE_FORK. Ludovic Courtès2012-11-231-0/+3
* | Merge remote-tracking branch 'origin/stable-2.0'...Moved scm_i_struct_hash from struct.c to hash.c and made it static. The port's alist is now a field of 'scm_t_port'. Conflicts: libguile/arrays.c libguile/hash.c libguile/ports.c libguile/print.h libguile/read.c Mark H Weaver2012-10-301-1/+1
|\|
| * build: Use Automake's `color-tests'....* configure.ac: Use Automake's `color-tests'. Ludovic Courtès2012-09-031-1/+1
* | Merge remote-tracking branch 'origin/stable-2.0'...Conflicts: GUILE-VERSION Andy Wingo2012-07-241-6/+1
|\|
| * build: Use `AM_PROG_AR'....* configure.ac: Use `AM_PROG_AR', as suggested by Automake 1.12.1 ("warning: 'libguilereadline-v-@LIBGUILEREADLINE_MAJOR@.la': linking libtool libraries using a non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac'"). Ludovic Courtès2012-07-071-0/+1
| * Use `clock-time' directly from Gnulib, but with a local patch....This is equivalent to the previous situation, but more easily maintainable. * acinclude.m4 (gl_CLOCK_TIME): Remove. * configure.ac: Remove explicit use of `gl_CLOCK_TIME'. * m4/gnulib-cache.m4 (gl_MODULES): Add `clock-time'. * gnulib-local/m4/clock_time.m4.diff: New file. * Makefile.am (EXTRA_DIST): Add it. Ludovic Courtès2012-07-061-6/+0
* | Merge remote-tracking branch 'origin/stable-2.0'...Conflicts: libguile/expand.c libguile/hashtab.c libguile/ports.c libguile/vectors.c libguile/weaks.c module/language/ecmascript/compile-tree-il.scm module/language/tree-il/effects.scm module/language/tree-il/fix-letrec.scm module/language/tree-il/peval.scm test-suite/tests/peval.test Andy Wingo2012-07-061-2/+2
|\|
| * add --match pattern to git-version-gen...* configure.ac: Add --match pattern so we only get v2.0.x tagx. Andy Wingo2012-07-061-1/+1
| * add check for fchmod...* configure.ac: Add a check for fchmod. * libguile/filesys.c (scm_chmod): Guard the fchmod case with HAVE_FCHMOD. Andy Wingo2012-07-061-1/+1
* | Merge remote-tracking branch 'origin/stable-2.0'...Conflicts: libguile/ports.c libguile/ports.h libguile/read.c libguile/vm-i-system.c Andy Wingo2012-05-081-3/+1
|\|
| * Build with `-Wpointer-arith' when available....* configure.ac (POTENTIAL_GCC_CFLAGS): Add `-Wpointer-arith'. Ludovic Courtès2012-05-061-3/+1
* | Merge remote-tracking branch 'local-2.0/stable-2.0'...Conflicts: configure.ac Andy Wingo2012-03-111-1/+1
|\|
| * more libgc 7.1 compat...* configure.ac: * libguile/gc.c (GC_set_finalize_on_demand): Check for this function, and shim if it isn't present. Andy Wingo2012-03-081-1/+1
* | Merge remote-tracking branch 'local-2.0/stable-2.0'...Conflicts: configure.ac libguile/finalizers.c libguile/finalizers.h libguile/gc.c libguile/gc.h libguile/inline.c libguile/inline.h libguile/ports.c libguile/smob.c libguile/smob.h module/ice-9/deprecated.scm module/ice-9/r4rs.scm Andy Wingo2012-03-081-1/+1
|\|
| * run finalizers asynchronously in asyncs...* libguile/finalizers.c: New excitement! We'll be running finalizers asynchronously, from asyncs. This will make it safer to allocate while holding a mutex. (GC_set_finalizer_notifier): Add back-compat shim. * libguile/init.c (scm_i_init_guile): Init the async finalizer mechanism during boot. * libguile/gc.c (scm_storage_prehistory): Tell libgc we'll be finalizing on demand. (scm_gc): Explicitly run finalizers here. * libguile/threads.c (guilify_self_2): Run finalizers here if queue_finalizer_async happened to run during guilify_self_1. * configure.ac: Add check for GC_set_finalizer_notifier. Andy Wingo2012-03-081-1/+1
* | Merge remote-tracking branch 'origin/stable-2.0'...Conflicts: GUILE-VERSION libguile/gc-malloc.c libguile/ports.c Andy Wingo2012-02-081-34/+6
|\|
| * i18n: Use Gnulib's `nl_langinfo' module....* configure.ac: Remove checks for <langinfo.h> and <nl_types.h>, and `nl_langinfo'. * libguile/i18n.c: Remove #ifdefs for HAVE_LANGINFO_H, HAVE_NL_TYPES_H, HAVE_NL_ITEM, and HAVE_LANGINFO_CODESET. (SCM_VALIDATE_OPTIONAL_LOCALE_COPY): Use `SCM_UNBNDP'. * m4/gnulib-cache.m4 (gl_MODULES): Add `nl_langinfo'. * module/ice-9/i18n.scm (define-vector-langinfo-mapping): Remove `defaults' parameter; assume (provided? 'nl-langinfo) is always true. Update users accordingly. (define-simple-langinfo-mapping): Likewise. (define-monetary-langinfo-mapping): Likewise, but do not assume LOCAL-ITEM and INTL-ITEM are always defined. Ludovic Courtès2012-02-031-14/+2
| * Use Gnulib's `regex' module....This should help with regex portability, as reported in <http://bugs.gnu.org/10684> for Darwin 8.11. * m4/gnulib-cache.m4 (gl_MODULES): Add `regex'. * configure.ac: Remove header checks for regex.h, rxposix.h, and rx/rxposix.h. Remove check for the `regcomp' function. Remove definition of `HAVE_REGCOMP'. Define `ENABLE_REGEX'. * libguile/init.c: Check for `ENABLE_REGEX' instead of `HAVE_REGCOMP'. * libguile/regex-posix.c: Always include <regex.h>. Remove #ifdefs for rxposix.h and co. Ludovic Courtès2012-02-031-20/+4
* | Merge remote-tracking branch 'origin/stable-2.0'...Conflicts: libguile/debug.h module/ice-9/psyntax-pp.scm module/ice-9/psyntax.scm module/language/tree-il/peval.scm module/language/tree-il/primitives.scm Andy Wingo2012-01-301-1/+6
|\|
| * Build with `-fno-strict-aliasing' when available....* configure.ac (POTENTIAL_GCC_CFLAGS): Add `-fno-strict-aliasing'. Suggested by Mark H. Weaver. Ludovic Courtès2012-01-271-1/+6
* | Merge commit 'f78a1ccede02ccad89d6c91a6b297f1f14a30907'Andy Wingo2012-01-101-3/+6
|\|
| * freebsd implementation of get_thread_stack_base...* configure.ac: Check for pthread_np.h and pthread_attr_get_np. Patch by Jim Pryor. * libguile/threads.c (get_thread_stack_base): Provide an implementation for FreeBSD. Andy Wingo2011-12-221-2/+5
| * stdlib.h, not malloc.h...* configure.ac: Remove check for malloc.h. * libguile/gc-malloc.c: * libguile/gc.c: * libguile/mallocs.c: * libguile/smob.c: Use stdlib instead of malloc.h. Andy Wingo2011-12-221-1/+1
* | Merge remote-tracking branch 'origin/stable-2.0'...Conflicts: configure.ac Andy Wingo2011-12-131-1/+1
|\|
| * fix compilation with gc 7.1...* configure.ac: Add checks for GC_gcollect_and_unmap and GC_get_unmapped_bytes. * libguile/gc-malloc.c (scm_realloc): GC_gcollect() if we don't have GC_gcollect_and_unmap. * libguile/gc.c (GC_get_heap_usage_safe): Likewise, don't GC_get_unmapped_bytes if the function doesn't exist. Chris K. Jester-Young2011-12-081-1/+1
* | Merge remote-tracking branch 'origin/stable-2.0'...Conflicts: configure.ac libguile/fluids.c libguile/gc.c libguile/gc.h libguile/objcodes.c libguile/procprop.c libguile/vm.c module/ice-9/psyntax-pp.scm module/ice-9/psyntax.scm Andy Wingo2011-12-011-15/+2
|\|
| * increase garbage collection rate if the process is growing...* configure.ac: Check for GC_get_free_space_divisor. * libguile/gc.c (GC_get_free_space_divisor): Define an implementation, if needed. (accumulate_gc_timer): Fix indentation. (get_image_size): New terrible hack. Needs implementations on other platforms. (adjust_gc_frequency): Attempt to adjust the GC frequency based on process image growth. Needs more comments. (scm_init_gc): Add the adjust_gc_frequency to the after_gc_c_hook. Andy Wingo2011-11-291-1/+1
| * get heap stats with GC_get_heap_usage_safe, if available....* configure.ac: Check for GC_get_heap_usage_safe. * libguile/gc.c (SCM_DEFINE): Use GC_get_heap_usage_safe. Andy Wingo2011-11-281-1/+1
| * configure: Make sure $GUILE_FOR_BUILD is suitable....* acinclude.m4 (GUILE_CHECK_VERSION, GUILE_CHECK_GUILE_FOR_BUILD): New macros. * configure.ac: Remove $GUILE_FOR_BUILD tests. Use `GUILE_CHECK_GUILE_FOR_BUILD'. Ludovic Courtès2011-11-231-14/+1
* | support for new GC_move_disappearing_link...* configure.ac: Check for GC_move_disappearing_link. * libguile/weak-set.c (move_weak_entry): * libguile/weak-table.c (move_disappearing_links): (move_weak_entry): Use GC_move_disappearing_link if available. Andy Wingo2011-11-241-1/+1
* | Merge remote-tracking branch 'origin/stable-2.0'...Conflicts: GUILE-VERSION test-suite/tests/srfi-4.test Andy Wingo2011-07-251-1/+6
|\|
| * guild: Close over `$bindir/guile'....* configure.ac: Substitute `guile_program_name'. * meta/guild.in: Use `@bindir@/@guile_program_name@' by default. * meta/uninstalled-env.in: Define $GUILE. Ludovic Courtès2011-07-231-0/+4
| * configure: Build a `tar.xz' in addition to `tar.gz'....* configure.ac: Explicitly require Automake 1.11. Add Automake option `dist-xz'. Ludovic Courtès2011-07-061-1/+2
* | Merge remote-tracking branch 'local-2.0/stable-2.0'...Conflicts: libguile/deprecated.c module/ice-9/psyntax-pp.scm Andy Wingo2011-06-301-69/+16
|\|
| * fix --disable-modules build...* configure.ac (HAVE_MODULES): Define HAVE_MODULES iff --enable-modules. * libguile/deprecated.c (scm_dynamic_args_call) * libguile/extensions.c (load_extension): * libguile/init.c (scm_i_init_guile): Use HAVE_MODULES in a few places. Andy Wingo2011-06-301-0/+2
| * update stack growth direction check...* configure.ac: Pull stack growth direction check from upstream autoconf. See http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00035.html for a discussion. Andy Wingo2011-06-201-13/+10
| * Comment on the Gnulib `clock-gettime' workaround....* acinclude.m4: Remove `clock_time.m4' serial. * configure.ac: Add URL of the discussion about `clock-gettime'. Ludovic Courtès2011-06-191-1/+3