mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
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:
parent
b4423029b9
commit
5d1b255b14
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user