;;;; "mathh.egg -*- Scheme -*- ((synopsis "ISO C math functions, miscellaneous math utilities, and constants") (version "4.6.1") (category math) (author "Kon Lovett and [[john cowan]]") (license "Public Domain") (test-dependencies test test-utils) ;* still needed? * ;linux ;_GNU_SOURCE instead? ;CSC_OPTIONS='-C -D_ISOC99_SOURCE' chicken-install -test mathh (components (scheme-include mathh-constants (files "mathh-constants.scm")) (extension mathh-consts (types-file) (csc-options ;,@(cond-expand (linux '("-C" "-D_ISOC99_SOURCE")) (else '())) ;sigh "-O4" "-d1" "-strict-types") ) (extension misc-math-utils (types-file) (csc-options "-O4" "-d1" "-strict-types" "-no-procedure-checks") ) (extension misc-vector-math-utils (types-file) (csc-options "-O4" "-d1" "-strict-types" "-no-procedure-checks") ) (extension mathh (types-file) ;-strict-types saves ~2k off macos .o (csc-options "-O4" "-d1" "-strict-types" "-no-procedure-checks") ) ) )