diff options
author | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 1999-07-29 18:12:01 +0000 |
---|---|---|
committer | Mikael Djurfeldt <djurfeldt@nada.kth.se> | 1999-07-29 18:12:01 +0000 |
commit | 6073aaf201c27f26473a7b87aeee0a09e784234c (patch) | |
tree | b0288cc46c019f480ab11c25a1617f52fb442757 /guile-config | |
parent | b09ef6795ddb426c8f972ab9b5c6185db6c5a46c (diff) | |
download | guile-6073aaf201c27f26473a7b87aeee0a09e784234c.tar.gz |
* guile-config.in (build-link): Correct non-RnRS usage of internal
defines.
Diffstat (limited to 'guile-config')
-rw-r--r-- | guile-config/guile-config.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/guile-config/guile-config.in b/guile-config/guile-config.in index e906cb2f2..3705a9082 100644 --- a/guile-config/guile-config.in +++ b/guile-config/guile-config.in @@ -123,10 +123,6 @@ ;;; now, we're just going to reach into Guile's configuration info and ;;; hack it out. (define (build-link args) - (if (> (length args) 0) - (error - (string-append program-name - " link: arguments to subcommand not yet implemented"))) ;; If PATH has the form FOO/libBAR.a, return the substring ;; BAR, otherwise return #f. @@ -139,6 +135,11 @@ (make-shared-substring base 3 (- len 2)) #f))) + (if (> (length args) 0) + (error + (string-append program-name + " link: arguments to subcommand not yet implemented"))) + (let* ((flags (let loop ((libs ;; Get the string of linker flags we used to build |