head 1.5; access; symbols SIO_0_9_3:1.5 SIO_0_9_2:1.4 SIO_0_9_1:1.3 SIO_0_9_0:1.3; locks; strict; comment @# @; 1.5 date 2005.10.03.09.06.11; author rse; state Exp; branches; next 1.4; 1.4 date 2003.06.30.10.36.52; author rse; state Exp; branches; next 1.3; 1.3 date 2003.02.06.14.21.38; author rse; state Exp; branches; next 1.2; 1.2 date 2003.01.20.19.13.25; author mlelstv; state Exp; branches; next 1.1; 1.1 date 2003.01.20.15.34.13; author mlelstv; state Exp; branches; next ; desc @@ 1.5 log @adjust copyright messages @ text @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 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 # make sure libnsl and libsocket are linked in if they exist AC_CHECK_LIB(nsl, gethostname) if test ".`echo $LIBS | grep nsl`" = .; then AC_CHECK_LIB(nsl, gethostbyname) fi AC_CHECK_LIB(socket, accept) dnl # built-time configuration parameter --enable-bio AC_MSG_CHECKING(for BIO support) AC_ARG_ENABLE(bio,dnl [ --enable-bio enable OpenSSL 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 OpenSSL BIO]) 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 dnl # built-time configuration parameter --enable-sa AC_MSG_CHECKING(for SA support) AC_ARG_ENABLE(sa,dnl [ --enable-sa enable OSSP sa support (default=no)], [ enable_sa=$enableval ], [ enable_sa=no ] )dnl AC_MSG_RESULT([$enable_sa]) if test ".$enable_sa" = .yes; then AC_CHECK_LIB(sa, sa_create) AC_DEFINE(ENABLE_SA, 1, [Define to 1 if building with OSSP sa]) fi ]) @ 1.4 log @*) Correctly check the "status" return value of waitpid(3) in the test suite. *) Change in the test suite "%08lx" format string to "%d" because the ts library only has a minimal formatting engine and the argument is "int" and not "long" anyway. *) Make sure that sio_{bio,sa,zlib}.c are not empty compilation units (not allowed in ISO C) even if BIO, SA or ZLIB support is not activated. *) Changed SIZE_T_MAX fallback definition to a more portable variant based on sizeof(size_t) instead of relying on the existance of (non portable) UINT_MAX. *) Added GNU autoconf checks for libnsl/libsocket under Solaris. *) Upgraded to GNU libtool 1.5 @ text @d5 1 a5 1 dnl ## Copyright (c) 2002 Cable & Wireless Deutschland @ 1.3 log @flush pending changes before release @ text @d38 6 @ 1.2 log @make compilation optional @ text @d42 1 a42 1 [ --enable-bio enable BIO support (default=no)], d50 1 a50 1 AC_DEFINE(ENABLE_BIO, 1, [Define to 1 if building with BIO (openssl)]) d56 1 a56 1 [ --enable-zlib enable ZLIB support (default=no)], d69 1 a69 1 [ --enable-sa enable SA support (default=no)], @ 1.1 log @make external references optional @ text @d66 13 @