1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 16:24:02 +00:00

Detect if a newer compiler is needed on BeOS.

This commit is contained in:
Josh Elsasser 2006-08-18 19:10:40 +00:00
parent f291041fa4
commit bd5393c193

18
configure vendored
View file

@ -7,6 +7,7 @@
#
SYSTEM=
BEOS_NETSERVER=no
BEOS_OLDCC=no
MATH=no
PTHREAD=no
OPENSSL=
@ -256,6 +257,18 @@ case $SYSTEM in
exit 1
;;
esac
GCCVER=`$CC --version`
case $GCCVER in
2.95.3*|3*|4*)
;;
2.9*)
BEOS_OLDCC=yes
;;
*)
echo "Unsupported gcc version"
exit 1
;;
esac
;;
Darwin)
@ -301,6 +314,11 @@ if [ "$OPENSSL" = no ]; then
else
openssl_test
fi
if [ "$OPENSSL" = no ] && [ "$BEOS_OLDCC" = yes ]; then
echo "built-in SHA1 implementation not supported with your gcc version"
echo "you must either install OpenSSL or gcc 2.95.3 or newer"
exit 1
fi
#
# GTK+ settings