;;;; "mathh.setup -*- Hen -*- (use setup-helper-mod) (verify-extension-name "mathh") ;Place along default include path (handle-exceptions exn ;Ignore any exceptions but remind user about problem. (begin (warning "cannot copy to Chicken Home: must use CHICKEN_INCLUDE_PATH when using \"mathh-constants\"") ) (install-in-home "mathh-constants.scm") ) (define mathh-compile-options `( -local -no-procedure-checks ,@(cond-expand (linux '(-C -D_ISOC99_SOURCE) ) ;_GNU_SOURCE instead? (else '() ) ) ) ) (setup-shared+static-extension-module (extension-name) (extension-version "2.2.4") #:inline? #t #:types? #t #:compile-options mathh-compile-options #:files '("mathh-constants.scm"))