OSSP CVS Repository

ossp - ossp-pkg/flow2rrd/configure.ac 1.3
Not logged in
[Honeypot]  [Browse]  [Directory]  [Home]  [Login
[Reports]  [Search]  [Ticket]  [Timeline
  [Raw

ossp-pkg/flow2rrd/configure.ac 1.3
dnl ##
dnl ##  OSSP flow2rrd -- NetFlow to Round-Robin Database
dnl ##  Copyright (c) 2004 Ralf S. Engelschall <rse@engelschall.com>
dnl ##  Copyright (c) 2004 The OSSP Project <http://www.ossp.org/>
dnl ##
dnl ##  This file is part of OSSP flow2rrd, a tool for storing NetFlow data
dnl ##  into an RRD which can be found at http://www.ossp.org/pkg/tool/flow2rrd/.
dnl ##
dnl ##  This program is free software; you can redistribute it and/or modify
dnl ##  it under the terms of the GNU General Public License as published by
dnl ##  the Free Software Foundation; either version 2 of the License, or
dnl ##  (at your option) any later version.
dnl ##
dnl ##  This program is distributed in the hope that it will be useful,
dnl ##  but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl ##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl ##  General Public License for more details.
dnl ##
dnl ##  You should have received a copy of the GNU General Public License
dnl ##  along with this program; if not, write to the Free Software
dnl ##  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
dnl ##  USA, or contact Ralf S. Engelschall <rse@engelschall.com>.
dnl ##
dnl ##  configure.ac: GNU autoconf specification
dnl ##

AC_PREREQ(2.53)
AC_REVISION($1.0$)
AC_INIT(README)

FLOW2RRD_VERSION_STR="`./shtool version -l txt -d long VERSION`"
./shtool echo -e "Configuring %BOSSP flow2rrd%b (NetFlow to Round-Robin Database), version %B${FLOW2RRD_VERSION_STR}%b"
echo "Copyright (c) 2004 Ralf S. Engelschall <rse@engelschall.com>"
echo "Copyright (c) 2004 The OSSP Project <http://www.ossp.org/>"
AC_SUBST(FLOW2RRD_VERSION_STR)

AC_PREFIX_DEFAULT(/usr/local)
AC_SET_MAKE

AC_PATH_PROGS(PERL, perl5 perl, NA)
AC_PATH_PROGS(POD2MAN, pod2man, NA)

AC_MSG_CHECKING(for perl program to use)
AC_ARG_WITH([perl],
    AC_HELP_STRING([--with-perl=PATH], [force the use of a particular perl program]),
    PERL="$withval")
if test ".$PERL" = .NA; then
    AC_MSG_ERROR([program 'perl' not found])
fi
AC_MSG_RESULT($PERL)
AC_SUBST(PERL)

AC_MSG_CHECKING(for pod2man program to use)
AC_ARG_WITH([pod2man],
    AC_HELP_STRING([--with-pod2man=PATH], [force the use of a particular pod2man program]),
    POD2MAN="$withval")
if test ".$POD2MAN" = .NA; then
    POD2MAN=`echo $PERL | sed -e 's;/perl5*$;/pod2man;'`
fi
AC_MSG_RESULT($POD2MAN)
AC_SUBST(POD2MAN)

AC_CONFIG_FILES(Makefile)
AC_OUTPUT


CVSTrac 2.0.1