summaryrefslogtreecommitdiff
path: root/lib/Makefile.am
Commit message (Expand)AuthorAgeFilesLines
* Switch to accept4...* lib/Makefile.am: * m4/gnulib-cache.m4: * m4/gnulib-comp.m4: Switch from accept gnulib module to accept4. * libguile/socket.c (scm_accept): Use accept4. Andy Wingo2017-02-151-5/+7
* Update Gnulib to v0.1-1157-gb03f418.Andy Wingo2017-02-151-3/+65
* Gnulib: Add dirname-lgpl....* lib/Makefile.am: * m4/gnulib-cache.m4: * m4/gnulib-comp.m4: Add dirname-lgpl. Andy Wingo2016-07-251-5/+1
* Allow mkstemp! to have optional "mode" argument...* m4/mkstemp.m4: Remove. * lib/mkstemp.c: Remove. * lib/mkostemp.c: New file. * m4/mkostemp.m4: New file. * lib/Makefile.am: * m4/gnulib-cache.m4: * m4/gnulib-comp.m4: Remove mkstemp module, replace with mkostemp. * libguile/fports.h: * libguile/fports.c (scm_i_mode_to_open_flags): Factor out helper to parse mode string to open flags. (scm_open_file_with_encoding): Use the new helper. * libguile/filesys.c: (scm_i_mkstemp): Adapt to take optional second argument, being a mode string. Use mkostemp. (scm_mkstemp): Backwards compatible shim that calls scm_i_mkstemp. * doc/ref/posix.texi: * NEWS: Update. * module/system/base/compile.scm (call-with-output-file/atomic): Pass "wb" as mode, to cause O_BINARY to be added on MinGW. Andy Wingo2016-07-251-5/+5
* Avoid Gnulib unistr/* modules...(unistr/base, unistr/u8-mbtouc, unistr/u8-mbtouc-unsafe) (unistr/u8-mbtoucr, unistr/u8-prev unistr/u8-uctomb, unitypes): --avoid these modules. Andy Wingo2016-07-101-99/+2
* Update Gnulib to 68b6ade....Also add --conditional-dependencies to the flags. See: https://lists.gnu.org/archive/html/guile-devel/2016-07/msg00012.html Andy Wingo2016-07-071-7/+171
* Revert "Update Gnulib to v0.1-603-g1d16a7b"...This reverts commit 2d4da30fdefbcdb065d4b1f48f2a77d06f69e3c3. This Gnulib update was causing failures related to timezones in stime.c. I tried to fix it by adopting the time_rz module from gnulib but that then caused other failures. We can try again later. Andy Wingo2015-10-251-69/+6
* Update Gnulib to v0.1-603-g1d16a7bAndy Wingo2015-10-221-6/+69
* Provide glthread/lock.h implementation in terms of Guile threads....Fixes <http://bugs.gnu.org/14404>. Thanks to Paul Eggert <eggert@cs.ucla.edu> for the suggestion. * m4/gnulib-cache.m4: Avoid 'lock' module. * m4/lock.m4, m4/threadlib.m4, lib/glthread/threadlib.c, lib/glthread/lock.c: Remove. * lib/glthread/lock.h: Rewrite in terms of libguile/threads.h. * m4/gnulib-common.m4, m4/gnulib-comp.m4, lib/Makefile.am, lib/unistd.in.h, maint.mk : Update, from Gnulib v0.1-92-g546ff82. * configure.ac (GNULIB_LOCK): Define 'GNULIB_LOCK'. Define 'USE_POSIX_THREADS' when building with pthread support. * Makefile.am (noinst_HEADERS): New variable. (BUILT_SOURCES): Add libguile/scmconfig.h. (libguile/scmconfig.h): New target. Ludovic Courtès2014-03-121-16/+1
* Import Gnulib modules: link, fsync, readlink, rename, mkdir, rmdir, unistd....* lib/fsync.c: * lib/link.c: * lib/mkdir.c: * lib/strdup.c: * m4/fsync.m4: * m4/link.m4: * m4/mkdir.m4: * m4/strdup.m4: New files. * lib/Makefile.am * m4/gnulib-cache.m4 * m4/gnulib-comp.m4: Add modules. Mark H Weaver2014-02-271-1/+37
* Import 'lstat' and 'mkstemp' modules from Gnulib....* lib/mkstemp.c: * lib/secure_getenv.c: * lib/tempname.c: * lib/tempname.h: * m4/mkstemp.m4: * m4/secure_getenv.m4: * m4/tempname.m4: New files. * lib/Makefile.am: * m4/gnulib-cache.m4: * m4/gnulib-comp.m4: Add modules. Mark H Weaver2014-02-121-1/+27
* Update Gnulib to v0.1-77-gd9361daMark H Weaver2014-02-031-3/+41
* Import 'copysign' and 'isfinite' modules from Gnulib....* lib/Makefile.am: * m4/gnulib-cache.m4: * m4/gnulib-comp.m4: Add 'copysign' and 'isfinite' Gnulib modules. Mark H Weaver2013-08-061-1/+47
* Import 'c-strcase' from Gnulib....* lib/Makefile.am: * m4/gnulib-cache.m4: Add 'c-strcase' Gnulib module. Mark H Weaver2013-04-051-1/+1
* build: Remove redundant check for `struct timespec'....* m4/gnulib-cache.m4: Add `time'. * lib/Makefile.am: Update, still from v0.0-7865-ga828bb2. * configure.ac: Remove check for `struct timespec', which was redundant with Gnulib, and conflicted with pthread-win32's <pthread.h>: <http://lists.gnu.org/archive/html/bug-gnulib/2013-03/msg00096.html>. Ludovic Courtès2013-03-291-1/+1
* import `poll' from gnulib...* lib/Makefile.am: * lib/poll.c: * lib/poll.in.h: * m4/gnulib-cache.m4: * m4/gnulib-comp.m4: * m4/poll.m4: * m4/poll_h.m4: Add poll gnulib module. Jason Earl2013-03-101-1/+40
* add getlogin from gnulib...* lib/Makefile.am: * lib/getlogin.c: * m4/getlogin.m4: * m4/gnulib-cache.m4: Add getlogin module. Andy Wingo2013-03-091-1/+10
* add gnulib fstat module explicitly...* lib/Makefile.am: * m4/gnulib-cache.m4: Explicitly add fstat module. Andy Wingo2013-03-091-1/+1
* Import `pipe-posix' module from gnulib....* lib/Makefile.am: * lib/pipe.c: * m4/gnulib-cache.m4: * m4/gnulib-comp.m4: * m4/pipe.m4: Add pipe-posix module. Andy Wingo2013-03-091-1/+10
* add gnulib `times' module...* lib: Add `times' module. Should fix socket.c on MinGW. Thanks to Eli Zaretskii for the report. Andy Wingo2013-02-181-1/+41
* Add gnulib `select' module....Should fix fport_input_waiting when neither poll nor select nor FIONREAD are available, which is the case on MinGW. Thanks to Eli Zaretskii for the report. Andy Wingo2013-02-181-1/+65
* Update to gnulib 0.0.7865-a828.Andy Wingo2013-02-181-1/+7
* Update Gnulib to v0.0-7695-g26c0590....* gnulib-local/m4/canonicalize.m4.diff: Remove. * Makefile.am (EXTRA_DIST): Adjust accordingly. Ludovic Courtès2012-11-171-3/+5
* Use `clock-time' directly from Gnulib, but with a local patch....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. Ludovic Courtès2012-07-061-1/+2
* Update Gnulib to v0.0-7509-g98a2286....* Makefile.am (EXTRA_DIST): Add `m4/gnulib-cache.m4'. * build-aux/git-version-gen: Keep unchanged. Ludovic Courtès2012-07-061-48/+158
* i18n: Use Gnulib's `nl_langinfo' module....* configure.ac: Remove checks for <langinfo.h> and <nl_types.h>, and `nl_langinfo'. * libguile/i18n.c: Remove #ifdefs for HAVE_LANGINFO_H, HAVE_NL_TYPES_H, HAVE_NL_ITEM, and HAVE_LANGINFO_CODESET. (SCM_VALIDATE_OPTIONAL_LOCALE_COPY): Use `SCM_UNBNDP'. * m4/gnulib-cache.m4 (gl_MODULES): Add `nl_langinfo'. * module/ice-9/i18n.scm (define-vector-langinfo-mapping): Remove `defaults' parameter; assume (provided? 'nl-langinfo) is always true. Update users accordingly. (define-simple-langinfo-mapping): Likewise. (define-monetary-langinfo-mapping): Likewise, but do not assume LOCAL-ITEM and INTL-ITEM are always defined. Ludovic Courtès2012-02-031-1/+1
* Use Gnulib's `regex' module....This should help with regex portability, as reported in <http://bugs.gnu.org/10684> for Darwin 8.11. * m4/gnulib-cache.m4 (gl_MODULES): Add `regex'. * configure.ac: Remove header checks for regex.h, rxposix.h, and rx/rxposix.h. Remove check for the `regcomp' function. Remove definition of `HAVE_REGCOMP'. Define `ENABLE_REGEX'. * libguile/init.c: Check for `ENABLE_REGEX' instead of `HAVE_REGCOMP'. * libguile/regex-posix.c: Always include <regex.h>. Remove #ifdefs for rxposix.h and co. Ludovic Courtès2012-02-031-1/+183
* Import Gnulib's `setenv' module, for MinGW....Reported by Eli Zaretskii <eliz@gnu.org>. * m4/gnulib-cache.m4 (gl_MODULES): Add `setenv'. Ludovic Courtès2012-01-251-1/+10
* Update Gnulib to v0.0-6827-g39c3009; use the `dirfd' module....* m4/gnulib-cache.m4: Use `dirfd'. * libguile/filesys.c: Include Gnulib's <dirent.h> directly. (dirfd): Remove. Suggested by Bruno Haible <bruno@clisp.org>. Ludovic Courtès2012-01-161-2/+64
* Use Gnulib's `localcharset', with local patches....This follows Bruno Haible's suggestion at <http://lists.gnu.org/archive/html/guile-devel/2011-11/msg00055.html>. * m4/gnulib-cache.m4: Add `gl_LOCAL_DIR'; use `localcharset'. * Makefile.am (EXTRA_DIST): Add gnulib-local/lib/localcharset.[ch].diff. (TESTS_ENVIRONMENT): New variable. * gnulib-local/lib/localcharset.c.diff, gnulib-local/lib/localcharset.h.diff: New files. * test-suite/Makefile.am (TESTS_ENVIRONMENT): Add @LOCALCHARSET_TESTS_ENVIRONMENT@. * test-suite/standalone/Makefile.am (TESTS_ENVIRONMENT): Likewise. Ludovic Courtès2011-12-151-1/+119
* Update Gnulib to v0.0-6703-g4e0358a.Ludovic Courtès2011-12-141-1/+39
* Update Gnulib to v0.0-6523-gb3609c1.Ludovic Courtès2011-10-221-176/+301
* Update Gnulib to v0.0-5874-g7170ee0.Ludovic Courtès2011-07-011-1/+3
* add `rename' gnulib module...This should fix `rename' on mingw32. Andy Wingo2011-06-161-1/+34
* gnulib update...Added pipe2 and open modules, to get O_CLOEXEC. * libguile/Makefile.am (guile_filter_doc_snarfage$(EXEEXT)): Add gnulib here, in the native build case, for rpl_fflush if needed. foo Andy Wingo2011-06-161-311/+454
* Update Gnulib to v0.0-5158-g7d06b32; remove `strcase' and `version-etc-fsf'....* m4/gnulib-cache.m4: Remove `strcase' and `version-etc-fsf'. * configure.ac (POTENTIAL_GCC_CFLAGS): Remove `-Wundef'. * libguile/script.c: Don't include <version-etc.h>. Ludovic Courtès2011-04-251-103/+133
* Update Gnulib; add new modules; remove `round' module....This updates Gnulib to v0.0-4951-g6ff7b70. * m4/gnulib-cache.m4: Add floor, ceil, frexp, and ldexp. Add wchar as an explicit dependency; it had been present as an indirect dependency before, but no longer. Remove round, which I had requested earlier, but turned out to be unnecessary. Mark H Weaver2011-03-091-14/+44
* Remove Gnulib's `sockets' module from the import list....* m4/gnulib-cache.m4: Remove `sockets', which we don't directly depend on. Ludovic Courtès2011-02-151-1/+1
* Import Gnulib's `log1p' and `round' modules....From Gnulib v0.0-4889-ge375fe3. * m4/gnulib-cache.m4: Add `log1p' and `round', requested by Mark H Weaver <mhw@netris.org>. Use `malloc-gnu' instead of `malloc', the latter being obsolete. Ludovic Courtès2011-02-151-1/+22
* Update Gnulib; add new modules....This updates Gnulib to v0.0-4889-ge375fe3. * m4/gnulib-cache.m4: Add `accept', `bind', `close', `connect', `getpeername', `getsockname', `getsockopt', `listen', `malloc', `malloca', `recv', `recvfrom', `send', `sendto', `setsockopt', `shutdown', `socket', and `sockets', requested by Jan Nieuwenhuizen <janneke-list@xs4all.nl> for cross-MinGW32 builds. Add `trunc', requested by Mark H Weaver <mhw@netris.org>. Ludovic Courtès2011-02-141-178/+272
* Update Gnulib to v0.0-4544-gce083ca.Ludovic Courtès2010-12-201-4/+10
* Use Gnulib's `nproc'....This updates Gnulib to v0.0-4496-g6491120. * m4/gnulib-cache.m4: Add `nproc'. Ludovic Courtès2010-12-071-2/+69
* Use Gnulib's `isnan' and `isinf' modules....This updates Gnulib to v0.0-4219-g84cdd8b. * m4/gnulib-cache.m4: Add `isinf' and `isnan'. * configure.ac: Remove checks for `floatingpoint.h', `ieeefp.h', and `nan.h'. * libguile/gen-scmconfig.c (main): Remove definitions of `SCM_HAVE_FLOATINGPOINT_H', `SCM_HAVE_IEEEFP_H', and `SCM_HAVE_NAN_H'. * libguile/numbers.c (isnan)[SCO && !HAVE_ISNAN]: Remove. (isinf)[SCO && !HAVE_ISINF]: Remove. (xisinf, xisnan): Remove. Change callers to use `isinf' and `isnan'. (guile_ieee_init): Remove the `defined HAVE_ISINF' and `define HAVE_ISNAN' conditions. * libguile/numbers.h: Remove code conditional on `SCM_HAVE_FLOATINGPOINT_H', `SCM_HAVE_IEEEFP_H', or `SCM_HAVE_NAN_H'. Ludovic Courtès2010-09-081-1/+143
* Use Gnulib's `stat-time' module; update Gnulib....This updates Gnulib files to v0.0-4207-gc82b481. * m4/gnulib-cache.m4: Add `stat-time'. Ludovic Courtès2010-09-041-4/+13
* Update Gnulib to v0.0-3966-g9f737c8 for `libunistring' m4 fixes.Ludovic Courtès2010-06-051-20/+16
* Import Gnulib's `git-version-gen' module....* m4/gnulib-cache.m4: Add `git-version-gen'. Ludovic Courtès2010-05-301-1/+8
* Update Gnulib to v0.0-3955-g8ab5996.Ludovic Courtès2010-05-291-13/+80
* Update Gnulib; use the `func' module....Update Gnulib to v0.0-3575-g128e4b8. * m4/gnulib-cache.m4: Add `func'. Ludovic Courtès2010-03-181-21/+69
* Use Gnulib's `getaddrinfo' module....* m4/gnulib-cache.m4: Add `getaddrinfo'. * libguile/Makefile.am (libguile_la_LDFLAGS): Add `$(GETADDRINFO_LIB) $(HOSTENT_LIB) $(SERVENT_LIB)'. Ludovic Courtès2010-02-141-50/+134
* Use Gnulib's `sys_stat' module; update Gnulib....* .x-sc_prohibit_S_IS_definition: New file. * m4/gnulib-cache.m4: Add `sys_stat'. * libguile/filesys.c: Remove `S_IS*' macro definitions for Ultrix and MinGW. Ludovic Courtès2009-12-151-14/+59