mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
Unconditionally build and test the ice-9/popen module.
* module/Makefile.am (ICE_9_SOURCES): Add ice-9/popen.scm. (ICE_9_SOURCES) [BUILD_ICE_9_POPEN]: Remove conditional addition of ice-9/popen.scm. (SCRIPTS_SOURCES): Add scripts/autofrisk.scm and scripts/scan-api.scm unconditionally. (SCRIPTS_SOURCES) [BUILD_ICE_9_POPEN]: Remove conditional addition of scripts/autofrisk.scm and scripts/scan-api.scm. * configure.ac: Remove the BUILD_ICE_9_POPEN condition. * test-suite/tests/popen.test (if-supported): Don't test for 'fork feature being supported.
This commit is contained in:
parent
bc945fadd2
commit
317f6a2370
3 changed files with 5 additions and 18 deletions
|
@ -770,9 +770,6 @@ AC_CHECK_FUNCS([DINFINITY DQNAN cexp chsize clog clog10 ctermid \
|
|||
strcoll strcoll_l newlocale utimensat sched_getaffinity \
|
||||
sched_setaffinity sendfile])
|
||||
|
||||
AM_CONDITIONAL([BUILD_ICE_9_POPEN],
|
||||
[test "x$enable_posix" = "xyes" && test "x$ac_cv_func_fork" = "xyes"])
|
||||
|
||||
# Reasons for testing:
|
||||
# netdb.h - not in mingw
|
||||
# sys/param.h - not in mingw
|
||||
|
|
|
@ -178,7 +178,9 @@ SCRIPTS_SOURCES = \
|
|||
scripts/summarize-guile-TODO.scm \
|
||||
scripts/api-diff.scm \
|
||||
scripts/read-rfc822.scm \
|
||||
scripts/snarf-guile-m4-docs.scm
|
||||
scripts/snarf-guile-m4-docs.scm \
|
||||
scripts/autofrisk.scm \
|
||||
scripts/scan-api.scm
|
||||
|
||||
SYSTEM_BASE_SOURCES = \
|
||||
system/base/pmatch.scm \
|
||||
|
@ -223,6 +225,7 @@ ICE_9_SOURCES = \
|
|||
ice-9/optargs.scm \
|
||||
ice-9/poe.scm \
|
||||
ice-9/poll.scm \
|
||||
ice-9/popen.scm \
|
||||
ice-9/posix.scm \
|
||||
ice-9/q.scm \
|
||||
ice-9/rdelim.scm \
|
||||
|
@ -254,18 +257,6 @@ ICE_9_SOURCES = \
|
|||
ice-9/serialize.scm \
|
||||
ice-9/local-eval.scm
|
||||
|
||||
if BUILD_ICE_9_POPEN
|
||||
|
||||
# This functionality is missing on systems without `fork'---i.e., Windows.
|
||||
ICE_9_SOURCES += ice-9/popen.scm
|
||||
|
||||
# These modules rely on (ice-9 popen).
|
||||
SCRIPTS_SOURCES += \
|
||||
scripts/autofrisk.scm \
|
||||
scripts/scan-api.scm
|
||||
|
||||
endif BUILD_ICE_9_POPEN
|
||||
|
||||
srfi/srfi-64.go: srfi/srfi-64.scm srfi/srfi-64/testing.scm
|
||||
|
||||
SRFI_SOURCES = \
|
||||
|
|
|
@ -36,8 +36,7 @@
|
|||
restore-signals))
|
||||
|
||||
(define-syntax-rule (if-supported body ...)
|
||||
(if (provided? 'fork)
|
||||
(begin body ...)))
|
||||
(begin body ...))
|
||||
|
||||
(if-supported
|
||||
(use-modules (ice-9 popen))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue