scsh-0.6/scsh/configure.scm.in

32 lines
648 B
Scheme

(define (host) "@scsh_host@")
(define (prefix) "@scsh_prefix@")
(define (exec-prefix) "@scsh_exec_prefix@")
(define (bin-dir) "@scsh_bindir@")
(define (lib-dir) "@scsh_libdir@")
(define (include-dir) "@scsh_includedir@")
(define (man-dir) "@scsh_mandir@")
(define (lib-dir-list) (quote @scsh_lib_dirs_list@))
(define (libs) "@scsh_LIBS@")
(define (defs) "@scsh_DEFS@")
(define (cflags) "@scsh_CFLAGS@")
(define (cppflags) "@scsh_CPPFLAGS@")
(define (ldflags) "@scsh_LDFLAGS@")
(define (linker-flags)
(string-join (list "-L" (lib-dir) (libs) "-lscsh") " "))
(define (compiler-flags)
(string-join (list "-I" (include-dir) (defs))))