Remove DEFTYPE FUNCALLABLE-INSTANCE.
[sbcl.git] / tools-for-build / grovel-features.sh
blobffc4307eb14d938a2860c9946ae8f7aac23996c1
1 # Automated platform feature testing
2 cd ./tools-for-build > /dev/null
4 # FIXME: Use this to test for dlopen presence and hence
5 # load-shared-object buildability
7 # Assumes the presence of $1-test.c, which when built and
8 # run should return with 104 if the feature is present.
9 featurep() {
10 bin="$1-test"
11 rm -f $bin
12 $GNUMAKE $bin -I ../src/runtime > /dev/null 2>&1 && echo "input" | ./$bin> /dev/null 2>&1
13 if [ "$?" = 104 ]
14 then
15 printf " :$1"
17 rm -f $bin
20 # KLUDGE: ppc/darwin dlopen is special cased in make-config.sh, as
21 # we fake it with a shim.
22 featurep os-provides-dlopen
24 featurep os-provides-dladdr
26 featurep os-provides-putwc
28 featurep os-provides-blksize-t
30 featurep os-provides-suseconds-t
32 featurep os-provides-getprotoby-r
34 featurep os-provides-poll
36 featurep arm-softfp