diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2018-02-15 16:13:36 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2018-02-26 18:19:34 +0100 |
| commit | 1d84d7bf6052c0c80bd212d4524876576e9817d4 (patch) | |
| tree | 469a7694b9ebacf8949758d79febebc7c399233d /m4/guix.m4 | |
| parent | cb723be5b98a57ae4f909022d1ce2b5d3bcdaabf (diff) | |
build: Require Guile >= 2.0.13.
* README, configure.ac, doc/guix.texi (Requirements): Increase minimum
Guile version from 2.0.9 to 2.0.13.
* config-daemon.ac: Remove use of 'GUIX_CHECK_UNBUFFERED_CBIP'.
* m4/guix.m4 (GUIX_CHECK_UNBUFFERED_CBIP): Remove.
* guix/build/download.scm (current-http-proxy): Remove.
* guix/build/syscalls.scm (%libc-errno-pointer, errno): Remove.
(syscall->procedure): Use #:return-errno unconditionally.
* guix/hash.scm (open-sha256-input-port)[unbuffered]: Remove outdated
comment.
* guix/http-client.scm (when-guile<=2.0.5-or-otherwise-broken): Remove.
<top level>: Remove 'when-guile<=2.0.5-or-otherwise-broken' block.
* guix/scripts/substitute.scm (fetch): Remove 'guile-version>?'
conditional.
* tests/hash.scm (supports-unbuffered-cbip?): Remove.
<top level>: Remove 'test-skip' call.
Diffstat (limited to 'm4/guix.m4')
| -rw-r--r-- | m4/guix.m4 | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/m4/guix.m4 b/m4/guix.m4 index 721285b0149..8e174e92e5d 100644 --- a/m4/guix.m4 +++ b/m4/guix.m4 | |||
| @@ -136,23 +136,6 @@ AC_DEFUN([GUIX_ASSERT_GUILE_FEATURES], [ | |||
| 136 | done | 136 | done |
| 137 | ]) | 137 | ]) |
| 138 | 138 | ||
| 139 | dnl GUIX_CHECK_UNBUFFERED_CBIP | ||
| 140 | dnl | ||
| 141 | dnl Check whether 'setbvuf' works on custom binary input ports (CBIPs), as is | ||
| 142 | dnl the case starting with Guile 2.0.10. | ||
| 143 | AC_DEFUN([GUIX_CHECK_UNBUFFERED_CBIP], [ | ||
| 144 | AC_CACHE_CHECK([whether Guile's custom binary input ports support 'setvbuf'], | ||
| 145 | [ac_cv_guix_cbips_support_setvbuf], | ||
| 146 | [if "$GUILE" -c "(use-modules (rnrs io ports)) \ | ||
| 147 | (let ((p (make-custom-binary-input-port \"cbip\" pk #f #f #f))) \ | ||
| 148 | (setvbuf p _IONBF))" >&5 2>&1 | ||
| 149 | then | ||
| 150 | ac_cv_guix_cbips_support_setvbuf=yes | ||
| 151 | else | ||
| 152 | ac_cv_guix_cbips_support_setvbuf=no | ||
| 153 | fi]) | ||
| 154 | ]) | ||
| 155 | |||
| 156 | dnl GUIX_ASSERT_SYNTAX_OBJECT_EQUAL | 139 | dnl GUIX_ASSERT_SYNTAX_OBJECT_EQUAL |
| 157 | dnl | 140 | dnl |
| 158 | dnl Guile 2.2.1 was a brown-paper-bag release where 'equal?' wouldn't work | 141 | dnl Guile 2.2.1 was a brown-paper-bag release where 'equal?' wouldn't work |
