summaryrefslogtreecommitdiff
path: root/configure.in
Commit message (Expand)AuthorAgeFilesLines
* * __scm.h (SCM_ALLOW_INTS_ONLY): Removed....(SCM_NONREC_CRITICAL_SECTION_START, SCM_NONREC_CRITICAL_SECTION_END, SCM_REC_CRITICAL_SECTION_START, SCM_REC_CRITICAL_SECTION_END): New macros. (SCM_CRITICAL_SECTION_START/END): Defined here. * eval.c: Insert SOURCE_SECTION_START / SOURCE_SECTION_END around the three calls to scm_m_expand_body. * gc.h: #include "libguile/pthread-threads.h"; (SCM_FREELIST_CREATE, SCM_FREELIST_LOC): New macros. * gc.c (scm_i_freelist, scm_i_freelist2): Defined to be of type scm_t_key; * gc.c, gc-freelist.c, inline.h: Use SCM_FREELIST_LOC for freelist access. * gc-freelist.c (scm_gc_init_freelist): Create freelist keys. * gc-freelist.c, threads.c (really_launch): Use SCM_FREELIST_CREATE. * gc-malloc.c (scm_realloc, scm_gc_register_collectable_memory): * gc.c (scm_i_expensive_validation_check, scm_gc, scm_gc_for_newcell): Put threads to sleep before doing GC-related heap administration so that those pieces of code are executed single-threaded. We might consider rewriting these code sections in terms of a "call_gc_code_singly_threaded" construct instead of calling the pair of scm_i_thread_put_to_sleep () and scm_i_thread_wake_up (). Also, we would want to have as many of these sections eleminated. * init.c (scm_init_guile_1): Call scm_threads_prehistory. * inline.h: #include "libguile/threads.h" * pthread-threads.h: Macros now conform more closely to the pthreads interface. Some of them now take a second argument. * threads.c, threads.h: Many changes. * configure.in: Temporarily replaced "copt" threads option with new option "pthreads". (USE_PTHREAD_THREADS): Define if pthreads configured. Mikael Djurfeldt2002-12-091-5/+5
* * configure.in (GUILE_EFFECTIVE_VERSION): AC_SUBST it....(AC_CONFIG_FILES): separate out the files that need to be chmodded at the end of config.status. Our "default" approach using AC_CONFIG_COMMANDS quit working (and would have needed to be changed to AC_CONFIG_COMMANDS(,,CMDS) rather than our previous AC_CONFIG_COMMANDS(default,CMDS), but I the new approach, using per-file AC_CONFIG_FILES calls appears to be more "correct" in the current autoconf docs. Rob Browning2002-12-091-39/+34
* Do not configure QTHREADS. Do not define USE_COOP_THREADS. Changed...logic for thread package selection so that the default is "coop-pthread" when -lpthread is found, "null" otherwise. Marius Vollmer2002-12-021-57/+15
* * GUILE-VERSION: Added versioning info for srfi 1....* configure.in (LIBGUILE_SRFI_SRFI_1_INTERFACE_CURRENT, LIBGUILE_SRFI_SRFI_1_INTERFACE_REVISION, LIBGUILE_SRFI_SRFI_1_INTERFACE_AGE, LIBGUILE_SRFI_SRFI_1_INTERFACE): New AC_SUBST. Mikael Djurfeldt2002-12-011-0/+5
* (USE_THREADS, GUILE_ISELECT): Define always. We define them with...AC_DEFINE and not in some header file so that they are visible exactly in the same way as they used to be. Marius Vollmer2002-11-101-0/+5
* Do not add "threads.o" to the libobjs, it is now always compiled....(USE_THREADS, GUILE_ISELECT): Do not define. Marius Vollmer2002-11-031-10/+0
* Handle thread package "coop-pthread" with alias "copt" and define...USE_COPT_THREADS when it is selected. Always define GUILE_ISELECT. Marius Vollmer2002-10-271-8/+14
* Merge enhanced debugging features from `guile-debugger' package.Neil Jerram2002-10-261-0/+2
* Changed logic in thread support configuration such that...--with-threads=no is equivalent to --with-threads=null. On platforms that are not supported by QuickThreads, we also use the null-threads. Thus, USE_THREADS is always defined now. Marius Vollmer2002-10-211-46/+40
* Shuffled around and extended the thread configuration code to allow...the "null" thread package to be selected. Define USE_NULL_THREADS in that case. Marius Vollmer2002-10-161-17/+29
* * configure.in: turn on -Werror by default. We're now clean. I'd...like to stay that way. If we want, we can turn it off by default when we make the stable release, but I caught a lot of bugs this way. Accomodate libguile-ltdl -- therea are some ltdl things that are commented out now INCLTDL and LIBLTDL. I think we may not need them anymore, but I'll leave them until we're sure. We also killed off the libltdl dir and related options including the AC_CONFIG_SUBDIRS. I also added some explicit tests for some headers and functions that weren't listed but were in scmconfig.h.in. though this may have been unnecessary. Rob Browning2002-10-051-15/+32
* Use AC_LIBLTDL_CONVENIENCE instead of AC_LIBLTDL_INSTALLABLE.Marius Vollmer2002-10-031-1/+1
* Check for __libc_stack_end.Marius Vollmer2002-08-241-1/+13
* (INPUT_ERROR): Prepare for file:line:column error...messages for errors in scm_lreadr() and friends. Han-Wen Nienhuys2002-08-041-0/+1
* minor help-line editGary Houston2002-08-041-1/+1
* * benchmark-guile.in: Copied from check-guile.in and adapted for...use with benchmarks. * Makefile.am: Recurse into the benchmark-suite subdir. * configure.in: Added benchmarking files. Dirk Herrmann2002-07-201-0/+3
* * dynl.c: Don't define stub procedures if DYNAMIC_LINKING is not... defined. They don't do anything useful, especially since the only case where DYNAMIC_LINKING is undefined seems to be when --with-modules=no is given to configure, which is basically requesting that the "dynamic linking module" be omitted. * Makefile.am (libguile_la_SOURCES): move dynl.c from libguile_la_SOURCES to EXTRA_libguile_la_SOURCES. * extensions.c (load_extension): check DYNAMIC_LINKING for scm_dynamic_call. * init.c (scm_init_guile_1): check DYNAMIC_LINKING for scm_init_dynamic_linking. * configure.in: check dynamic linking before modules. Add dynl.c if dynamic linking is available, i.e., unless --with-modules=no was given to configure. Gary Houston2002-07-121-21/+25
* * configure.in (AC_LIBTOOL_WIN32_DLL): Add for shared Cygwin...build. Add --with-cc-for-build option to re-enable cross building. Add --with-guile-for-build option to re-enable cross building. Marius Vollmer2002-07-071-0/+51
* (AC_CHECK_FUNCS): Check for copysign.Marius Vollmer2002-05-221-1/+1
* (AC_CHECK_HEADERS): Check for floatingpoint.h ieeefp.h, and nan.h....(AC_CHECK_FUNCS): Check for finite, isinf, and isnan. Marius Vollmer2002-05-061-0/+4
* Include <sys/types.h> before <netinet/in.h> when checking vor IPv6....This is for NetBSD 1.5. Thanks to Greg Troxel! Marius Vollmer2002-05-061-2/+10
* Bump required autoconf version to 2.53. Move uses of AC_LIBOBJ after...AC_PROG_CC. AC_LIBOBJ needs OBJEXT which is set by AC_PROG_CC. Marius Vollmer2002-04-171-25/+26
* * configure.in: updates for new autoconf -- add definitions to...AC_DEFINE calls, and convert occurences of LIBOBJS to AC_LIBOBJ calls. Rob Browning2002-04-111-44/+89
* (top_srcdir_absolute): New AC_SUBST var.Thien-Thi Nguyen2002-03-041-0/+2
* (top_builddir_absolute): New AC_SUBST var....(AC_CONFIG_FILES): Add am/Makefile, pre-inst-guile. (AC_CONFIG_COMMANDS): Also chmod +x pre-inst-guile. Thien-Thi Nguyen2002-02-261-3/+10
* * configure.in: AC_SUBST the centralized shared lib versioning...variables from ./GUILE-VERSION. (LIBQTHREADS_INTERFACE_CURRENT): new AC_SUBST. (LIBQTHREADS_INTERFACE_REVISION): new AC_SUBST. (LIBQTHREADS_INTERFACE_AGE): new AC_SUBST. (LIBQTHREADS_INTERFACE): new AC_SUBST. (LIBGUILE_INTERFACE_CURRENT): new AC_SUBST. (LIBGUILE_INTERFACE_REVISION): new AC_SUBST. (LIBGUILE_INTERFACE_AGE): new AC_SUBST. (LIBGUILE_INTERFACE): new AC_SUBST. (LIBGUILE_SRFI_SRFI_4_INTERFACE_CURRENT): new AC_SUBST. (LIBGUILE_SRFI_SRFI_4_INTERFACE_REVISION): new AC_SUBST. (LIBGUILE_SRFI_SRFI_4_INTERFACE_AGE): new AC_SUBST. (LIBGUILE_SRFI_SRFI_4_INTERFACE): new AC_SUBST. (LIBGUILE_SRFI_SRFI_13_14_INTERFACE_CURRENT): new AC_SUBST. (LIBGUILE_SRFI_SRFI_13_14_INTERFACE_REVISION): new AC_SUBST. (LIBGUILE_SRFI_SRFI_13_14_INTERFACE_AGE): new AC_SUBST. (LIBGUILE_SRFI_SRFI_13_14_INTERFACE): new AC_SUBST. Rob Browning2002-02-251-4/+20
* (libguile/guile-snarf-docs-texi): Remove...from `AC_CONFIG_FILES' and `AC_CONFIG_COMMANDS'. Thien-Thi Nguyen2002-02-051-2/+0
* 2002-01-31 Stefan Jahn <stefan@lkcc.org>... * convert.c, convert.h, convert.i.c: New files containing C array to Scheme conversion helpers meant to be replacement functions for the deprecated gh interface. * Makefile.am: Setup rules for new `convert.*' files. 2002-01-31 Stefan Jahn <stefan@lkcc.org> * configure.in: Add -DLIBLTDL_DLL_IMPORT to INCLTDL when using `libltdl.dll'. Stefan Jahn2002-01-311-0/+4
* 2002-01-28 Stefan Jahn <stefan@lkcc.org>... * configure.in (guile_cv_have_uint32_t): Look also in `stdint.h' for uint32_t. 2002-01-28 Stefan Jahn <stefan@lkcc.org> * symbols.c (scm_c_symbol2str): New function, replacement for `gh_scm2newsymbol()'. * strings.c (scm_c_substring2str): New function. Proper replacement for `gh_get_substr()'. * socket.c: Include `stdint.h' if available for the `uint32_t' declaration. * scmsigs.c (s_scm_sigaction): Initialize `chandler' (inhibits compiler warning). * backtrace.c: Include `lang.h' for GUILE_DEBUG conditional. Stefan Jahn2002-01-281-1/+6
* * Add non-libguile Elisp support files to CVS trunk. (NB work in progress.)Neil Jerram2002-01-221-0/+12
* Really check for "makeinfo", not for "maakeinfo", which I put there...for testing the failure case. Marius Vollmer2001-12-261-1/+1
* (HAVE_MAKEINFO): Check for the makeinfo program and set this...conditional accordingly. Marius Vollmer2001-12-261-0/+3
* * acconfig.h (HAVE_INLINE): Added template....* configure.in (HAVE_INLINE): Define it when the compiler supports inline functions. Marius Vollmer2001-11-251-0/+4
* * configure.in: switch to AC_LIBLTDL_INSTALLABLE so we'll use the...system libltdl when it's available. Aside from the normal reasons to prefer installed shared libs, this means other apps that link with libguile and also use libltdl will be more likely to work right. Rob Browning2001-11-191-1/+1
* check for sizes of short, size_t, uintptr_t, and...ptrdiff_t. Checking for a size also checks automatically for the existence of the type, so we don't check for the existence of uintptr_t, ptrdiff_t and long long ourselves. Marius Vollmer2001-11-121-11/+6
* 2001-11-07 Stefan Jahn <stefan@lkcc.org>... * configure.in: Include `win32-socket.o' in the list of object files if networking is enabled on Win32. 2001-11-07 Stefan Jahn <stefan@lkcc.org> * win32-socket.[ch]: New files. Defines Winsock-API error codes and makes them available through Guile. That is because the Winsock-API does not store its errors in `errno' and thus cannot return error messages via `strerror (errno)'. * socket.c (scm_init_socket): Initialize `win32-socket' part here under M$-Windows. * numbers.h: Added missing declaration of `scm_sys_check_number_conversions()'. * error.c: Local definition of SCM_I_STRERROR and SCM_I_ERRNO and use in `(strerror)' and `(system-error)'. * Makefile.am (EXTRA_libguile_la_SOURCES): Added `win32-socket.[ch]' to extra source and header files. Stefan Jahn2001-11-071-1/+4
* 2001-11-04 Stefan Jahn <stefan@lkcc.org>... * NEWS: Corrected remarks about SCM_API. * configure.in: Defining USE_DLL_IMPORT definition to indicate usage of DLL import macros in `libguile/__scm.h'. (LIBOBJS): Removed `fileblocks.o' from the list of object files. Somehow Jim Blandy's patch from 1997 did not survive. 2001-11-04 Stefan Jahn <stefan@lkcc.org> * configure.in (EXTRA_DEFS): Follow-up patch. Using SCM_IMPORT instead of __SCM_IMPORT__. * readline.c (scm_readline_init_ports): Disable input/output stream redirection for Win32. The readline package for Win32 does not support this. The guile-readline library works fine for command line editing. * readline.h (SCM_RL_API): Renamed __FOO__ macros into FOO. 2001-11-04 Stefan Jahn <stefan@lkcc.org> * Makefile.am (libguile_la_LIBADD): Added $(THREAD_LIBS_LOCAL) here (was at guile_LDADD) which describes the dependency correctly and allows a clean build on Win32. * __scm.h (SCM_API): Follow-up patch. Renamed __FOO__ macros into FOO. * __scm.h: USE_DLL_IMPORT indicates the usage of the DLL import macros for external libraries (libcrypt, libqthreads, libreadline and libregex). * coop-defs.h: Include <winsock2.h> for `struct timeval'. * posix.c (flock): Added support for flock() in M$-Windows. * guile.c (SCM_IMPORT): Follow-up patch. Use SCM_IMPORT instead of __SCM_IMPORT__. * fports.c (getflags): Differentiate reading and writing pipes descriptors. * filesys.c (S_IS*): Redefine all of the S_IS*() macros for M$-Windows. * coop.c (coop_condition_variable_timed_wait_mutex): Use conditionalized error code if `ETIMEDOUT' is not available. (scm_thread_usleep): Remove bogus declaration of `struct timeval timeout'. * numbers.c (PTRDIFF_MIN): Moved this definition where it actually belongs. That is because NO_PREPRO_MAGIC gets undefined after each inclusion of `num2integral.i.c'. (SIZE_MAX): Define NO_PREPRO_MAGIC if SIZE_MAX is undefined. 2001-11-04 Stefan Jahn <stefan@lkcc.org> * md/Makefile.am (EXTRA_DIST): Added `i386.asm'. * md/i386.asm: New file. Contains the Intel syntax version for nasm/tasm/masm of the file `i386.s'. * qt.h.in: Definition of QT_API, QT_IMPORT and QT_EXPORT. Prefixed each symbols which is meant to go into a DLL. * Makefile.am (libqthreads_la_LDFLAGS): Put `-no-undefined' into LDFLAGS to support linkers which do not allow unresolved symbols inside shared libraries. (EXTRA_DIST): Add `libqthreads.def', which is an export file definition for M$-Windows. It defines exported symbols. This is necessary because the M$VC linker does not know how to export assembler symbols into a DLL. 2001-11-04 Stefan Jahn <stefan@lkcc.org> * srfi-13.h, srfi-14.h, srfi-4.h: Follow-up patch. Renamed __FOO__ macros into FOO. 2001-11-04 Stefan Jahn <stefan@lkcc.org> * tests/ports.test: Run (close-port) before (delete-file) if necessary/advisory. Stefan Jahn2001-11-041-5/+8
* * configure.in: Define AC_LIBTOOL_WIN32_DLL to build clean dlls...on Win32 platforms. Checking for `ws2_32.dll', `winsock2.h', add `uname.o' and `dirent.o' and define extra compiler flags necessary to build clean dlls. Check for `regcomp()' inside `-lregex'. Marius Vollmer2001-11-021-3/+30
* * configure.in: include sys/types.h when testing uint32_t.... thanks to Bill Schottstaedt. Gary Houston2001-10-141-4/+5
* Do not use an absolute path for <unistd.h> when checking for return...type of usleep. Thanks to Michael Carmack. Marius Vollmer2001-10-141-1/+1
* * configure.in (AC_CONFIG_FILES): add libguile/version.h.Rob Browning2001-09-201-1/+1
* * Removed lots of deprecated stuff.Dirk Herrmann2001-08-311-2/+2
* * Complete split of documentation into per-manual subdirectories.Neil Jerram2001-08-241-0/+4
* * configure.in...(LIBGUILE_INTERFACE_CURRENT): use libtool versioning scheme. (LIBGUILE_INTERFACE_REVISION): use libtool versioning scheme. (LIBGUILE_INTERFACE_AGE): use libtool versioning scheme. (LIBGUILE_INTERFACE): use libtool versioning scheme. (LIBGUILEQTHREADS_INTERFACE_CURRENT): use libtool versioning scheme. (LIBGUILEQTHREADS_INTERFACE_REVISION): use libtool versioning scheme. (LIBGUILEQTHREADS_INTERFACE_AGE): use libtool versioning scheme. (LIBGUILEQTHREADS_INTERFACE): use libtool versioning scheme. Rob Browning2001-08-161-8/+9
* Added "test-suite/Makefile".Marius Vollmer2001-08-071-0/+1
* Added `--disable-linuxthreads' option and do not define...GUILE_PTHREAD_COMPAT nor link with -lpthread when it is given. Thanks to Cris Cramer! Marius Vollmer2001-08-011-2/+6
* Check for "inttypes.h".Marius Vollmer2001-07-221-0/+1
* * INSTALL, Makefile.am, configure.in: Updated copyright notice.Martin Grabmüller2001-07-191-1/+1
* * configure.in: add checks for setitimer and getitimer....Add --enable-error-on-warning. Rob Browning2001-07-191-1/+9
* Make compilation under Windows easier.Martin Grabmüller2001-06-261-2/+2