mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
Merge remote-tracking branch 'origin/stable-2.0'
This commit is contained in:
commit
86cf4773ff
12 changed files with 217 additions and 201 deletions
|
@ -158,7 +158,6 @@ BRAINFUCK_LANG_SOURCES = \
|
|||
language/brainfuck/spec.scm
|
||||
|
||||
SCRIPTS_SOURCES = \
|
||||
scripts/autofrisk.scm \
|
||||
scripts/compile.scm \
|
||||
scripts/disassemble.scm \
|
||||
scripts/display-commentary.scm \
|
||||
|
@ -174,7 +173,6 @@ SCRIPTS_SOURCES = \
|
|||
scripts/use2dot.scm \
|
||||
scripts/snarf-check-and-output-texi.scm \
|
||||
scripts/summarize-guile-TODO.scm \
|
||||
scripts/scan-api.scm \
|
||||
scripts/api-diff.scm \
|
||||
scripts/read-rfc822.scm \
|
||||
scripts/snarf-guile-m4-docs.scm
|
||||
|
@ -256,12 +254,17 @@ ICE_9_SOURCES = \
|
|||
ice-9/serialize.scm \
|
||||
ice-9/local-eval.scm
|
||||
|
||||
if HAVE_FORK
|
||||
if BUILD_ICE_9_POPEN
|
||||
|
||||
# This functionality is missing on systems without `fork'---i.e., Windows.
|
||||
ICE_9_SOURCES += ice-9/popen.scm
|
||||
|
||||
endif HAVE_FORK
|
||||
# These modules rely on (ice-9 popen).
|
||||
SCRIPTS_SOURCES += \
|
||||
scripts/autofrisk.scm \
|
||||
scripts/scan-api.scm
|
||||
|
||||
endif BUILD_ICE_9_POPEN
|
||||
|
||||
SRFI_SOURCES = \
|
||||
srfi/srfi-2.scm \
|
||||
|
|
|
@ -117,6 +117,7 @@ remaining arguments as the value of (command-line).
|
|||
If FILE begins with `-' the -s switch is mandatory.
|
||||
|
||||
-L DIRECTORY add DIRECTORY to the front of the module load path
|
||||
-C DIRECTORY like -L, but for compiled files
|
||||
-x EXTENSION add EXTENSION to the front of the load extensions
|
||||
-l FILE load source code from FILE
|
||||
-e FUNCTION after reading script, apply FUNCTION to
|
||||
|
@ -194,6 +195,7 @@ If FILE begins with `-' the -s switch is mandatory.
|
|||
(script-cell #f)
|
||||
(entry-point #f)
|
||||
(user-load-path '())
|
||||
(user-load-compiled-path '())
|
||||
(user-extensions '())
|
||||
(interactive? #t)
|
||||
(inhibit-user-init? #f)
|
||||
|
@ -264,6 +266,14 @@ If FILE begins with `-' the -s switch is mandatory.
|
|||
(parse (cdr args)
|
||||
out))
|
||||
|
||||
((string=? arg "-C") ; add to %load-compiled-path
|
||||
(if (null? args)
|
||||
(error "missing argument to `-C' switch"))
|
||||
(set! user-load-compiled-path
|
||||
(cons (car args) user-load-compiled-path))
|
||||
(parse (cdr args)
|
||||
out))
|
||||
|
||||
((string=? arg "-x") ; add to %load-extensions
|
||||
(if (null? args)
|
||||
(error "missing argument to `-x' switch"))
|
||||
|
@ -430,11 +440,15 @@ If FILE begins with `-' the -s switch is mandatory.
|
|||
`(set! %load-extensions (cons ,ext %load-extensions)))
|
||||
user-extensions)
|
||||
|
||||
;; Add the user-specified load path here, so it won't be in
|
||||
;; Add the user-specified load paths here, so they won't be in
|
||||
;; effect during the loading of the user's customization file.
|
||||
,@(map (lambda (path)
|
||||
`(set! %load-path (cons ,path %load-path)))
|
||||
user-load-path)
|
||||
,@(map (lambda (path)
|
||||
`(set! %load-compiled-path
|
||||
(cons ,path %load-compiled-path)))
|
||||
user-load-compiled-path)
|
||||
|
||||
;; Put accumulated actions in their correct order.
|
||||
,@(reverse! out)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue