OSSP CVS Repository

ossp - Difference in ossp-pkg/flow2rrd/configure.ac versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/flow2rrd/configure.ac 1.1 -> 1.2

--- configure.ac 2004/12/26 13:12:42     1.1
+++ configure.ac 2004/12/26 15:20:00     1.2
@@ -1,5 +1,5 @@
 dnl ##
-dnl ##  OSSP flow2rrd -- NetFlow to Round-Robin Database (RRD)
+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 ##
@@ -37,6 +37,29 @@
 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