summaryrefslogtreecommitdiff
path: root/acinclude.m4
Commit message (Collapse)AuthorAgeFilesLines
* autoupdate acinclude.m4Michael Gran2022-10-141-22/+18
| | | | | | | | Autoconf's autoupdates replaces AC_TRY_CPP, AC_TRY_LINK, AC_LANG_C * acinclude (GUILE_READLINE, GUILE_STRUCT_UTIMBUF, UTIMBUF_NEEDS_POSIX): updated using autoupdate
* Remove special logic for the obscure CMU C library's libc.hMike Gran2022-10-141-45/+0
| | | | | | | * acinclude.m4 (GUILE_HEADER_LIBC_WITH_UNISTD): removed * configure.ac: remove GUILE_HEADER_LIBC_WITH_UNISTD, don't check for libc.h * libguile/filesys.c [LIBC_H_WITH_UNISTD_H]: remove libc.h inclusion * libguile/posix.c [LIBC_H_WITH_UNISTD_H]: remove libc.h inclusion
* Fix check for rl_get_keymapDaniel Llorens2020-01-281-4/+6
| | | | | | | | | | This lets Guile build on OS X (tested on 10.14) with the system-provided libreadline. * acinclude.m4 (GUILE_READLINE): Check for rl_get_keymap_name instead of rl_get_keymap. The system provided libreadline is an alias to libedit, which has _keymap but not _keymap_name, and Guile uses both. * guile-readline/readline.c: Adjust the include guard.
* Enable JIT on aarch64 and armv7Andy Wingo2019-05-221-23/+1
| | | | | | | * acinclude.m4 (GUILE_ENABLE_JIT): For MIPS, PPC, sparc, ia64, hppa, s390, and alpha: mark JIT as unavailable. Only architectures left are x86-64, i686, aarch64, and armv7. If JIT is available, enable it by default; previously only x86-64 and i686 were supported.
* Enable JIT on 32-bit x86Andy Wingo2019-04-281-2/+3
| | | | * acinclude.m4 (GUILE_ENABLE_JIT): Turn on JIT for 32-bit x86.
* Fix GUILE_ENABLE_JIT after latest changeAndy Wingo2018-10-101-1/+1
| | | | * acinclude.m4: Fix syntax.
* Only enable JIT by default on x86-64v2.9.0Andy Wingo2018-10-101-1/+6
| | | | | | | | | | | * acinclude.m4: Disable JIT by default on not-x86-64. Although I got JIT mostly working on 32-bit x86, I got nondeterministic segfaults deep in lightning, on that platform; perhaps indicating a bug in the optimizer. After a day of poking and not solving the problem, I think that I don't want the complexity of Lightning's node representation, especially on platforms that get less testing. In the future we'll use the lightning backends without the node layer. * NEWS: Update.
* Fix --disable-jit compilationlightningAndy Wingo2018-09-171-6/+4
| | | | | | | | | | | * libguile/jit.c: Wrap the whole thing in ENABLE_JIT. * libguile/threads.c (on_thread_exit): * libguile/vm.c (scm_call_n): * libguile/init.c (scm_i_init_guile): * libguile/vm-engine.c (VM_NAME): Wrap calls into jit.c with ENABLE_JIT. * configure.ac: Move up AC_CANONICAL_TARGET, as autoconf was complaining about it coming after AC_ARG_PROGRAM. * acinclude.m4 (GUILE_ENABLE_JIT): Fix to honor --enable-jit arg.
* Wire JIT availability check into Guile configureAndy Wingo2018-07-021-0/+1
| | | | | * acinclude.m4 (GUILE_ENABLE_JIT): Add missing AC_CANONICAL_TARGET. * configure.ac: Add check if JIT is available.
* Add GUILE_ENABLE_JIT macroAndy Wingo2018-07-021-2/+57
| | | | | * acinclude.m4 (GUILE_ENABLE_JIT): New macro. * libguile/lightning/configure.ac: Remove now-unused file.
* Capture full path to GUILE_FOR_BUILD.Andy Wingo2016-08-071-0/+2
| | | | * acinclude.m4: Capture full path to GUILE_FOR_BUILD. Fixes #22342.
* Put the readline extension in the extensionsdirAndy Wingo2013-10-141-8/+1
| | | | | | | | | | | | * GUILE-VERSION: * acinclude.m4: * guile-readline/LIBGUILEREADLINE-VERSION: * guile-readline/Makefile.am: Rename libguile-readline-v-18.so to guile-readline.so, and install it to the extensions dir instead of the libdir. * guile-readline/ice-9/readline.scm: Load guile-readline instead of libguile-readline-v-18.
* Use `clock-time' directly from Gnulib, but with a local patch.Ludovic Courtès2012-07-061-39/+0
| | | | | | | | | | | | | | 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.
* fix check for when libc already has clock_gettime / clock_getcpuclockidAndy Wingo2012-02-041-1/+2
| | | | | | * acinclude.m4 (gl_CLOCK_TIME): If both clock_gettime and clock_getcpuclockid are present without -lrt and -lposix4, don't add any libs to LIB_CLOCK_GETTIME. Thanks to taylanbarirli@gmail.com.
* configure: Make sure $GUILE_FOR_BUILD is suitable.Ludovic Courtès2011-11-231-0/+50
| | | | | | | | * 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'.
* Disable TLS on NetBSD up to 5.x included.Ludovic Courtès2011-07-131-1/+2
| | | | | * acinclude.m4 (GUILE_THREAD_LOCAL_STORAGE): Disable TLS on `x86_64-unknown-netbsd5.1' too.
* Comment on the Gnulib `clock-gettime' workaround.Ludovic Courtès2011-06-191-1/+1
| | | | | | * acinclude.m4: Remove `clock_time.m4' serial. * configure.ac: Add URL of the discussion about `clock-gettime'.
* configure: Factorize code checking for `iconveh_' constants; use the cache.Ludovic Courtès2011-06-191-0/+30
| | | | | | | | * configure.ac: Remove code that determines the values of the `iconveh_' constants. Use `GUILE_UNISTRING_ICONVEH_VALUES'. instead. * acinclude.m4 (GUILE_UNISTRING_CONSTANT, GUILE_UNISTRING_ICONVEH_VALUES): New macros.
* check for clock_getcpuclockid in gl_CLOCK_TIMEAndy Wingo2011-06-171-3/+9
| | | | | * acinclude.m4 (gl_CLOCK_TIME): It could be that clock_gettime is in libc but clock_getcpuclockid is not, so check for that explicitly.
* build support for detecting clock_gettime, with -lrt if neededAndy Wingo2011-05-041-0/+32
| | | | | | | | | | | * acinclude.m4 (gl_CLOCK_TIME): * configure.ac: Locally include gl_CLOCK_TIME. To be fixed properly when gnulib updates their license to reflect the actual BSD state of things. * libguile/Makefile.am (libguile_@GUILE_EFFECTIVE_VERSION@_la_LDFLAGS): Add -lrt for clock_gettime, if needed. * meta/guile-2.0-uninstalled.pc.in: * meta/guile-2.0.pc.in: Likewise, in Libs.private.
* Turn the libunistring/iconv configure check into a macro.Ludovic Courtès2011-04-221-0/+29
| | | | | | * acinclude.m4 (GUILE_LIBUNISTRING_WITH_ICONV_SUPPORT): New macro. * configure.ac: Use it.
* Fix `GUILE_THREAD_LOCAL_STORAGE'.Ludovic Courtès2011-02-021-8/+8
| | | | * acinclude.m4 (GUILE_THREAD_LOCAL_STORAGE): Fix M4 quotation.
* Disable use of thread-local storage on FreeBSD.Ludovic Courtès2011-02-021-3/+9
| | | | | * acinclude.m4 (GUILE_THREAD_LOCAL_STORAGE): Explicitly require `AC_CANONICAL_HOST'. Disable on FreeBSD.
* Add copyright notice to acinclude.m4.Thien-Thi Nguyen2010-07-221-0/+21
| | | | * acinclude.m4: Add copyright notice, with years derived from "git log" output.
* [build] Move GUILE_CONFIG_SCRIPT to acinclude.m4.Thien-Thi Nguyen2010-07-221-0/+4
| | | | | * configure.ac (GUILE_CONFIG_SCRIPT): Move from here... * acinclude.m4 (GUILE_CONFIG_SCRIPT): ...to here.
* readline only handles SIGWINCHAndy Wingo2010-07-091-0/+3
| | | | | | | | | | | * acinclude.m4 (GUILE_READLINE): Check for rl_catch_signals and rl_catch_sigwinch. * guile-readline/readline.c (scm_init_readline): If we can, turn off readline's signal handling, because we can do our own. (scm_readline): Use dynwinds to handle resetting readline's state on nonlocal exit, not catches. (unwind_readline): Rename from handle_error.
* add pdcurses to the list of termlibsVolker Grabsch2010-05-281-1/+1
| | | | | | * acinclude.m4 (GUILE_READLINE): Look for pdcurses as found on MinGW. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* Disable thread-local storage on Solaris 8.Ludovic Courtès2009-12-151-1/+5
| | | | * acinclude.m4 (GUILE_THREAD_LOCAL_STORAGE): Special-case `*solaris2.8'.
* Properly quote the first argument to `AC_DEFINE{,_UNQUOTED}'.Ludovic Courtès2009-11-241-3/+3
| | | | | | | * acinclude.m4, configure.ac, examples/compat/acinclude.m4: Properly quote the first argument for `AC_DEFINE' and `AC_DEFINE_UNQUOTED'. * .x-sc_m4_quote_check: New file.
* Really disable thread-local storage on NetBSD 5.0.Ludovic Courtès2009-11-241-1/+1
| | | | | * acinclude.m4 (GUILE_THREAD_LOCAL_STORAGE): Adjust to match actual NetBSD 5 triplet, `x86_64-unknown-netbsd5.0.' (note the final dot).
* Explicitly disable TLS on NetBSD 5.0.Ludovic Courtès2009-11-141-5/+16
| | | | | * acinclude.m4 (GUILE_THREAD_LOCAL_STORAGE): Explicitly disable TLS on NetBSD 5.0.
* Improve TLS detection for systems with compiler support but no libc support.release_1-9-4Ludovic Courtès2009-10-151-2/+5
| | | | | * acinclude.m4 (GUILE_THREAD_LOCAL_STORAGE): Use `AC_LINK_IFELSE' instead of `AC_COMPILE_IFELSE'.
* Use TLS when available for `SCM_I_CURRENT_THREAD'.Ludovic Courtès2009-10-091-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Move "-z relro" out of $LDFLAGS so it's not in `guile-2.0.pc'.Ludovic Courtès2009-09-241-3/+9
| | | | | | | | * acinclude.m4 (GUILE_GNU_LD_RELRO): Substitute `GNU_LD_FLAGS'. * libguile/Makefile.am (libguile_la_LDFLAGS): Add $(GNU_LD_FLAGS). * srfi/Makefile.am (AM_LDFLAGS): New.
* Link with `-z relro' when available.Ludovic Courtès2009-09-101-0/+18
| | | | | | * acinclude.m4 (GUILE_GNU_LD_RELRO): New macro. * configure.in: Use `GUILE_GNU_LD_RELRO'.
* fix guile-readline linker bugAndy Wingo2009-08-261-1/+1
| | | | | * acinclude.m4 (GUILE_READLINE): Fix typo that caused readline not to be linked to termcap.
* Don't use a sub-`configure' for `guile-readline'.Ludovic Courtès2009-08-211-0/+69
| | | | | | | | | | | | | | | | | | | | * acinclude.m4 (GUILE_READLINE): New macro, based on the former `guile-readline/configure.ac'. * configure.ac: Remove `AC_CONFIG_SUBDIRS' invocation. Add `GUILE_READLINE' invocation. Produce files under `guile-readline'. * guile-readline/Makefile.am: Conditionalize the meat under `HAVE_READLINE'. (INCLUDES): Rename to... (AM_CPPFLAGS): this. Users updates. (AM_CFLAGS): New variable. (libguilereadline_v_@LIBGUILEREADLINE_MAJOR@_la_LIBADD): Add $(READLINE_LIBS). * guile-readline/readline.c: Include <config.h>. * guile-readline/configure.ac, guile-readline/autogen.sh: Remove.
* Remove changes that weren't in fact needed:Neil Jerram2007-02-201-2/+0
| | | | | - config.rpath in EXTRA_DIST, in Makefile.am - dummy definition of AM_INTL_SUBDIR, in acinclude.m4.
* (AM_INTL_SUBDIR): Remove unnecessary dnl.Neil Jerram2007-02-181-1/+1
|
* * configure.in: Do AM_GNU_GETTEXT_VERSION, so that autoreconf willNeil Jerram2007-01-281-0/+2
| | | | | | | run autopoint. * acinclude.m4 (AM_INTL_SUBDIR): Provide dummy definition, to work around current autoconf/automake/gettext bug.
* (ACX_PTHREAD): Update to latest definition fromNeil Jerram2006-06-061-33/+31
| | | | | autoconf macro archive, to fix pthread linking problem on Solaris 10, reported by Charles Gagnon.
* * acinclude.m4 (ACX_PTHREAD): New.Marius Vollmer2004-09-211-0/+203
| | | | | * configure.in: Use it instead of simply looking for -lpthread. Thanks to Andreas Vögele!
* Fix autoconf underquoting warningsNeil Jerram2004-01-251-2/+2
|
* * acinclude.m4: add definitions to AC_DEFINE calls for newRob Browning2002-04-111-2/+8
| | | | autoconf.
* * Quote multiword string using [ ].Neil Jerram2002-02-211-1/+1
|
* * acinclude.m4: AC_LANG not a variable now -- use __cplusplusRob Browning2001-06-021-3/+2
| | | | unconditionally .
* Removed copy of "libtool.m4".Marius Vollmer2001-05-151-432/+0
|
* * acinclude.m4: Removed qthreads macros. They are provided inMikael Djurfeldt2000-04-211-140/+0
| | | | qthreads.m4, so these were redundant.
* * acinclude.m4 (AC_LIBLTDL_CONVENIENCE): Add $(top_srcdir)/libltdlMikael Djurfeldt2000-01-181-1/+1
| | | | instead of $(top_builddir)/libltdl to includepath.
* * acinclude.m4: remove GUILE_DLSYM_USCORE, add libtool.m4Marius Vollmer2000-01-101-38/+431
| | | | (no need to install libtool any more)