summaryrefslogtreecommitdiff
path: root/m4
Commit message (Collapse)AuthorAgeFilesLines
* Fix accept4 gnulib update.Andy Wingo2017-02-151-0/+18
| | | | | | * m4/accept4.m4: Add missing file. * lib/accept4.c: Add missing file. * .gitignore: Update.
* Switch to accept4Andy Wingo2017-02-152-109/+15
| | | | | | | * 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.
* Update Gnulib to v0.1-1157-gb03f418.Andy Wingo2017-02-15179-253/+547
|
* Gnulib: Add dirname-lgpl.Andy Wingo2016-07-252-44/+4
| | | | | | * lib/Makefile.am: * m4/gnulib-cache.m4: * m4/gnulib-comp.m4: Add dirname-lgpl.
* Allow mkstemp! to have optional "mode" argumentAndy Wingo2016-07-254-93/+35
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Avoid Gnulib unistr/* modulesAndy Wingo2016-07-104-218/+2
| | | | | | (unistr/base, unistr/u8-mbtouc, unistr/u8-mbtouc-unsafe) (unistr/u8-mbtoucr, unistr/u8-prev unistr/u8-uctomb, unitypes): --avoid these modules.
* Update Gnulib to 68b6ade.Andy Wingo2016-07-07180-655/+1949
| | | | | Also add --conditional-dependencies to the flags. See: https://lists.gnu.org/archive/html/guile-devel/2016-07/msg00012.html
* Revert "Update Gnulib to v0.1-603-g1d16a7b"Andy Wingo2015-10-25178-963/+480
| | | | | | | | 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.
* Update Gnulib to v0.1-603-g1d16a7bAndy Wingo2015-10-22178-480/+963
|
* Merge branch 'stable-2.0'Mark H Weaver2014-04-2512-426/+426
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: GUILE-VERSION NEWS guile-readline/ice-9/readline.scm libguile/async.c libguile/backtrace.c libguile/deprecated.h libguile/gc-malloc.c libguile/gdbint.c libguile/init.c libguile/ioext.c libguile/mallocs.c libguile/print.c libguile/rw.c libguile/scmsigs.c libguile/script.c libguile/simpos.c libguile/snarf.h libguile/strports.c libguile/threads.c libguile/vm-i-scheme.c libguile/vm-i-system.c module/srfi/srfi-18.scm test-suite/Makefile.am test-suite/standalone/test-num2integral.c
| * Provide glthread/lock.h implementation in terms of Guile threads.Ludovic Courtès2014-03-125-426/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Import Gnulib modules: link, fsync, readlink, rename, mkdir, rmdir, unistd.Mark H Weaver2014-02-276-1/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * Import 'lstat' and 'mkstemp' modules from Gnulib.Mark H Weaver2014-02-125-1/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Merge commit '5e69ceb7a667377a61cb0c31d7ac20e245b3fafd'Andy Wingo2014-02-07170-273/+910
|\|
| * Update Gnulib to v0.1-77-gd9361daMark H Weaver2014-02-03170-273/+910
| |
* | Merge remote-tracking branch 'origin/stable-2.0'Mark H Weaver2013-08-065-1/+594
|\| | | | | | | | | | | Conflicts: libguile/numbers.c libguile/vm-i-scheme.c
| * Add files from 'copysign' and 'isfinite' Gnulib modules.Mark H Weaver2013-08-063-0/+549
| | | | | | | | | | | | | | | | | | | | | | | | | | * lib/copysign.c: * lib/isfinite.c: * lib/isnanf-nolibm.h: * lib/isnanl-nolibm.h: * lib/signbitd.c: * lib/signbitf.c: * lib/signbitl.c: * m4/copysign.m4: * m4/isfinite.m4: * m4/signbit.m4: New files.
| * Import 'copysign' and 'isfinite' modules from Gnulib.Mark H Weaver2013-08-062-1/+45
| | | | | | | | | | | | * lib/Makefile.am: * m4/gnulib-cache.m4: * m4/gnulib-comp.m4: Add 'copysign' and 'isfinite' Gnulib modules.
* | Merge remote-tracking branch 'origin/stable-2.0'Mark H Weaver2013-04-141-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: GUILE-VERSION libguile/array-map.c libguile/fports.h libguile/gc.h libguile/inline.h libguile/ports.c libguile/ports.h libguile/print.c libguile/r6rs-ports.c libguile/read.c test-suite/tests/00-socket.test
| * Import 'c-strcase' from Gnulib.Mark H Weaver2013-04-051-1/+2
| | | | | | | | | | * lib/Makefile.am: * m4/gnulib-cache.m4: Add 'c-strcase' Gnulib module.
* | Merge remote-tracking branch 'origin/stable-2.0'Mark H Weaver2013-03-301-1/+2
|\|
| * build: Remove redundant check for `struct timespec'.Ludovic Courtès2013-03-291-1/+2
| | | | | | | | | | | | | | | | * 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>.
* | Merge remote-tracking branch 'origin/stable-2.0'Mark H Weaver2013-03-28164-272/+922
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac libguile/deprecated.c libguile/deprecated.h libguile/filesys.h libguile/fluids.c libguile/fports.c libguile/gc.c libguile/guile.c libguile/numbers.c libguile/objcodes.c libguile/r6rs-ports.c libguile/smob.c libguile/socket.c libguile/threads.h module/language/scheme/decompile-tree-il.scm module/language/tree-il/peval.scm test-suite/tests/syncase.test
| * import `poll' from gnulibJason Earl2013-03-104-1/+165
| | | | | | | | | | | | | | | | | | | | * 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.
| * add getlogin from gnulibAndy Wingo2013-03-093-1/+24
| | | | | | | | | | | | | | * lib/Makefile.am: * lib/getlogin.c: * m4/getlogin.m4: * m4/gnulib-cache.m4: Add getlogin module.
| * add gnulib fstat module explicitlyAndy Wingo2013-03-091-1/+2
| | | | | | | | | | * lib/Makefile.am: * m4/gnulib-cache.m4: Explicitly add fstat module.
| * Import `pipe-posix' module from gnulib.Andy Wingo2013-03-093-1/+25
| | | | | | | | | | | | | | | | * lib/Makefile.am: * lib/pipe.c: * m4/gnulib-cache.m4: * m4/gnulib-comp.m4: * m4/pipe.m4: Add pipe-posix module.
| * add gnulib `times' moduleAndy Wingo2013-02-184-1/+80
| | | | | | | | | | * lib: Add `times' module. Should fix socket.c on MinGW. Thanks to Eli Zaretskii for the report.
| * Add gnulib `select' module.Andy Wingo2013-02-185-1/+322
| | | | | | | | | | | | 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.
| * Update to gnulib 0.0.7865-a828.Andy Wingo2013-02-18155-271/+309
| |
* | Merge remote-tracking branch 'origin/stable-2.0'Mark H Weaver2013-01-0711-514/+597
|\| | | | | | | | | | | | | | | Conflicts: GUILE-VERSION libguile/posix.c module/ice-9/eval.scm test-suite/tests/cse.test
| * Update Gnulib to v0.0-7695-g26c0590.Ludovic Courtès2012-11-1711-514/+597
| | | | | | | | | | * gnulib-local/m4/canonicalize.m4.diff: Remove. * Makefile.am (EXTRA_DIST): Adjust accordingly.
* | Merge remote-tracking branch 'origin/stable-2.0'Andy Wingo2012-07-2455-395/+1236
|\| | | | | | | | | Conflicts: GUILE-VERSION
| * Work around `gl_CANONICALIZE_LGPL' bug when cross-compiling to GNU/Hurd.Ludovic Courtès2012-07-071-1/+1
| | | | | | | | | | * gnulib-local/m4/canonicalize.m4.diff: New file. * Makefile.am (EXTRA_DIST): Add it.
| * Work around `gl_CANONICALIZE_LGPL' bug when cross-compiling.Ludovic Courtès2012-07-071-7/+19
| | | | | | | | | | * gnulib-local/m4/canonicalize.m4.diff: New file. * Makefile.am (EXTRA_DIST): Add it.
| * Add missing `m4/clock_time.m4'.Ludovic Courtès2012-07-071-0/+38
| |
| * Use `clock-time' directly from Gnulib, but with a local patch.Ludovic Courtès2012-07-062-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Update Gnulib to v0.0-7509-g98a2286.Ludovic Courtès2012-07-0653-387/+1174
| | | | | | | | | | * Makefile.am (EXTRA_DIST): Add `m4/gnulib-cache.m4'. * build-aux/git-version-gen: Keep unchanged.
* | Merge remote-tracking branch 'origin/stable-2.0'Andy Wingo2012-02-0817-1/+2210
|\| | | | | | | | | | | | | Conflicts: GUILE-VERSION libguile/gc-malloc.c libguile/ports.c
| * i18n: Use Gnulib's `nl_langinfo' module.Ludovic Courtès2012-02-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * Use Gnulib's `regex' module.Ludovic Courtès2012-02-0317-1/+2209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge remote-tracking branch 'origin/stable-2.0'Andy Wingo2012-01-303-1/+150
|\| | | | | | | | | | | | | | | | | Conflicts: libguile/debug.h module/ice-9/psyntax-pp.scm module/ice-9/psyntax.scm module/language/tree-il/peval.scm module/language/tree-il/primitives.scm
| * Import Gnulib's `setenv' module, for MinGW.Ludovic Courtès2012-01-253-1/+150
| | | | | | | | | | | | Reported by Eli Zaretskii <eliz@gnu.org>. * m4/gnulib-cache.m4 (gl_MODULES): Add `setenv'.
* | Merge commit '9b0975f1dc41ddd10d81fb5b0965b9e9a54ef37a'Andy Wingo2012-01-30134-174/+347
|\| | | | | | | | | | | | | Conflicts: libguile/foreign.c module/ice-9/psyntax-pp.scm module/ice-9/psyntax.scm
| * Update Gnulib to v0.0-6827-g39c3009; use the `dirfd' module.Ludovic Courtès2012-01-16134-174/+347
| | | | | | | | | | | | | | * m4/gnulib-cache.m4: Use `dirfd'. * libguile/filesys.c: Include Gnulib's <dirent.h> directly. (dirfd): Remove. Suggested by Bruno Haible <bruno@clisp.org>.
* | Merge remote-tracking branch 'origin/stable-2.0'Andy Wingo2011-12-1913-31/+230
|\| | | | | | | | | | | | | | | Conflicts: libguile/feature.c m4/gnulib-cache.m4 module/ice-9/deprecated.scm module/language/tree-il/peval.scm
| * Use Gnulib's `localcharset', with local patches.Ludovic Courtès2011-12-156-2/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Update Gnulib to v0.0-6703-g4e0358a.Ludovic Courtès2011-12-148-29/+88
| |
* | Add Gnulib `largefile' module.Ludovic Courtès2011-11-221-1/+2
|/ | | | It will really be added next time we run "gnulib-tool --update".
* Update Gnulib to v0.0-6523-gb3609c1.Ludovic Courtès2011-10-2261-782/+1476
|