head 1.6;
access;
symbols
SIO_0_9_3:1.6
SIO_0_9_2:1.4
SIO_0_9_1:1.4
SIO_0_9_0:1.4;
locks; strict;
comment @# @;
1.6
date 2005.10.03.09.06.11; author rse; state Exp;
branches;
next 1.5;
1.5
date 2005.10.03.09.04.05; author rse; state Exp;
branches;
next 1.4;
1.4
date 2003.01.20.15.34.13; author mlelstv; state Exp;
branches;
next 1.3;
1.3
date 2003.01.06.19.04.56; author rse; state Exp;
branches;
next 1.2;
1.2
date 2002.12.18.15.41.50; author rse; state Exp;
branches;
next 1.1;
1.1
date 2002.12.18.14.58.29; author mlelstv; state Exp;
branches;
next ;
desc
@@
1.6
log
@adjust copyright messages
@
text
@dnl ##
dnl ## OSSP sio - Stream I/O
dnl ## Copyright (c) 2002-2005 Cable & Wireless
dnl ## Copyright (c) 2002-2005 The OSSP Project
dnl ## Copyright (c) 2002-2005 Ralf S. Engelschall
dnl ##
dnl ## This file is part of OSSP sio, a layered stream I/O library
dnl ## which can be found at 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 ## configure.ac: GNU Autoconf source script
dnl ##
AC_PREREQ(2.54)
AC_INIT
SIO_VERSION_STR=`./shtool version -l txt -d long VERSION`
./shtool echo -e "Configuring %BOSSP sio%b (Stream I/O), version %B${SIO_VERSION_STR}%b"
AC_SUBST(SIO_VERSION_STR)
AC_PROG_MAKE_SET
AC_PROG_CC
AC_CHECK_DEBUGGING
AC_CHECK_VA_COPY
sinclude(libtool.m4)
AC_PROG_LIBTOOL
dnl ## local checks go here
sinclude(sio.ac)
SIO_CHECK_ALL
AC_CHECK_EXTLIB([OSSP ex], ex, __ex_ctx, ex.h,
[AC_DEFINE(WITH_EX, 1, [Define to 1 if building with OSSP ex])])
dnl # pre-processing for subdirs
LIB_DEPS=""
dnl # check for OSSP al library
AC_CHECK_EXTLIB([OSSP al],
al, al_error, al.h,
[SUBDIR_AL=""],
[SUBDIR_AL="lib_al"
CPPFLAGS="$CPPFLAGS -Ilib_al"
CFLAGS="$CFLAGS -Ilib_al"
LIB_DEPS="$LIB_DEPS lib_al/*.lo"])
AC_SUBST(SUBDIR_AL)
dnl # check for OSSP sa library
AC_CHECK_EXTLIB([OSSP sa],
sa, sa_error, sa.h,
[SUBDIR_SA=""],
[SUBDIR_SA="lib_sa"
CPPFLAGS="$CPPFLAGS -Ilib_sa"
CFLAGS="$CFLAGS -Ilib_sa"
LIB_DEPS="$LIB_DEPS lib_sa/*.lo"])
AC_SUBST(SUBDIR_SA)
dnl # post-processing for subdirs
AC_SUBST(LIB_DEPS)
AC_CONFIG_SUBDIRS([$SUBDIR_AL $SUBDIR_SA])
dnl # output generation
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES([Makefile sio-config])
AC_CONFIG_COMMANDS([adjustment], [chmod a+x sio-config])
AC_OUTPUT
@
1.5
log
@flush pending changes
@
text
@d3 3
a5 3
dnl ## Copyright (c) 2002-2003 Cable & Wireless Deutschland
dnl ## Copyright (c) 2002-2003 The OSSP Project
dnl ## Copyright (c) 2002-2003 Ralf S. Engelschall
@
1.4
log
@make external references optional
@
text
@d40 1
@
1.3
log
@- consistently use standard OSSP copyright message everywhere
- strip trailing whitespaces
@
text
@d44 3
a46 3
dnl ## local checks go here (not yet)
dnl sinclude(sio.ac)
dnl SIO_CHECK_ALL
@
1.2
log
@fix typo
@
text
@d3 3
a5 4
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
d7 2
a8 3
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/.
@
1.1
log
@snapshot
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
@
text
@d69 2
a70 2
[SUBDIR_AL=""],
[SUBDIR_AL="lib_sa"
@