ossp-pkg/xds/configure.ac
dnl ##
dnl ## OSSP xds - Extensible Data Serialization
dnl ## Copyright (c) 2001-2005 Ralf S. Engelschall <rse@engelschall.com>
dnl ## Copyright (c) 2001-2005 The OSSP Project <http://www.ossp.org/>
dnl ## Copyright (c) 2001-2005 Cable & Wireless <http://www.cw.com/>
dnl ##
dnl ## This file is part of OSSP xds, an extensible data serialization
dnl ## library which can be found at http://www.ossp.org/pkg/lib/xds/.
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: autoconf script source
dnl ##
AC_PREREQ(2.57)
AC_INIT
AC_HEADLINE(dnl
OSSP xds, eXtensible Data Serialization, dnl
XDS_VERSION, xds_version.c, dnl
[Copyright (c) 2001-2005 Ralf S. Engelschall <rse@engelschall.com>
Copyright (c) 2001-2005 The OSSP Project <http://www.ossp.org/>
Copyright (c) 2001-2005 Cable & Wireless <http://www.cw.com/>])
AC_PLATFORM(PLATFORM)
AC_MSG_PART(Build Tools)
AC_PROG_MAKE_SET
AC_PROG_CC
AC_CHECK_PROG(LATEX, latex, latex, :)
AC_CHECK_PROG(POD2MAN, pod2man, pod2man, :)
AC_CHECK_DEBUGGING
AC_CHECK_LIB(nsl, xdrmem_create, [xdr_lib=-lnsl])
AC_SUBST([xdr_lib])
AC_MSG_PART(Libtool Configuration)
AC_CONFIGURE_LIBTOOL
AC_MSG_PART(XDS Configuration)
AC_CONFIGURE_XDS
AC_MSG_PART(Output Substitution)
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES(xds.h xds-config Makefile docs/Makefile)
AC_CONFIG_COMMANDS([default], [chmod a+x xds-config; chmod -w xds.h Makefile docs/Makefile])
AC_OUTPUT