source: project/release/5/srfi-18/trunk/build-srfi-18 @ 37619

Last change on this file since 37619 was 37619, checked in by sjamaan, 6 months ago

srfi-18: Extend types file with keyword or symbol entry depending on 5.0 or 5.1 for the one procedure where it makes a difference

File size: 529 bytes
Line 
1# -*- sh -*-
2
3if $CHICKEN_CSI -e "(if (symbol? #:foo) (exit 0) (exit 1))"; then
4    cp srfi-18.types.in srfi-18.types
5    echo '(srfi-18#thread-wait-for-i/o! (#(procedure #:clean #:enforce) srfi-18#thread-wait-for-i/o! (fixnum #!optional symbol) undefined))' >> srfi-18.types
6else
7    cp srfi-18.types.in srfi-18.types
8    echo '(srfi-18#thread-wait-for-i/o! (#(procedure #:clean #:enforce) srfi-18#thread-wait-for-i/o! (fixnum #!optional keyword) undefined))' >> srfi-18.types
9fi
10
11"$CHICKEN_CSC" -C "$CFLAGS" -L "$LDFLAGS" "$@"
Note: See TracBrowser for help on using the repository browser.