diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2014-08-25 21:49:04 -0700 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2014-08-25 21:49:04 -0700 |
commit | d60c28ca0359efdc382ccc58853f925c97bcd4fd (patch) | |
tree | 55feea05c91c9d6144f7315eae269361d7f4e96a /configure.ac | |
parent | 5790ec76336955c8dd3ff4e94d36389c562a351b (diff) | |
download | rabbitmq-c-github-ask-d60c28ca0359efdc382ccc58853f925c97bcd4fd.tar.gz |
Suppress OpenSSL deprecation warnings on OSX
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 7692c54..df9338d 100644 --- a/configure.ac +++ b/configure.ac @@ -61,13 +61,17 @@ AC_SUBST([LT_AGE]) # OS setup os_unix=no +os_apple=no os_win32=no AS_CASE([$host], [*-*-mingw*], [os_win32=yes], + [*-apple-darwin*], + [os_apple=yes; os_unix=yes], [*], [os_unix=yes]) AM_CONDITIONAL([OS_UNIX], [test "x$os_unix" = xyes]) +AM_CONDITIONAL([OS_APPLE], [test "x$os_apple" = xyes]) AM_CONDITIONAL([OS_WIN32], [test "x$os_win32" = xyes]) AC_DEFINE([ENABLE_THREAD_SAFETY], [1], [Define to 1 to enable thread safety]) |