summaryrefslogtreecommitdiff
path: root/acinclude.m4
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* * acinclude.m4 (GUILE_HEADER_LIBC_WITH_UNISTD): Fix typo inJim Blandy1999-09-031-1/+1
| | | | variable name. (Thanks to Bill Schottstaedt.)
* * acinclude.m4: Updated. (Thanks to Karl Eichwalder.)Mikael Djurfeldt1999-08-291-656/+1
|
* * acinclude.m4: Updated. (Thanks to Karl Eichwalder.)Mikael Djurfeldt1999-08-291-0/+655
|
* *** empty log message ***Mikael Djurfeldt1999-07-241-0/+140
|
* *** empty log message ***Tim Pierce1997-11-251-1/+2
|
* Added support for leading dlsym underscore.Tim Pierce1997-11-211-0/+38
|
* * acinclude.m4 (GUILE_NAMED_CHECK_FUNC): New macro: Tagged test,Mikael Djurfeldt1997-08-241-0/+45
| | | | | | | | | 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.
* Changes for reduced Guile distribution: one configure script,Jim Blandy1997-04-241-0/+59
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.