dnl ## dnl ## OSSP sio - Stream I/O dnl ## Copyright (c) 2002 Ralf S. Engelschall dnl ## Copyright (c) 2002 The OSSP Project dnl ## Copyright (c) 2002 Cable & Wireless Deutschland dnl ## Copyright (c) 2002 Michael van Elst dnl ## dnl ## This file is part of OSSP sio, an abstract data type of dnl ## a pair of half-duplex data pipes which can be found at dnl ## http://www.ossp.org/pkg/lib/sio/. dnl ## dnl ## Permission to use, copy, modify, and distribute this software for dnl ## any purpose with or without fee is hereby granted, provided that dnl ## the above copyright notice and this permission notice appear in all dnl ## copies. dnl ## dnl ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED dnl ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF dnl ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. dnl ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR dnl ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, dnl ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT dnl ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF dnl ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND dnl ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, dnl ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT dnl ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF dnl ## SUCH DAMAGE. dnl ## dnl ## sio.ac: OSSP sio Autoconf checks dnl ## dnl # Check for anything OSSP sio wants to know dnl # configure.in: dnl # SIO_CHECK_ALL AC_DEFUN(SIO_CHECK_ALL,[ dnl # built-time configuration parameter --enable-bio AC_MSG_CHECKING(for BIO support) AC_ARG_ENABLE(bio,dnl [ --enable-bio enable BIO support (default=no)], [ enable_bio=$enableval ], [ enable_bio=no ] )dnl AC_MSG_RESULT([$enable_bio]) if test ".$enable_bio" = .yes; then AC_CHECK_LIB(crypto, CRYPTO_free) AC_CHECK_LIB(ssl, SSL_alert_desc_string) AC_DEFINE(ENABLE_BIO, 1, [Define to 1 if building with BIO (openssl)]) fi dnl # built-time configuration parameter --enable-zlib AC_MSG_CHECKING(for ZLIB support) AC_ARG_ENABLE(zlib,dnl [ --enable-zlib enable ZLIB support (default=no)], [ enable_zlib=$enableval ], [ enable_zlib=no ] )dnl AC_MSG_RESULT([$enable_zlib]) if test ".$enable_zlib" = .yes; then AC_CHECK_LIB(z, inflate) AC_DEFINE(ENABLE_ZLIB, 1, [Define to 1 if building with ZLIB]) fi ])