/usr/share/scsh-0.6/scsh/configure.scm is in scsh-common-0.6 0.6.7-8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | (define (host) "i686-pc-linux-gnu")
(define (machine-vendor-os)
(let ((match (regexp-search (rx (submatch (+ (~ #\-))) "-"
(submatch (+ (~ #\-))) "-"
(submatch (+ any)))
(host))))
(list (match:substring match 1)
(match:substring match 2)
(match:substring match 3))))
(define (machine)
(car (machine-vendor-os)))
(define (vendor)
(cadr (machine-vendor-os)))
(define (os)
(caddr (machine-vendor-os)))
(define (prefix) "/usr")
(define (exec-prefix) "/usr")
(define (bin-dir) "/usr/bin")
(define (lib-dir) "/usr/lib")
(define (include-dir) "/usr/include/scsh-0.6")
(define (man-dir) "/usr/share/man/man1")
(define (lib-dirs-list) (quote ("/usr/local/lib/scsh-0.6/modules/" "/usr/lib/scsh-0.6/modules/")))
(define (libs) "-lelf -lcrypt -lnsl -ldl -lm -lc -lutil")
(define (defs) "-DHAVE_CONFIG_H")
(define (cflags) "-g -Wall -O2 -D_GNU_SOURCE")
(define (cppflags) "")
(define (ldflags) "-Wl,-Bsymbolic-functions -rdynamic")
(define (compiler-flags)
(string-join (list "-I" (include-dir) (defs))))
(define (linker-flags)
(string-join (list "-L" (lib-dir) (libs) "-lscsh") " "))
;;; Local Variables:
;;; mode: Scheme
;;; End:
|