Ignore deprecation warnings on OS X

Starting with Lion, Apple decided to deprecate the system openssl. We
can start requiring users to install their own openssl once OS X doesn't
ship with it anymore.
This commit is contained in:
Sebastian Hahn 2011-08-10 19:11:55 +02:00
parent b4423029b9
commit 5d1b255b14

View File

@ -43,6 +43,15 @@ if test "$GCC" = "yes" ; then
CFLAGS="$CFLAGS -fno-strict-aliasing"
fi
# OS X Lion started deprecating the system openssl. Let's just disable
# all deprecation warnings on OS X.
case "$host_os" in
darwin*)
CFLAGS="$CFLAGS -Wno-deprecated-declarations"
;;
esac
AC_ARG_ENABLE(gcc-warnings,
AS_HELP_STRING(--enable-gcc-warnings, enable verbose warnings with GCC))
AC_ARG_ENABLE(thread-support,