ossp-pkg/shiela/configure.ac
##
## OSSP shiela - CVS Access Control and Logging Facility
## Copyright (c) 2000-2006 Ralf S. Engelschall <rse@engelschall.com>
## Copyright (c) 2000-2006 The OSSP Project <http://www.ossp.org/>
##
## This file is part of OSSP shiela, an access control and logging
## facility for Concurrent Versions System (CVS) repositories
## which can be found at http://www.ossp.org/pkg/tool/shiela/.
##
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License
## as published by the Free Software Foundation; either version
## 2.0 of the License, or (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this file; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
## USA, or contact Ralf S. Engelschall <rse@engelschall.com>.
##
## configure.ac: auto-configuration source (syntax: Autoconf)
##
AC_PREREQ(2.53)
AC_INIT
V=`./shtool version -ltxt -dlong VERSION`
./shtool echo -e "Configuring %BOSSP shiela%b, Version %B${V}%b"
echo "Copyright (c) 2000-2006 Ralf S. Engelschall <rse@engelschall.com>"
echo "Copyright (c) 2000-2006 The OSSP Project <http://www.ossp.org/>"
AC_MSG_CHECKING(for Perl program)
AC_ARG_WITH(perl,dnl
[ --with-perl=PATH force the use of a particular Perl program],
with_perl="$withval",
if test ".$with_perl" = .; then
with_perl=`./shtool path -m perl5 perl`
fi
)dnl
PATH_PERL="$with_perl"
AC_SUBST(PATH_PERL)
AC_MSG_RESULT($PATH_PERL)
AC_MSG_CHECKING(for CVS program)
AC_ARG_WITH(cvs,dnl
[ --with-cvs=PATH force the use of a particular CVS program],
with_cvs="$withval",
if test ".$with_cvs" = .; then
with_perl=`./shtool path cvs`
fi
)dnl
PATH_CVS="$with_cvs"
AC_SUBST(PATH_CVS)
AC_MSG_RESULT($PATH_CVS)
AC_SET_MAKE
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES([Makefile])
AC_OUTPUT