Sys.Signals module for a Variant type of signals (and a set_signal function that...
[ocaml.git] / config / auto-aux / solaris-ld
blob3ab90bceff74a7dc721ad017a29848ab21cc143d
1 #!/bin/sh
2 # Determine if gcc calls the Solaris ld or the GNU ld
3 # Exit code is 0 for Solaris ld, 1 for GNU ld
5 echo "int main() { return 0; }" > hasgot.c
6 $cc -v -o tst hasgot.c 2>&1 | grep -s '^ld:' > /dev/null
7 exit $?