summaryrefslogtreecommitdiff
path: root/acinclude.m4
AgeCommit message (Collapse)Author
2016-08-07Capture full path to GUILE_FOR_BUILD.Andy Wingo
* acinclude.m4: Capture full path to GUILE_FOR_BUILD. Fixes #22342.
2013-10-14Put the readline extension in the extensionsdirAndy Wingo
* 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.
2012-07-06Use `clock-time' directly from Gnulib, but with a local patch.Ludovic Courtès
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.
2012-02-04fix check for when libc already has clock_gettime / clock_getcpuclockidAndy Wingo
* 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.
2011-11-23configure: Make sure $GUILE_FOR_BUILD is suitable.Ludovic Courtès
* 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'.
2011-07-13Disable TLS on NetBSD up to 5.x included.Ludovic Courtès
* acinclude.m4 (GUILE_THREAD_LOCAL_STORAGE): Disable TLS on `x86_64-unknown-netbsd5.1' too.
2011-06-19Comment on the Gnulib `clock-gettime' workaround.Ludovic Courtès
* acinclude.m4: Remove `clock_time.m4' serial. * configure.ac: Add URL of the discussion about `clock-gettime'.
2011-06-19configure: Factorize code checking for `iconveh_' constants; use the cache.Ludovic Courtès
* 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.
2011-06-17check for clock_getcpuclockid in gl_CLOCK_TIMEAndy Wingo
* acinclude.m4 (gl_CLOCK_TIME): It could be that clock_gettime is in libc but clock_getcpuclockid is not, so check for that explicitly.
2011-05-04build support for detecting clock_gettime, with -lrt if neededAndy Wingo
* 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.
2011-04-22Turn the libunistring/iconv configure check into a macro.Ludovic Courtès
* acinclude.m4 (GUILE_LIBUNISTRING_WITH_ICONV_SUPPORT): New macro. * configure.ac: Use it.
2011-02-02Fix `GUILE_THREAD_LOCAL_STORAGE'.Ludovic Courtès
* acinclude.m4 (GUILE_THREAD_LOCAL_STORAGE): Fix M4 quotation.
2011-02-02Disable use of thread-local storage on FreeBSD.Ludovic Courtès
* acinclude.m4 (GUILE_THREAD_LOCAL_STORAGE): Explicitly require `AC_CANONICAL_HOST'. Disable on FreeBSD.
2010-07-22Add copyright notice to acinclude.m4.Thien-Thi Nguyen
* acinclude.m4: Add copyright notice, with years derived from "git log" output.
2010-07-22[build] Move GUILE_CONFIG_SCRIPT to acinclude.m4.Thien-Thi Nguyen
* configure.ac (GUILE_CONFIG_SCRIPT): Move from here... * acinclude.m4 (GUILE_CONFIG_SCRIPT): ...to here.
2010-07-09readline only handles SIGWINCHAndy Wingo
* 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.
2010-05-28add pdcurses to the list of termlibsVolker Grabsch
* acinclude.m4 (GUILE_READLINE): Look for pdcurses as found on MinGW. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2009-12-15Disable thread-local storage on Solaris 8.Ludovic Courtès
* acinclude.m4 (GUILE_THREAD_LOCAL_STORAGE): Special-case `*solaris2.8'.
2009-11-24Properly quote the first argument to `AC_DEFINE{,_UNQUOTED}'.Ludovic Courtès
* 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.
2009-11-24Really disable thread-local storage on NetBSD 5.0.Ludovic Courtès
* acinclude.m4 (GUILE_THREAD_LOCAL_STORAGE): Adjust to match actual NetBSD 5 triplet, `x86_64-unknown-netbsd5.0.' (note the final dot).
2009-11-14Explicitly disable TLS on NetBSD 5.0.Ludovic Courtès
* acinclude.m4 (GUILE_THREAD_LOCAL_STORAGE): Explicitly disable TLS on NetBSD 5.0.
2009-10-15Improve TLS detection for systems with compiler support but no libc support.Ludovic Courtès
* acinclude.m4 (GUILE_THREAD_LOCAL_STORAGE): Use `AC_LINK_IFELSE' instead of `AC_COMPILE_IFELSE'.
2009-10-09Use TLS when available for `SCM_I_CURRENT_THREAD'.Ludovic Courtès
* 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.
2009-09-24Move "-z relro" out of $LDFLAGS so it's not in `guile-2.0.pc'.Ludovic Courtès
* 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.
2009-09-10Link with `-z relro' when available.Ludovic Courtès
* acinclude.m4 (GUILE_GNU_LD_RELRO): New macro. * configure.in: Use `GUILE_GNU_LD_RELRO'.
2009-08-26fix guile-readline linker bugAndy Wingo
* acinclude.m4 (GUILE_READLINE): Fix typo that caused readline not to be linked to termcap.
2009-08-21Don't use a sub-`configure' for `guile-readline'.Ludovic Courtès
* 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.
2007-02-20Remove changes that weren't in fact needed:Neil Jerram
- config.rpath in EXTRA_DIST, in Makefile.am - dummy definition of AM_INTL_SUBDIR, in acinclude.m4.
2007-02-18(AM_INTL_SUBDIR): Remove unnecessary dnl.Neil Jerram
2007-01-28* configure.in: Do AM_GNU_GETTEXT_VERSION, so that autoreconf willNeil Jerram
run autopoint. * acinclude.m4 (AM_INTL_SUBDIR): Provide dummy definition, to work around current autoconf/automake/gettext bug.
2006-06-06(ACX_PTHREAD): Update to latest definition fromNeil Jerram
autoconf macro archive, to fix pthread linking problem on Solaris 10, reported by Charles Gagnon.
2004-09-21* acinclude.m4 (ACX_PTHREAD): New.Marius Vollmer
* configure.in: Use it instead of simply looking for -lpthread. Thanks to Andreas Vögele!
2004-01-25Fix autoconf underquoting warningsNeil Jerram
2002-04-11* acinclude.m4: add definitions to AC_DEFINE calls for newRob Browning
autoconf.
2002-02-21* Quote multiword string using [ ].Neil Jerram
2001-06-02* acinclude.m4: AC_LANG not a variable now -- use __cplusplusRob Browning
unconditionally .
2001-05-15Removed copy of "libtool.m4".Marius Vollmer
2000-04-21* acinclude.m4: Removed qthreads macros. They are provided inMikael Djurfeldt
qthreads.m4, so these were redundant.
2000-01-18* acinclude.m4 (AC_LIBLTDL_CONVENIENCE): Add $(top_srcdir)/libltdlMikael Djurfeldt
instead of $(top_builddir)/libltdl to includepath.
2000-01-10* acinclude.m4: remove GUILE_DLSYM_USCORE, add libtool.m4Marius Vollmer
(no need to install libtool any more)
1999-09-03* acinclude.m4 (GUILE_HEADER_LIBC_WITH_UNISTD): Fix typo inJim Blandy
variable name. (Thanks to Bill Schottstaedt.)
1999-08-29* acinclude.m4: Updated. (Thanks to Karl Eichwalder.)Mikael Djurfeldt
1999-08-29* acinclude.m4: Updated. (Thanks to Karl Eichwalder.)Mikael Djurfeldt
1999-07-24*** empty log message ***Mikael Djurfeldt
1997-11-25*** empty log message ***Tim Pierce
1997-11-21Added support for leading dlsym underscore.Tim Pierce
1997-08-24* acinclude.m4 (GUILE_NAMED_CHECK_FUNC): New macro: Tagged test,Mikael Djurfeldt
so that test for the same function can be performed multiple times. * configure.in (AC_CHECK_HEADERS): Test for rxposix.h, rx/rxposix.h. Add library rx only if regcomp can't be found without it.
1997-04-24Changes for reduced Guile distribution: one configure script,Jim Blandy
no plugins. * configure.in: Merged the old text from qt/configure.in and libguile/configure.in; Tom Tromey says automake only wants one configure.in script. This seems fishy, but... * Makefile.am: List the subdirectories explicitly; no more PLUGIN gubbish. * acconfig.h, acinclude.m4: Moved here from libguile, since libguile's configure script lives here now. * AUTHORS, INSTALL, README: Updated. * Makefile.in, aclocal.m4 configure: Regenerated. Just like amputated amphibian limbs.