diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2011-08-10 19:22:41 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2011-08-10 23:12:09 +0200 |
commit | 92bea30e28f62ea4c5d335420e2a328ff64598bc (patch) | |
tree | 07f8fec3a5de16cb847052ae781ed3bd6de6d54e /configure.in | |
parent | f570470830503c93b4d0491eb4812dfa59e585a1 (diff) | |
download | tor-92bea30e28f62ea4c5d335420e2a328ff64598bc.tar.gz tor-92bea30e28f62ea4c5d335420e2a328ff64598bc.zip |
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.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in index aa2233d4eb..4e84298456 100644 --- a/configure.in +++ b/configure.in @@ -906,6 +906,15 @@ else enable_gcc_warnings_advisory=no 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 + # Add some more warnings which we use in development but not in the # released versions. (Some relevant gcc versions can't handle these.) if test x$enable_gcc_warnings = xyes || test x$enable_gcc_warnings_advisory = xyes; then |