annotate DEPENDENCIES/generic/include/boost/iostreams/detail/config/zlib.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1 // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
Chris@16 2 // (C) Copyright 2003-2007 Jonathan Turkanis
Chris@16 3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
Chris@16 4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
Chris@16 5
Chris@16 6 // See http://www.boost.org/libs/iostreams for documentation.
Chris@16 7
Chris@16 8 // Adapted from <boost/config/auto_link.hpp> and from
Chris@16 9 // http://www.boost.org/more/separate_compilation.html, by John Maddock.
Chris@16 10
Chris@16 11 #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_ZLIB_HPP_INCLUDED
Chris@16 12 #define BOOST_IOSTREAMS_DETAIL_CONFIG_ZLIB_HPP_INCLUDED
Chris@16 13
Chris@16 14 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
Chris@16 15 # pragma once
Chris@16 16 #endif
Chris@16 17
Chris@16 18 #include <boost/config.hpp> // BOOST_STRINGIZE.
Chris@16 19
Chris@16 20 #if defined(BOOST_ZLIB_BINARY)
Chris@16 21 # if defined(BOOST_MSVC) || \
Chris@16 22 defined(__BORLANDC__) || \
Chris@16 23 (defined(__MWERKS__) && defined(_WIN32) && (__MWERKS__ >= 0x3000)) || \
Chris@16 24 (defined(__ICL) && defined(_MSC_EXTENSIONS) && (_MSC_VER >= 1200)) \
Chris@16 25 /**/
Chris@16 26
Chris@16 27 // Specify the name of the .lib file.
Chris@16 28 # pragma comment(lib, BOOST_STRINGIZE(BOOST_ZLIB_BINARY))
Chris@16 29 # endif
Chris@16 30 #else
Chris@16 31 # if !defined(BOOST_IOSTREAMS_SOURCE) && \
Chris@16 32 !defined(BOOST_ALL_NO_LIB) && \
Chris@16 33 !defined(BOOST_IOSTREAMS_NO_LIB) \
Chris@16 34 /**/
Chris@16 35
Chris@16 36 // Set the name of our library, this will get undef'ed by auto_link.hpp
Chris@16 37 // once it's done with it.
Chris@16 38 # define BOOST_LIB_NAME boost_zlib
Chris@16 39
Chris@16 40 // If we're importing code from a dll, then tell auto_link.hpp about it.
Chris@16 41 # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_IOSTREAMS_DYN_LINK)
Chris@16 42 # define BOOST_DYN_LINK
Chris@16 43 # endif
Chris@16 44
Chris@16 45 // And include the header that does the work.
Chris@16 46 # include <boost/config/auto_link.hpp>
Chris@16 47 # endif
Chris@16 48 #endif
Chris@16 49
Chris@16 50 #endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_ZLIB_HPP_INCLUDED