Changeset 2762 in project


Ignore:
Timestamp:
12/23/06 23:29:40 (13 years ago)
Author:
Kon Lovett
Message:

Added exports.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pty/pty.setup

    r2759 r2762  
    1  #+(and unix (not macosx))  (compile -shared -O2 -lutil pty.scm)
    2  #+macosx                   (compile -shared -O2 pty.scm)
     1(define has-exports? (string>=? (chicken-version) "2.310"))
     2
     3#+(and unix (not macosx))
     4(compile -shared -O2
     5  ,@(if has-exports? '(-check-imports -emit-exports pty.exports) '())
     6  -lutil pty.scm)
     7#+macosx
     8(compile -shared -O2
     9  ,@(if has-exports? '(-check-imports -emit-exports pty.exports) '())
     10  pty.scm)
     11
    312(install-extension 'pty
    413  '("pty.so" "pty.html")
    5   '((version 1.1) (documentation "pty.html")))
     14  `((version 1.1)
     15    ,@(if has-exports? `((exports "pty.exports")) '())
     16    (documentation "pty.html")))
Note: See TracChangeset for help on using the changeset viewer.