mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
Detect if a newer compiler is needed on BeOS.
This commit is contained in:
parent
f291041fa4
commit
bd5393c193
1 changed files with 18 additions and 0 deletions
18
configure
vendored
18
configure
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue