summaryrefslogtreecommitdiff
path: root/libguile/gen-scmconfig.h.in
Commit message (Collapse)AuthorAgeFilesLines
* improve autoconfigury for minigmpMichael Gran2021-03-021-1/+1
| | | | | | | | | | | | | | | | * configure.ac: add SCM_I_GSC_ENABLE_MINI_GMP var and rename GUILE_MINI_GMP to ENABLE_MINI_GMP * libguile/bytevectors (GUILE_MINI_GMP): rename to ENABLE_MINI_GMP * libguile/gen-scmconfig.c: renamed GUILE_MINI_GMP to ENABLE_MINI_GMP. rename GUILE_MINI_GMP to SCM_ENABLE_MINI_GMP * libguile/gen-scmconfig.h: add SCM_I_GSC_ENABLE_MINI_GMP * libguile/init.c [GUILE_MINI_GMP]: prefer ENABLE_MINI_GMP * libguile/numbers.c [GUILE_MINI_GMP]: prefer ENABLE_MINI_GMP * libguile/numbers.h: include scmconfig.h rename GUILE_MINI_GMP to SCM_ENABLE_MINI_GMP * libguile/random.c [GUILE_MINI_GMP]: prefer ENABLE_MINI_GMP * libguile/socket.c [GUILE_MINI_GMP]: prefer ENABLE_MINI_GMP * libguile.h [GUILE_MINI_GMP]: prefer SCM_ENABLE_MINI_GMP
* Start to use C99 stdint in gen-scmconfigAndy Wingo2018-06-211-15/+0
| | | | | | | | | | | | | | * configure.ac: Remove checks for stdint.h; we require C99 so it must be there; and in any case for our purposes we use gnulib, so it will be there. No need to check for inttypes.h. No need to check for what type maps to e.g. uint32_t either. * libguile/deprecated.h (SCM_HAVE_T_INT64, SCM_HAVE_T_UINT64): Deprecate these, as they are always 1. (SCM_HAVE_ARRAYS): Likewise deprecate; it's always 1. * libguile/gen-scmconfig.c: Always include stdint.h and stddef.h, and make it so that scmconfig.h also includes these. Use C99 types. * libguile/gen-scmconfig.h.in: Remove configure-substed vars that are no longer defined.
* Add configure check for auxiliary stacksAndy Wingo2018-06-171-0/+1
| | | | | | | | * configure.ac: Add a check for struct GC_stack_base.reg_base, which is a proxy for checking for the only aspect of ia64 that we care about. * libguile/gen-scmconfig.c: * libguile/gen-scmconfig.h.in: Arrange to define SCM_HAVE_AUXILIARY_STACK.
* check for iconveh values at configure-timeAndy Wingo2011-04-281-0/+3
| | | | | | | | | | | | | | | * configure.ac: Check for the iconveh values here, instead of relying on gen-scmconfig to know them. That doesn't work in general because gen-scmconfig runs on the build machine, not the target machine. * libguile/Makefile.am (gen-scmconfig.$(OBJEXT)): Revert rule to the revision before 533d8212. * libguile/gen-scmconfig.h.in (SCM_I_GSC_ICONVEH_ERROR): (SCM_I_GSC_ICONVEH_QUESTION_MARK): (SCM_I_GSC_ICONVEH_ESCAPE_SEQUENCE): * libguile/gen-scmconfig.c: Use configure-time substitutions to set SCM_ICONVEH_ERROR_HANDLER et al.
* further discouraged excisionAndy Wingo2010-08-161-1/+0
| | | | * libguile/gen-scmconfig.h.in: Remove a DISCOURAGED define.
* lisp nil always enabledAndy Wingo2010-04-091-1/+0
| | | | | | | | | | | | | | | * configure.ac: Remove --disable-elisp option. Lisp nil is always enabled. * libguile/boolean.h: * libguile/gen-scmconfig.c: * libguile/gen-scmconfig.h.in: * libguile/init.c: * libguile/lang.c: * libguile/lang.h: * libguile/pairs.h: * libguile/private-options.h: * libguile/read.c: Remove conditionals for disabling elisp.
* Remove obsolete compile-time option for freelist debugging.Ludovic Courtès2010-03-051-1/+0
| | | | | | | | | | * configure.ac: Remove `--enable-debug-freelist' option and `SCM_I_GSC_GUILE_DEBUG_FREELIST' substitution variable. * libguile/gen-scmconfig.c (main): Remove references to `SCM_I_GSC_GUILE_DEBUG_FREELIST' and `GUILE_DEBUG_FREELIST'. * libguile/gen-scmconfig.h.in (SCM_I_GSC_GUILE_DEBUG_FREELIST): Remove.
* Don't rely on `HAVE_' macros in public header "tags.h".Ludovic Courtès2009-11-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Check for `intptr_t' and `uintptr_t'. Substitute `SCM_I_GSC_T_INTPTR' and `SCM_I_GSC_T_UINPTR'. * libguile/__scm.h (SCM_T_UINTPTR_MAX, SCM_T_INTPTR_MIN, SCM_T_INTPTR_MAX): New macros. * libguile/_scm.h (SIZEOF_SCM_T_BITS): New macro. * libguile/gen-scmconfig.c (main): Produce typedefs for `scm_t_intptr' and `scm_t_uintptr'. * libguile/gen-scmconfig.h.in (SCM_I_GSC_T_INTPTR, SCM_I_GSC_T_UINPTR): New macros. * libguile/tags.h: Don't check for `HAVE_INTTYPES_H' and `HAVE_STDINT_H'; don't include <inttypes.h> nor <stdint.h>. (scm_t_signed_bits, scm_t_bits): Define unconditionally as aliases for `scm_t_intptr' and `scm_t_uintptr', respectively. (SCM_T_SIGNED_BITS_MAX, SCM_T_SIGNED_BITS_MIN, SCM_T_BITS_MAX): Likewise. (SIZEOF_SCM_T_BITS): Remove.
* Use TLS when available for `SCM_I_CURRENT_THREAD'.Ludovic Courtès2009-10-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * acinclude.m4 (GUILE_THREAD_LOCAL_STORAGE): New macro. * configure.ac: Use it. * libguile/__scm.h (SCM_THREAD_LOCAL): New macro. * libguile/gen-scmconfig.c (main): Define `SCM_HAVE_THREAD_STORAGE_CLASS'. * libguile/gen-scmconfig.h.in (SCM_I_GSC_HAVE_THREAD_STORAGE_CLASS): New. * libguile/threads.c (scm_i_current_thread)[SCM_HAVE_THREAD_STORAGE_CLASS]: New. (SET_CURRENT_THREAD): New macro. (guilify_self_1, on_thread_exit, init_thread_key): Use it. * libguile/threads.h (scm_i_current_thread)[SCM_HAVE_THREAD_STORAGE_CLASS]: New declaration. (SCM_I_CURRENT_THREAD)[SCM_HAVE_THREAD_STORAGE_CLASS]: New macro. (init_thread_key_once, init_thread_key): Conditionalize on `!defined SCM_HAVE_THREAD_STORAGE_CLASS'. (scm_i_init_thread_for_guile): Update accordingly.
* Handle lack of `struct dirent64' and `readdir64_r ()' on HP-UX 11.11.Ludovic Courtès2008-07-171-0/+1
|
* Changes from arch/CVS synchronizationLudovic Courtès2007-10-101-0/+1
|
* merge from 1.8 branchKevin Ryde2006-10-091-0/+1
|
* (SCM_I_GSC_USE_COOP_THREADS, SCM_USE_COOP_THREADS): Removed.Marius Vollmer2005-03-021-1/+0
|
* * gen-scmconfig.h.in (SCM_I_GSC_HAVE_ARRAYS): Removed.Marius Vollmer2005-01-021-1/+0
| | | | * gen-scmconfig.c: Hard code SCM_HAVE_ARRAYS to "1".
* * gen-scmconfig.h.in (SCM_I_GSC_ENABLE_DISCOURAGED): New.Marius Vollmer2004-08-021-0/+1
| | | | * gen-scmconfig.c (SCM_ENABLE_DISCOURAGED): Emit based on above.
* Removed SCM_I_GSC_*_LIMITS macros, they are no longer used.Marius Vollmer2004-07-291-10/+0
|
* Added all the new SCM_I_GSC_*_LIMITS that configure now produces.Marius Vollmer2004-07-071-0/+10
|
* Arrange for scm_t_intmax and scm_t_uintmax to be defined inMarius Vollmer2003-12-261-0/+2
| | | | scmconfig.h
* * gen-scmconfig.h.in: new file -- see gen-scmconfig.c for details.Rob Browning2003-03-251-0/+35